diff --git a/CMakeLists.txt b/CMakeLists.txt index 76abf528f660ce5c218eb6d29648e5fe374a0c47..8468adec26e6137695095c7000059ee1e02a2220 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) project(cta) @@ -74,7 +73,7 @@ include(cmake/CTAVersions.cmake) IF(DEFINED PackageOnly) message (STATUS "Running CMake in package-only mode") - set(COMPILE_PACKAGING "1") + set(COMPILE_PACKAGING "1") ELSE(DEFINED PackageOnly) message (STATUS "Running in full configuration mode.") message (STATUS "Override with -DPackageOnly:Bool=true") @@ -94,7 +93,7 @@ ELSE(DEFINED PackageOnly) ELSE() # log choosen default (RelWithDebInfo) and set it message(STATUS "Setting build type to 'RelWithDebInfo' as none was specified.") - message (STATUS "Override with -DCMAKE_BUILD_TYPE:STRING=Debug") + message (STATUS "Override with -DCMAKE_BUILD_TYPE:STRING=Debug") set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Choose the type of build." FORCE) # Set the possible values of build type for cmake-gui # this command is not yet available in SLC6's cmake 2.6 @@ -149,7 +148,7 @@ ELSE(DEFINED PackageOnly) add_subdirectory(rdbms) add_subdirectory(scheduler) add_subdirectory(tapeserver) - + add_subdirectory(statistics) add_subdirectory(continuousintegration/orchestration/tests) @@ -205,7 +204,7 @@ add_custom_target(fullunittests COMMAND tests/cta-unitTests-multiProcess COMMAND ${VALGRIND} ${VALGRIND_OPTS_W_SUPPR} --child-silent-after-fork=yes tests/cta-unitTests-multiProcess COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} tests/cta-unitTests-multiProcess - + DEPENDS tests/cta-unitTests tests/cta-unitTests-multiProcess tests/valgrind.suppr tests/helgrind.suppr COMMENT "Running unit tests with memory leak and race conditions detection" VERBATIM) @@ -223,7 +222,7 @@ add_custom_target(helgrind COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} tests/cta-unitTests COMMAND echo ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} tests/cta-unitTests-multiProcess COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} tests/cta-unitTests-multiProcess - + DEPENDS tests/cta-unitTests tests/cta-unitTests-multiProcess tests/helgrind.suppr COMMENT "Running unit tests with race conditions detection" VERBATIM) @@ -239,39 +238,39 @@ add_custom_target(helgrindBase COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=-OStoreDBPlusMockSchedulerTestVFS*:OStoreTestVFS*:OStoreDBPlusMockSchedulerTestVFS*:InMemory* COMMAND echo ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests-multiProcess COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests-multiProcess - + DEPENDS tests/cta-unitTests tests/cta-unitTests-multiProcess tests/helgrind.suppr COMMENT "Running unit tests with race conditions detection (except slow sections)" VERBATIM) add_custom_target(helgrindScheduler echo ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=OStoreDBPlusMockSchedulerTestVFS/Scheduler* COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=OStoreDBPlusMockSchedulerTestVFS/Scheduler* - + DEPENDS tests/cta-unitTests tests/cta-unitTests-multiProcess tests/helgrind.suppr COMMENT "Running unit tests with race conditions detection (Mock scheduler section)" VERBATIM) add_custom_target(helgrindOStoreDB echo ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=OStoreTestVFS* COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=OStoreTestVFS* - + DEPENDS tests/cta-unitTests tests/cta-unitTests-multiProcess tests/helgrind.suppr COMMENT "Running unit tests with race conditions detection (Object store DB section)" VERBATIM) add_custom_target(helgrindDataTransfer echo ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=OStoreDBPlusMockSchedulerTestVFS/DataTransferSessionTest* COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=OStoreDBPlusMockSchedulerTestVFS/DataTransferSessionTest* - + DEPENDS tests/cta-unitTests tests/cta-unitTests-multiProcess tests/helgrind.suppr COMMENT "Running unit tests with race conditions detection (Data transfer section)" VERBATIM) add_custom_target(helgrindInMemoryCatalogue echo ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=InMemory/* COMMAND ${VALGRIND} --tool=helgrind ${HELGRIND_OPTS_W_SUPPR} -q tests/cta-unitTests --gtest_filter=InMemory/* - + DEPENDS tests/cta-unitTests tests/cta-unitTests-multiProcess tests/helgrind.suppr COMMENT "Running unit tests with race conditions detection (In memory catalogue section)" VERBATIM) add_custom_target(parallelHelgrind echo - + DEPENDS helgrindBase helgrindMockSechduler helgrindOStoreDB helgrindDataTransfer helgrindInMemoryCatalogue) diff --git a/catalogue/1.0/oracle_catalogue_schema.sql b/catalogue/1.0/oracle_catalogue_schema.sql index e90c98e7e164d931740e635956be6fff15cbe715..ad471a2081eabd6f7ac7de6160e6150e1d6ac2e6 100644 --- a/catalogue/1.0/oracle_catalogue_schema.sql +++ b/catalogue/1.0/oracle_catalogue_schema.sql @@ -37,7 +37,7 @@ CREATE GLOBAL TEMPORARY TABLE TEMP_TAPE_FILE_INSERTION_BATCH( LOGICAL_SIZE_IN_BYTES NUMERIC(20, 0) , COPY_NB NUMERIC(3, 0) , CREATION_TIME NUMERIC(20, 0) , - ARCHIVE_FILE_ID NUMERIC(20, 0) + ARCHIVE_FILE_ID NUMERIC(20, 0) ) ON COMMIT DELETE ROWS; CREATE INDEX TEMP_T_F_I_B_ARCHIVE_FILE_ID_I ON TEMP_TAPE_FILE_INSERTION_BATCH(ARCHIVE_FILE_ID); diff --git a/catalogue/1.1/mysql_catalogue_schema.sql b/catalogue/1.1/mysql_catalogue_schema.sql index 7ac473a4345afb98d7e81a75439720c8ebcab9c4..e58307fc0f17f5fd195c413de3039b5a2367805a 100644 --- a/catalogue/1.1/mysql_catalogue_schema.sql +++ b/catalogue/1.1/mysql_catalogue_schema.sql @@ -299,5 +299,5 @@ VALUES( 1, 1, 'PRODUCTION'); -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT - CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); \ No newline at end of file +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT + CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/1.1/oracle_catalogue_schema.sql b/catalogue/1.1/oracle_catalogue_schema.sql index a19d3db8e13ddfa424f1b77b2bcd2740beef1f71..01b4406df09711bc184d6247f97402c95587dfd3 100644 --- a/catalogue/1.1/oracle_catalogue_schema.sql +++ b/catalogue/1.1/oracle_catalogue_schema.sql @@ -37,7 +37,7 @@ CREATE GLOBAL TEMPORARY TABLE TEMP_TAPE_FILE_INSERTION_BATCH( LOGICAL_SIZE_IN_BYTES NUMERIC(20, 0) , COPY_NB NUMERIC(3, 0) , CREATION_TIME NUMERIC(20, 0) , - ARCHIVE_FILE_ID NUMERIC(20, 0) + ARCHIVE_FILE_ID NUMERIC(20, 0) ) ON COMMIT DELETE ROWS; CREATE INDEX TEMP_T_F_I_B_AFI_IDX ON TEMP_TAPE_FILE_INSERTION_BATCH(ARCHIVE_FILE_ID); diff --git a/catalogue/1.1/postgres_catalogue_schema.sql b/catalogue/1.1/postgres_catalogue_schema.sql index 9ac1f6d668db8ccd611ca8d8dc5fe8546d9085fc..9fc8469becc1169df251112292a8fc1cc145476b 100644 --- a/catalogue/1.1/postgres_catalogue_schema.sql +++ b/catalogue/1.1/postgres_catalogue_schema.sql @@ -310,5 +310,5 @@ ALTER TABLE ARCHIVE_FILE DROP CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN; ALTER TABLE ARCHIVE_FILE ADD CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN UNIQUE(DISK_INSTANCE_NAME, DISK_FILE_ID) DEFERRABLE INITIALLY IMMEDIATE; -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/2.0/mysql_catalogue_schema.sql b/catalogue/2.0/mysql_catalogue_schema.sql index e32da02f5cdd304c4535ad666d9256bfbd7604f6..59f4164464a141fe5bdb7f12f638b280f54337bc 100644 --- a/catalogue/2.0/mysql_catalogue_schema.sql +++ b/catalogue/2.0/mysql_catalogue_schema.sql @@ -74,7 +74,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES TINYINT UNSIGNED CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -321,5 +321,5 @@ VALUES( 2, 0, 'PRODUCTION'); -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT - CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); \ No newline at end of file +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT + CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/2.0/oracle_catalogue_schema.sql b/catalogue/2.0/oracle_catalogue_schema.sql index 843b3daaa00318e1a8dc0195e2934a439c810766..8d5239c7537fc53be4f56bf6c182467cf06e997e 100644 --- a/catalogue/2.0/oracle_catalogue_schema.sql +++ b/catalogue/2.0/oracle_catalogue_schema.sql @@ -45,7 +45,7 @@ CREATE GLOBAL TEMPORARY TABLE TEMP_TAPE_FILE_INSERTION_BATCH( LOGICAL_SIZE_IN_BYTES NUMERIC(20, 0) , COPY_NB NUMERIC(3, 0) , CREATION_TIME NUMERIC(20, 0) , - ARCHIVE_FILE_ID NUMERIC(20, 0) + ARCHIVE_FILE_ID NUMERIC(20, 0) ) ON COMMIT DELETE ROWS; CREATE INDEX TEMP_T_F_I_B_AFI_IDX ON TEMP_TAPE_FILE_INSERTION_BATCH(ARCHIVE_FILE_ID); @@ -100,7 +100,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR2(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, diff --git a/catalogue/2.0/postgres_catalogue_schema.sql b/catalogue/2.0/postgres_catalogue_schema.sql index 4405420fa9e59dc5b479b486266021df2cd97f38..cd4075327fd8375b21c98990f146ead9ba3c1767 100644 --- a/catalogue/2.0/postgres_catalogue_schema.sql +++ b/catalogue/2.0/postgres_catalogue_schema.sql @@ -84,7 +84,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -335,5 +335,5 @@ ALTER TABLE ARCHIVE_FILE DROP CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN; ALTER TABLE ARCHIVE_FILE ADD CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN UNIQUE(DISK_INSTANCE_NAME, DISK_FILE_ID) DEFERRABLE INITIALLY IMMEDIATE; -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/2.0/sqlite_catalogue_schema.sql b/catalogue/2.0/sqlite_catalogue_schema.sql index 779563545dd307002f4ce16968bdf1dc945b9877..a256b19df6b16f29f5a1de1ddd2d0d4add8055ef 100644 --- a/catalogue/2.0/sqlite_catalogue_schema.sql +++ b/catalogue/2.0/sqlite_catalogue_schema.sql @@ -64,7 +64,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID INTEGER CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES INTEGER CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, diff --git a/catalogue/3.0/mysql_catalogue_schema.sql b/catalogue/3.0/mysql_catalogue_schema.sql index 2a94fa95f5d8a59b2f20a6873c811523853e1875..436e6102a251fe132578a435ac2e7e485d14d71f 100644 --- a/catalogue/3.0/mysql_catalogue_schema.sql +++ b/catalogue/3.0/mysql_catalogue_schema.sql @@ -81,7 +81,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES TINYINT UNSIGNED CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -380,5 +380,5 @@ VALUES( 3, 0, 'PRODUCTION'); -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT - CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); \ No newline at end of file +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT + CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/3.0/oracle_catalogue_schema.sql b/catalogue/3.0/oracle_catalogue_schema.sql index 2e4874a47225106049da9f0e5614815eaed6feb7..83f2e78c12584829fa40137871d3573480d5dbbf 100644 --- a/catalogue/3.0/oracle_catalogue_schema.sql +++ b/catalogue/3.0/oracle_catalogue_schema.sql @@ -53,7 +53,7 @@ CREATE GLOBAL TEMPORARY TABLE TEMP_TAPE_FILE_INSERTION_BATCH( LOGICAL_SIZE_IN_BYTES NUMERIC(20, 0) , COPY_NB NUMERIC(3, 0) , CREATION_TIME NUMERIC(20, 0) , - ARCHIVE_FILE_ID NUMERIC(20, 0) + ARCHIVE_FILE_ID NUMERIC(20, 0) ) ON COMMIT DELETE ROWS; CREATE INDEX TEMP_T_F_I_B_AFI_IDX ON TEMP_TAPE_FILE_INSERTION_BATCH(ARCHIVE_FILE_ID); @@ -110,7 +110,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR2(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, diff --git a/catalogue/3.0/postgres_catalogue_schema.sql b/catalogue/3.0/postgres_catalogue_schema.sql index 159de3888886e12806776936e1bbe98ece71321a..ffef2637932e45cf49d5ed72eacb35613a6e8ab1 100644 --- a/catalogue/3.0/postgres_catalogue_schema.sql +++ b/catalogue/3.0/postgres_catalogue_schema.sql @@ -93,7 +93,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -396,5 +396,5 @@ ALTER TABLE ARCHIVE_FILE DROP CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN; ALTER TABLE ARCHIVE_FILE ADD CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN UNIQUE(DISK_INSTANCE_NAME, DISK_FILE_ID) DEFERRABLE INITIALLY IMMEDIATE; -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/3.0/sqlite_catalogue_schema.sql b/catalogue/3.0/sqlite_catalogue_schema.sql index 1ebbd7d714c186c9cfc506f775673efef4a1c39a..035c2457232a63a5464169e8b7b8547f0bad5787 100644 --- a/catalogue/3.0/sqlite_catalogue_schema.sql +++ b/catalogue/3.0/sqlite_catalogue_schema.sql @@ -69,7 +69,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID INTEGER CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES INTEGER CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, diff --git a/catalogue/3.1/mysql_catalogue_schema.sql b/catalogue/3.1/mysql_catalogue_schema.sql index b1d2df1674815a0349a588dcc58e16fbf0db9005..9421092e780d70c2696c5c584748a77b45bbaa74 100644 --- a/catalogue/3.1/mysql_catalogue_schema.sql +++ b/catalogue/3.1/mysql_catalogue_schema.sql @@ -81,7 +81,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES TINYINT UNSIGNED CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -381,5 +381,5 @@ VALUES( 3, 1, 'PRODUCTION'); -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT - CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); \ No newline at end of file +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT + CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/3.1/oracle_catalogue_schema.sql b/catalogue/3.1/oracle_catalogue_schema.sql index 15372ef6461e2510d429e84187a0d9d0952983e6..783fc0cc6503abb55ba121d8787dc73a4f221eec 100644 --- a/catalogue/3.1/oracle_catalogue_schema.sql +++ b/catalogue/3.1/oracle_catalogue_schema.sql @@ -53,7 +53,7 @@ CREATE GLOBAL TEMPORARY TABLE TEMP_TAPE_FILE_INSERTION_BATCH( LOGICAL_SIZE_IN_BYTES NUMERIC(20, 0) , COPY_NB NUMERIC(3, 0) , CREATION_TIME NUMERIC(20, 0) , - ARCHIVE_FILE_ID NUMERIC(20, 0) + ARCHIVE_FILE_ID NUMERIC(20, 0) ) ON COMMIT DELETE ROWS; CREATE INDEX TEMP_T_F_I_B_AFI_IDX ON TEMP_TAPE_FILE_INSERTION_BATCH(ARCHIVE_FILE_ID); @@ -110,7 +110,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR2(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, diff --git a/catalogue/3.1/postgres_catalogue_schema.sql b/catalogue/3.1/postgres_catalogue_schema.sql index 65a018a3fb883e5e1181691a3b0878eae6c07e41..0df65e766cb4e109fa8b1782b96a3906584144ca 100644 --- a/catalogue/3.1/postgres_catalogue_schema.sql +++ b/catalogue/3.1/postgres_catalogue_schema.sql @@ -93,7 +93,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -397,5 +397,5 @@ ALTER TABLE ARCHIVE_FILE DROP CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN; ALTER TABLE ARCHIVE_FILE ADD CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN UNIQUE(DISK_INSTANCE_NAME, DISK_FILE_ID) DEFERRABLE INITIALLY IMMEDIATE; -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/3.1/sqlite_catalogue_schema.sql b/catalogue/3.1/sqlite_catalogue_schema.sql index 196c3be93f13af60e760d451eeda58df0d5d5025..9e8bcc22e64fbd809cfd33f72aac14f69a9d954f 100644 --- a/catalogue/3.1/sqlite_catalogue_schema.sql +++ b/catalogue/3.1/sqlite_catalogue_schema.sql @@ -69,7 +69,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID INTEGER CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES INTEGER CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, diff --git a/catalogue/3.2/mysql_catalogue_schema.sql b/catalogue/3.2/mysql_catalogue_schema.sql index d095f98be358f0131a1f16c06f7a663d499aa60e..f7d56fc34d0750e4f649f4a64984912884ac26a9 100644 --- a/catalogue/3.2/mysql_catalogue_schema.sql +++ b/catalogue/3.2/mysql_catalogue_schema.sql @@ -88,7 +88,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES TINYINT UNSIGNED CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -403,7 +403,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME BIGINT UNSIGNED CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR(100), DISK_FILE_PATH VARCHAR(2000), - REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME BIGINT UNSIGNED CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), @@ -418,5 +418,5 @@ VALUES( 3, 2, 'PRODUCTION'); -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT - CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); \ No newline at end of file +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT + CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/3.2/oracle_catalogue_schema.sql b/catalogue/3.2/oracle_catalogue_schema.sql index 8f38e21ccc3a4778f2e1152169d8c439c1d00260..e1e1fee90bdb521f8f84afdd82dcddaeb178f4b9 100644 --- a/catalogue/3.2/oracle_catalogue_schema.sql +++ b/catalogue/3.2/oracle_catalogue_schema.sql @@ -61,7 +61,7 @@ CREATE GLOBAL TEMPORARY TABLE TEMP_TAPE_FILE_INSERTION_BATCH( LOGICAL_SIZE_IN_BYTES NUMERIC(20, 0) , COPY_NB NUMERIC(3, 0) , CREATION_TIME NUMERIC(20, 0) , - ARCHIVE_FILE_ID NUMERIC(20, 0) + ARCHIVE_FILE_ID NUMERIC(20, 0) ) ON COMMIT DELETE ROWS; CREATE INDEX TEMP_T_F_I_B_AFI_IDX ON TEMP_TAPE_FILE_INSERTION_BATCH(ARCHIVE_FILE_ID); @@ -120,7 +120,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR2(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -435,7 +435,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR2(100), DISK_FILE_PATH VARCHAR2(2000), - REASON_LOG VARCHAR2(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR2(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), diff --git a/catalogue/3.2/postgres_catalogue_schema.sql b/catalogue/3.2/postgres_catalogue_schema.sql index 7d63f28ba4d7b33b58b01b6749ad926e3270ae99..412d410b469293cfed3737794f532b1fa0f46003 100644 --- a/catalogue/3.2/postgres_catalogue_schema.sql +++ b/catalogue/3.2/postgres_catalogue_schema.sql @@ -102,7 +102,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -417,7 +417,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR(100), DISK_FILE_PATH VARCHAR(2000), - REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), @@ -436,5 +436,5 @@ ALTER TABLE ARCHIVE_FILE DROP CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN; ALTER TABLE ARCHIVE_FILE ADD CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN UNIQUE(DISK_INSTANCE_NAME, DISK_FILE_ID) DEFERRABLE INITIALLY IMMEDIATE; -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/3.2/sqlite_catalogue_schema.sql b/catalogue/3.2/sqlite_catalogue_schema.sql index a80743a8a192320f18822dc9ccdbe3b57db04a1a..5010fc2645d816e0851f58b05084b5eaf1ec0da3 100644 --- a/catalogue/3.2/sqlite_catalogue_schema.sql +++ b/catalogue/3.2/sqlite_catalogue_schema.sql @@ -74,7 +74,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID INTEGER CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES INTEGER CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -389,7 +389,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME INTEGER CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR(100), DISK_FILE_PATH VARCHAR(2000), - REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME INTEGER CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), diff --git a/catalogue/4.0/mysql_catalogue_schema.sql b/catalogue/4.0/mysql_catalogue_schema.sql index f5f878ef2d1a881e57fb12612b1bcc9dccf750c5..a07c4c657e55b0c72211eb34b66c735d6e41421b 100644 --- a/catalogue/4.0/mysql_catalogue_schema.sql +++ b/catalogue/4.0/mysql_catalogue_schema.sql @@ -88,7 +88,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES TINYINT UNSIGNED CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID BIGINT UNSIGNED CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -336,7 +336,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME BIGINT UNSIGNED CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR(100), DISK_FILE_PATH VARCHAR(2000), - REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME BIGINT UNSIGNED CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), @@ -351,5 +351,5 @@ VALUES( 4, 0, 'PRODUCTION'); -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT - CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); \ No newline at end of file +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT + CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/4.0/oracle_catalogue_schema.sql b/catalogue/4.0/oracle_catalogue_schema.sql index f9a84015cd34b9f9f4377e3908334c5909a747dd..76765cb3a40bb1ae5e3d2e36c70734a476c9f519 100644 --- a/catalogue/4.0/oracle_catalogue_schema.sql +++ b/catalogue/4.0/oracle_catalogue_schema.sql @@ -61,7 +61,7 @@ CREATE GLOBAL TEMPORARY TABLE TEMP_TAPE_FILE_INSERTION_BATCH( LOGICAL_SIZE_IN_BYTES NUMERIC(20, 0) , COPY_NB NUMERIC(3, 0) , CREATION_TIME NUMERIC(20, 0) , - ARCHIVE_FILE_ID NUMERIC(20, 0) + ARCHIVE_FILE_ID NUMERIC(20, 0) ) ON COMMIT DELETE ROWS; CREATE INDEX TEMP_T_F_I_B_AFI_IDX ON TEMP_TAPE_FILE_INSERTION_BATCH(ARCHIVE_FILE_ID); @@ -120,7 +120,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR2(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR2(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -368,7 +368,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR2(100), DISK_FILE_PATH VARCHAR2(2000), - REASON_LOG VARCHAR2(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR2(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), diff --git a/catalogue/4.0/postgres_catalogue_schema.sql b/catalogue/4.0/postgres_catalogue_schema.sql index eff4688e8c6c1ea8c73d710f91f449b4cb5b106f..cbc60b64a8979634c15b4a689c323199ef1f1db0 100644 --- a/catalogue/4.0/postgres_catalogue_schema.sql +++ b/catalogue/4.0/postgres_catalogue_schema.sql @@ -102,7 +102,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES NUMERIC(3, 0) CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID NUMERIC(20, 0) CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -350,7 +350,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR(100), DISK_FILE_PATH VARCHAR(2000), - REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), @@ -369,5 +369,5 @@ ALTER TABLE ARCHIVE_FILE DROP CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN; ALTER TABLE ARCHIVE_FILE ADD CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN UNIQUE(DISK_INSTANCE_NAME, DISK_FILE_ID) DEFERRABLE INITIALLY IMMEDIATE; -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/4.0/sqlite_catalogue_schema.sql b/catalogue/4.0/sqlite_catalogue_schema.sql index 029327163817f2e2cc12a86b36c1d64be30a8a6f..c6239b6afb745c865a41aeb71d16de86bea83e96 100644 --- a/catalogue/4.0/sqlite_catalogue_schema.sql +++ b/catalogue/4.0/sqlite_catalogue_schema.sql @@ -74,7 +74,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID INTEGER CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES INTEGER CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID INTEGER CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -322,7 +322,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME INTEGER CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR(100), DISK_FILE_PATH VARCHAR(2000), - REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME INTEGER CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), diff --git a/catalogue/AllCatalogueSchema.hpp b/catalogue/AllCatalogueSchema.hpp index 5e0e0a2bc1fd9d8fa6cbfaf1a72c18331a33279f..727241496eaa5a2fcfe6f9935dfb526267157f68 100644 --- a/catalogue/AllCatalogueSchema.hpp +++ b/catalogue/AllCatalogueSchema.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/AllCatalogueSchema.hpp.in b/catalogue/AllCatalogueSchema.hpp.in index 00b0ef09c6009919342b69330e459ead6efb8f65..a1c0b7c1ad81f344af0d1b40385ca6978a65214b 100644 --- a/catalogue/AllCatalogueSchema.hpp.in +++ b/catalogue/AllCatalogueSchema.hpp.in @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -21,12 +20,12 @@ namespace cta{ namespace catalogue{ - + class AllCatalogueSchema { public: - static std::map<std::string,std::map<std::string,std::string>> mapSchema; + static std::map<std::string,std::map<std::string,std::string>> mapSchema; }; - + std::map<std::string,std::map<std::string,std::string>> AllCatalogueSchema::mapSchema = /* ALL_SCHEMA_MAP */ - + }} diff --git a/catalogue/ArchiveFileBuilder.cpp b/catalogue/ArchiveFileBuilder.cpp index b81ea83ff3f29fe9e7ab4ef57eb34324c6507b55..fdc6dbefc0b608f0c595860ab6ef00fa54c649ff 100644 --- a/catalogue/ArchiveFileBuilder.cpp +++ b/catalogue/ArchiveFileBuilder.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileBuilder.hpp" diff --git a/catalogue/ArchiveFileBuilder.hpp b/catalogue/ArchiveFileBuilder.hpp index 782417192247693be9aadf760c367650653d995b..81a5682a0324a6a96fd9f1c5f38dc57864a26ec5 100644 --- a/catalogue/ArchiveFileBuilder.hpp +++ b/catalogue/ArchiveFileBuilder.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/ArchiveFileRow.cpp b/catalogue/ArchiveFileRow.cpp index 74e6c04f7bddebd1c38066ef768f807b2fd389d0..b9c4223fc3b24d8bcc0c5466ab73a9df5ae68693 100644 --- a/catalogue/ArchiveFileRow.cpp +++ b/catalogue/ArchiveFileRow.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileRow.hpp" diff --git a/catalogue/ArchiveFileRow.hpp b/catalogue/ArchiveFileRow.hpp index 6a292898f723395ff1da609c758e17a7975c571e..674e7aa6940bbd2988ead74515bd86a6b3ed5ba7 100644 --- a/catalogue/ArchiveFileRow.hpp +++ b/catalogue/ArchiveFileRow.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/ArchiveFileRowWithoutTimestamps.cpp b/catalogue/ArchiveFileRowWithoutTimestamps.cpp index e8da05414da561f87ed069a59ad57c816c595cdc..ed83c198f564cc6719517d3abfb14dc075a32509 100644 --- a/catalogue/ArchiveFileRowWithoutTimestamps.cpp +++ b/catalogue/ArchiveFileRowWithoutTimestamps.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileRowWithoutTimestamps.hpp" diff --git a/catalogue/ArchiveFileRowWithoutTimestamps.hpp b/catalogue/ArchiveFileRowWithoutTimestamps.hpp index f14fc6d92679d337fafffbf61f644b1ca135b54f..94c7d845c049e8f0363886b86c621e5e35157d86 100644 --- a/catalogue/ArchiveFileRowWithoutTimestamps.hpp +++ b/catalogue/ArchiveFileRowWithoutTimestamps.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CMakeLists.txt b/catalogue/CMakeLists.txt index a88b6270ce6b0692e874b6a4efaba2d9b4884863..af517249dd5aaeff4f27f145c7e9465e5c1b9f70 100644 --- a/catalogue/CMakeLists.txt +++ b/catalogue/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) find_package(Protobuf3 REQUIRED) @@ -95,9 +94,9 @@ add_custom_command (OUTPUT sqlite_catalogue_schema.sql mysql_catalogue_schema.sq | sed 's/UINT64TYPE/INTEGER/g' | sed 's/CHECKSUM_BLOB_TYPE/BLOB\(200\)/g' | tee sqlite_catalogue_schema.sql ${catalogue_schema_directory}/sqlite_catalogue_schema.sql > /dev/null - COMMAND cat - ${CMAKE_CURRENT_SOURCE_DIR}/mysql_catalogue_schema_header.sql - ${CMAKE_CURRENT_SOURCE_DIR}/common_catalogue_schema.sql + COMMAND cat + ${CMAKE_CURRENT_SOURCE_DIR}/mysql_catalogue_schema_header.sql + ${CMAKE_CURRENT_SOURCE_DIR}/common_catalogue_schema.sql insert_cta_catalogue_version.sql ${CMAKE_CURRENT_SOURCE_DIR}/mysql_catalogue_schema_trailer.sql | sed 's/UINT8TYPE/TINYINT UNSIGNED/g' @@ -294,7 +293,7 @@ add_executable(cta-catalogue-admin-user-create CreateAdminUserCmdLineArgs.cpp CreateAdminUserCmdMain.cpp) -target_link_libraries(cta-catalogue-admin-user-create ctacatalogue) +target_link_libraries(cta-catalogue-admin-user-create ctacatalogue) set_property(TARGET cta-catalogue-admin-user-create APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH}) set_property(TARGET cta-catalogue-admin-user-create APPEND PROPERTY INSTALL_RPATH ${ORACLE-INSTANTCLIENT_RPATH}) diff --git a/catalogue/Catalogue.cpp b/catalogue/Catalogue.cpp index a0866c30ba3a4f2894d03a13d37c25d1b4c554b3..e0f4f2bd21e4d90906e6839e0f380fbc0f4c9272 100644 --- a/catalogue/Catalogue.cpp +++ b/catalogue/Catalogue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/Catalogue.hpp" diff --git a/catalogue/Catalogue.hpp b/catalogue/Catalogue.hpp index 551651e4bae8c4ff3ea0c324969b82df65fff6d0..ea88fbf638e6ec3603d1d113775148c520b890ac 100644 --- a/catalogue/Catalogue.hpp +++ b/catalogue/Catalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CatalogueFactory.cpp b/catalogue/CatalogueFactory.cpp index 40adf495f3eb3d1ddc44e099dbcb7653c019ce33..013c4026afc12c6985429f170a9ea65927de00de 100644 --- a/catalogue/CatalogueFactory.cpp +++ b/catalogue/CatalogueFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueFactory.hpp" diff --git a/catalogue/CatalogueFactory.hpp b/catalogue/CatalogueFactory.hpp index 1e6253f72b9e4da6ced9c169aa833e274a002280..544487324d64b1ca109502adc36f9a050edd5263 100644 --- a/catalogue/CatalogueFactory.hpp +++ b/catalogue/CatalogueFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CatalogueFactoryFactory.cpp b/catalogue/CatalogueFactoryFactory.cpp index 72e7f4752bad3101cdf723cb64e6eba20b00e9e3..59bc6bbbe2b863ae7d51de9119a6953ef9dfa97e 100644 --- a/catalogue/CatalogueFactoryFactory.cpp +++ b/catalogue/CatalogueFactoryFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueFactoryFactory.hpp" diff --git a/catalogue/CatalogueFactoryFactory.hpp b/catalogue/CatalogueFactoryFactory.hpp index b06a9440843888a6634a5164246b20da2ab2b730..1dba32ef7fe7c034f77b4b696a506c1647a03f9d 100644 --- a/catalogue/CatalogueFactoryFactory.hpp +++ b/catalogue/CatalogueFactoryFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CatalogueItor.hpp b/catalogue/CatalogueItor.hpp index f9a02a23d4015b1fe8dee7a99bbf0421147ef199..a57bcdb3dae1466d1869a95991ebd99afbb86e56 100644 --- a/catalogue/CatalogueItor.hpp +++ b/catalogue/CatalogueItor.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CatalogueItorImpl.hpp b/catalogue/CatalogueItorImpl.hpp index 0f350ec0cd405d5e2e4ba9e178a4068922e8fd35..74b51da783e1b22e5063317e0b9eb004db0d7aaf 100644 --- a/catalogue/CatalogueItorImpl.hpp +++ b/catalogue/CatalogueItorImpl.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CatalogueRetryWrapper.hpp b/catalogue/CatalogueRetryWrapper.hpp index e478ab41ccefe6d7bb9e5b324261635c7d15c854..c666f4d75b1be290573b6cc36b234e31be0168f8 100644 --- a/catalogue/CatalogueRetryWrapper.hpp +++ b/catalogue/CatalogueRetryWrapper.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CatalogueSchema.cpp b/catalogue/CatalogueSchema.cpp index 95a6e9cd0495bacbf5d6a1bc463a15d450f039f7..3bdd194813f738dbf7e5e3115ac8ad0cd7204421 100644 --- a/catalogue/CatalogueSchema.cpp +++ b/catalogue/CatalogueSchema.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueSchema.hpp" diff --git a/catalogue/CatalogueSchema.hpp b/catalogue/CatalogueSchema.hpp index 775c2903c8e15993cd5e0832b1e9d22ba066b3d5..a13e0f832df62a71dc8942d7eaea5f8cdbced82b 100644 --- a/catalogue/CatalogueSchema.hpp +++ b/catalogue/CatalogueSchema.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CatalogueTest.cpp b/catalogue/CatalogueTest.cpp index 9193bcffaa41e4621d2d4016be188452272f16ec..a5fd5262c7ee49147200d8d683bfaac07dd173f4 100644 --- a/catalogue/CatalogueTest.cpp +++ b/catalogue/CatalogueTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileRow.hpp" diff --git a/catalogue/CatalogueTest.hpp b/catalogue/CatalogueTest.hpp index cbf90e921f71eed39493508c3f304d245e15df01..c0fb07c268d209a87de3df5aff4022f98f8c3794 100644 --- a/catalogue/CatalogueTest.hpp +++ b/catalogue/CatalogueTest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CmdLineTool.cpp b/catalogue/CmdLineTool.cpp index ecd12d7a8983bd241eec46bdbc0f0bc9b2a34e9b..7b662e0eb7a3d2a691ea60c4e1d8863890a8e585 100644 --- a/catalogue/CmdLineTool.cpp +++ b/catalogue/CmdLineTool.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CmdLineTool.hpp" diff --git a/catalogue/CmdLineTool.hpp b/catalogue/CmdLineTool.hpp index 191d66dacaa351ac8b403d7c40819db158ea6b2b..8f27a40a368be1c1757bed5e495f256abcf5b55d 100644 --- a/catalogue/CmdLineTool.hpp +++ b/catalogue/CmdLineTool.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CreateAdminUserCmd.cpp b/catalogue/CreateAdminUserCmd.cpp index 5ab065d3961e4e753163af213d98ddcf24408256..85bc1e0b0c6ba80874fe8287b7d7379227228a2a 100644 --- a/catalogue/CreateAdminUserCmd.cpp +++ b/catalogue/CreateAdminUserCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueFactoryFactory.hpp" diff --git a/catalogue/CreateAdminUserCmd.hpp b/catalogue/CreateAdminUserCmd.hpp index d8ef4f9158985d5c91888427d326104d43f353c3..c3d5052e69a01ab72d39710226d79064d19b9549 100644 --- a/catalogue/CreateAdminUserCmd.hpp +++ b/catalogue/CreateAdminUserCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CreateAdminUserCmdLineArgs.cpp b/catalogue/CreateAdminUserCmdLineArgs.cpp index b68290fd471c4c7e8147d48f3234041d67746e74..3ce3dca29e3d109677234b9baea33bdeb3e59e59 100644 --- a/catalogue/CreateAdminUserCmdLineArgs.cpp +++ b/catalogue/CreateAdminUserCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CreateAdminUserCmdLineArgs.hpp" diff --git a/catalogue/CreateAdminUserCmdLineArgs.hpp b/catalogue/CreateAdminUserCmdLineArgs.hpp index 099781aae3c49434ffcc931b3eab05c4db719c7a..f512875851b43d237ec81f41dce07efb2203ae50 100644 --- a/catalogue/CreateAdminUserCmdLineArgs.hpp +++ b/catalogue/CreateAdminUserCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CreateAdminUserCmdLineArgsTest.cpp b/catalogue/CreateAdminUserCmdLineArgsTest.cpp index c5ba077c8f80280aafe387d956eb2dc119c51f92..2587fc4dd12787b88b4a66679ae05ea7aa16e922 100644 --- a/catalogue/CreateAdminUserCmdLineArgsTest.cpp +++ b/catalogue/CreateAdminUserCmdLineArgsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CreateAdminUserCmdLineArgs.hpp" diff --git a/catalogue/CreateAdminUserCmdMain.cpp b/catalogue/CreateAdminUserCmdMain.cpp index 58bb31ea20e8628eb1daf1c6161507947847129d..cf9248492dfdfd2a5e95dab2e903ab30ddab2502 100644 --- a/catalogue/CreateAdminUserCmdMain.cpp +++ b/catalogue/CreateAdminUserCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CreateAdminUserCmd.hpp" diff --git a/catalogue/CreateAllSchemasCppFile.sh b/catalogue/CreateAllSchemasCppFile.sh index 59519f47c5c1dc6a83acb7eab40c745605f76c52..f1931590fe527aeb7c266c358f08b37539c4c3e1 100755 --- a/catalogue/CreateAllSchemasCppFile.sh +++ b/catalogue/CreateAllSchemasCppFile.sh @@ -1,5 +1,21 @@ #!/bin/sh -# + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# # This script is ran by cmake in order to generate the C++ map that will store all schemas in it. # Takes as argument the disk emplacement where the .sql files are located # Example : @@ -16,7 +32,7 @@ # {"sqlite","sqlite sqlStatements 1.1"}, # } # }, -# +# # }; # die() { @@ -62,4 +78,4 @@ echo "$mapSchemaCode" > $tempFilePath sed "/ALL_SCHEMA_MAP/r $tempFilePath" ./AllCatalogueSchema.hpp.in > ./AllCatalogueSchema.hpp || die "Unable to create the map containing all catalogue schemas" #awk -v r="$mapSchemaCode" '{gsub(/ALL_SCHEMA_MAP/,r)}1' ./AllCatalogueSchema.hpp.in > ./AllCatalogueSchema.hpp || die "Unable to create the map containing all catalogue schemas" -exit 0 \ No newline at end of file +exit 0 diff --git a/catalogue/CreateMountPolicyAttributes.hpp b/catalogue/CreateMountPolicyAttributes.hpp index bb5e8d100967e5cae4bb92336d678cb1ce011dbe..79e31b2fac46e0fcd20b21ae3e53639b96332f85 100644 --- a/catalogue/CreateMountPolicyAttributes.hpp +++ b/catalogue/CreateMountPolicyAttributes.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CreateSchemaCmd.cpp b/catalogue/CreateSchemaCmd.cpp index 16a740986b98b320d1bb03741aaab4410e9295a4..a09e172d3a83cebb7b3debaf92ebcd4be7da5a0c 100644 --- a/catalogue/CreateSchemaCmd.cpp +++ b/catalogue/CreateSchemaCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CreateSchemaCmd.hpp" diff --git a/catalogue/CreateSchemaCmd.hpp b/catalogue/CreateSchemaCmd.hpp index 086126ef3dc8986e329211a744cf0e0e02ffb26d..01a17eeddfafc8985a156c44c5f5c5ebac845210 100644 --- a/catalogue/CreateSchemaCmd.hpp +++ b/catalogue/CreateSchemaCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CreateSchemaCmdLineArgs.cpp b/catalogue/CreateSchemaCmdLineArgs.cpp index ec27f661f2cac0f6e9760cd29fcf746d55365b6e..e4c3a8d576e750bcf0554f0e1f329ae28790aa04 100644 --- a/catalogue/CreateSchemaCmdLineArgs.cpp +++ b/catalogue/CreateSchemaCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CreateSchemaCmdLineArgs.hpp" diff --git a/catalogue/CreateSchemaCmdLineArgs.hpp b/catalogue/CreateSchemaCmdLineArgs.hpp index 5a501e66401c339f3c42fa7ec350893b11d8beed..2e69c833e2e13870b05f06ad9dc7ef89db9938be 100644 --- a/catalogue/CreateSchemaCmdLineArgs.hpp +++ b/catalogue/CreateSchemaCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/CreateSchemaCmdLineArgsTest.cpp b/catalogue/CreateSchemaCmdLineArgsTest.cpp index 137ea087faa6aa43afbda3a4a1dd063642c8f1e8..4b84edd36674b115db17d02b66af544da0ec20be 100644 --- a/catalogue/CreateSchemaCmdLineArgsTest.cpp +++ b/catalogue/CreateSchemaCmdLineArgsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/catalogue/CreateSchemaCmdMain.cpp b/catalogue/CreateSchemaCmdMain.cpp index bf212c2c359328ed25e2a2e8bd9f6ee3a3a87535..305abbf17bfb367d5b556fe8a60cec5e87d855b1 100644 --- a/catalogue/CreateSchemaCmdMain.cpp +++ b/catalogue/CreateSchemaCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CreateSchemaCmd.hpp" diff --git a/catalogue/CreateTapeAttributes.hpp b/catalogue/CreateTapeAttributes.hpp index 497c0c5ed04fdfcfbce4373d63ac3731ea6c4fbb..2b00002337af1f06e5a8e1d535c0dfbf661abecd 100644 --- a/catalogue/CreateTapeAttributes.hpp +++ b/catalogue/CreateTapeAttributes.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/DatabaseMetadataGetter.cpp b/catalogue/DatabaseMetadataGetter.cpp index a3d9cc7b68be709256be756c7c3a7cf5dcbf2e0d..19a675ed5d79806d4d57541496c6b0486293a556 100644 --- a/catalogue/DatabaseMetadataGetter.cpp +++ b/catalogue/DatabaseMetadataGetter.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DatabaseMetadataGetter.hpp" diff --git a/catalogue/DatabaseMetadataGetter.hpp b/catalogue/DatabaseMetadataGetter.hpp index c9b9cdfa9f265a6248f013e5cf20158b885b78c6..a4d9410ad8c888117de6161412a3b0a50bb49f3f 100644 --- a/catalogue/DatabaseMetadataGetter.hpp +++ b/catalogue/DatabaseMetadataGetter.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/DbConfigVersionOfCatalogueTest.cpp b/catalogue/DbConfigVersionOfCatalogueTest.cpp index bedde86255c07eb7d12029faf26a77bf1fb617b3..2ef531d2a86be3c6e7931f2ac272ca062b6c1503 100644 --- a/catalogue/DbConfigVersionOfCatalogueTest.cpp +++ b/catalogue/DbConfigVersionOfCatalogueTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueTest.hpp" diff --git a/catalogue/DbToSQLiteStatementTransformer.cpp b/catalogue/DbToSQLiteStatementTransformer.cpp index bc717c1e41e6f9a3034359b842a373892d01af9a..2277e1786fda46ea36a632326a50224e0d6262ec 100644 --- a/catalogue/DbToSQLiteStatementTransformer.cpp +++ b/catalogue/DbToSQLiteStatementTransformer.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <iostream> diff --git a/catalogue/DbToSQLiteStatementTransformer.hpp b/catalogue/DbToSQLiteStatementTransformer.hpp index 5527d21fb88c016e1a697b8f68cf88407b6a505e..6ba3775b5f1ec5ced7a2dec56b1ded0739f6c66e 100644 --- a/catalogue/DbToSQLiteStatementTransformer.hpp +++ b/catalogue/DbToSQLiteStatementTransformer.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/DropSchemaCmd.cpp b/catalogue/DropSchemaCmd.cpp index 856395475ae02175adc45060bdcb4f933bb44169..d2813e72f50f88794cdca7996149adbdf555268d 100644 --- a/catalogue/DropSchemaCmd.cpp +++ b/catalogue/DropSchemaCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/DropSchemaCmd.hpp" diff --git a/catalogue/DropSchemaCmd.hpp b/catalogue/DropSchemaCmd.hpp index e448e0a238fba23eb3288295bf70c5dd0fe85e69..ca73c9ea19068ae560d219b8c253e4942ff9aa1e 100644 --- a/catalogue/DropSchemaCmd.hpp +++ b/catalogue/DropSchemaCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/DropSchemaCmdLineArgs.cpp b/catalogue/DropSchemaCmdLineArgs.cpp index 33abba00a46c639d826cdd1da2d411838386b2b6..326c3219dbfa8a1e60b9f1757f05a910530cc847 100644 --- a/catalogue/DropSchemaCmdLineArgs.cpp +++ b/catalogue/DropSchemaCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/DropSchemaCmdLineArgs.hpp" diff --git a/catalogue/DropSchemaCmdLineArgs.hpp b/catalogue/DropSchemaCmdLineArgs.hpp index d7e108e18b969ce46a2704f0a674a8cbffb4892e..3289c0dee22e147f67c18df2c5889d57e0065755 100644 --- a/catalogue/DropSchemaCmdLineArgs.hpp +++ b/catalogue/DropSchemaCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/DropSchemaCmdLineArgsTest.cpp b/catalogue/DropSchemaCmdLineArgsTest.cpp index 3918e59c8533b2736d40a765318fc3cb3669d0e1..c752db82a74d6ea4a91ed1c215d1e56de32d7824 100644 --- a/catalogue/DropSchemaCmdLineArgsTest.cpp +++ b/catalogue/DropSchemaCmdLineArgsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/catalogue/DropSchemaCmdMain.cpp b/catalogue/DropSchemaCmdMain.cpp index ac01967ac9f2d979023f42fd320e97c3a2acb55d..9cbef48f369e2e19dc69be5da5df551689fb49ec 100644 --- a/catalogue/DropSchemaCmdMain.cpp +++ b/catalogue/DropSchemaCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/DropSchemaCmd.hpp" diff --git a/catalogue/DummyCatalogue.hpp b/catalogue/DummyCatalogue.hpp index 50203d57a93b9c0d8f84b592db682686abbeaa40..e449c7b886c804f2181024ffa7f38df700fe510f 100644 --- a/catalogue/DummyCatalogue.hpp +++ b/catalogue/DummyCatalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/InMemoryCatalogue.cpp b/catalogue/InMemoryCatalogue.cpp index 69eeb195103a9fff734d880278768a63f91c97d6..307b09d8adbf95db1030d9906927eed7bdc39288 100644 --- a/catalogue/InMemoryCatalogue.cpp +++ b/catalogue/InMemoryCatalogue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/InMemoryCatalogue.hpp" diff --git a/catalogue/InMemoryCatalogue.hpp b/catalogue/InMemoryCatalogue.hpp index 6605647dcbc0cde497d75e1ff22c2a29f4a04bdc..a86378ef29eeaf9b061c38fd2afcd1fd4c422343 100644 --- a/catalogue/InMemoryCatalogue.hpp +++ b/catalogue/InMemoryCatalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/InMemoryCatalogueFactory.cpp b/catalogue/InMemoryCatalogueFactory.cpp index e6f560129b74d24fbe8655c3cbc23f43082f90d4..8d20da26d430201396d01c1d7b4b74e34f581e5b 100644 --- a/catalogue/InMemoryCatalogueFactory.cpp +++ b/catalogue/InMemoryCatalogueFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueRetryWrapper.hpp" diff --git a/catalogue/InMemoryCatalogueFactory.hpp b/catalogue/InMemoryCatalogueFactory.hpp index 7659bda233b17737d1fe60549b6eb5f251f1612d..504aca8492702e424b7c753f8a3a42f38ba2d371 100644 --- a/catalogue/InMemoryCatalogueFactory.hpp +++ b/catalogue/InMemoryCatalogueFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/InMemoryCatalogueTest.cpp b/catalogue/InMemoryCatalogueTest.cpp index ca09bdc9dd9386093b5f1f24f0211492184c0af1..faf1efc8a676e5dbfc0b282bd642908cbdaa530a 100644 --- a/catalogue/InMemoryCatalogueTest.cpp +++ b/catalogue/InMemoryCatalogueTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/InMemoryCatalogue.hpp" diff --git a/catalogue/InMemoryVersionOfCatalogueTest.cpp b/catalogue/InMemoryVersionOfCatalogueTest.cpp index 425e585db12bdc0f19e9367dfcbdb5f7c7051b03..fe2ce37a03ffede6a55147c743e72aa2a9e31f05 100644 --- a/catalogue/InMemoryVersionOfCatalogueTest.cpp +++ b/catalogue/InMemoryVersionOfCatalogueTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueTest.hpp" diff --git a/catalogue/InsertFileRecycleLog.hpp b/catalogue/InsertFileRecycleLog.hpp index 7e99d5bac5fe648c43ff81e3d7eff3952b936208..d796808d64c32f5ea5eb4b503b776956bea24dba 100644 --- a/catalogue/InsertFileRecycleLog.hpp +++ b/catalogue/InsertFileRecycleLog.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/MediaType.hpp b/catalogue/MediaType.hpp index 707e0518d95e6d0aa7d05beeb9b07bdd65819cc3..2459fc6b863981780b2d8513c84c028559d885a0 100644 --- a/catalogue/MediaType.hpp +++ b/catalogue/MediaType.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/MediaTypeWithLogs.hpp b/catalogue/MediaTypeWithLogs.hpp index a17f7942fc2a39e579e37fe1b73904e441a4c5d6..d0934b5a1f40064ffc759f12767d1a3cb1c8ac99 100644 --- a/catalogue/MediaTypeWithLogs.hpp +++ b/catalogue/MediaTypeWithLogs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/MysqlCatalogue.cpp b/catalogue/MysqlCatalogue.cpp index fb2095ef8fd9d1c037882ce183be3088c92718c9..5fde0564c7de7ceb52c501349ed18c3f46d3e80d 100644 --- a/catalogue/MysqlCatalogue.cpp +++ b/catalogue/MysqlCatalogue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileRow.hpp" diff --git a/catalogue/MysqlCatalogue.hpp b/catalogue/MysqlCatalogue.hpp index 955b4272051b53b0d7500f0810f0cff032bb3cd9..bcb30942b9451bf8bc3336191ffd2585aa24edc4 100644 --- a/catalogue/MysqlCatalogue.hpp +++ b/catalogue/MysqlCatalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/MysqlCatalogueFactory.cpp b/catalogue/MysqlCatalogueFactory.cpp index b0dec25d845fbb63008d8f9a8e7ea7a8c768205d..f5cad597212edeaa0c309e3b53ffd6dc9ebc9a67 100644 --- a/catalogue/MysqlCatalogueFactory.cpp +++ b/catalogue/MysqlCatalogueFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueRetryWrapper.hpp" diff --git a/catalogue/MysqlCatalogueFactory.hpp b/catalogue/MysqlCatalogueFactory.hpp index 90cbc4962f87b784391e599d180a2238c91c9a98..5804dc839b7286232790dccc23016ec94ce2948e 100644 --- a/catalogue/MysqlCatalogueFactory.hpp +++ b/catalogue/MysqlCatalogueFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/MysqlCatalogueSchema.before_SQL.cpp b/catalogue/MysqlCatalogueSchema.before_SQL.cpp index 9afe7d3bd37647bfed88fb7031fda56c316f83c3..f58d18706084140a426a9dee3c28680f50208cef 100644 --- a/catalogue/MysqlCatalogueSchema.before_SQL.cpp +++ b/catalogue/MysqlCatalogueSchema.before_SQL.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/MysqlCatalogueSchema.hpp" diff --git a/catalogue/MysqlCatalogueSchema.hpp b/catalogue/MysqlCatalogueSchema.hpp index 71d92c2a09eab3655971ba9a8d746954637213e5..704284a35a6ffb7021ae78ed2f3564d29b3a55ed 100644 --- a/catalogue/MysqlCatalogueSchema.hpp +++ b/catalogue/MysqlCatalogueSchema.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/OracleCatalogue.cpp b/catalogue/OracleCatalogue.cpp index a0679a320353284100ec8bfbb98fdb6966da452c..a867ff00fc673a64c0c4a4d3ab6e0da5c59df5d7 100644 --- a/catalogue/OracleCatalogue.cpp +++ b/catalogue/OracleCatalogue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileRow.hpp" diff --git a/catalogue/OracleCatalogue.hpp b/catalogue/OracleCatalogue.hpp index 74f311dac11f9f72dcc73aa2c2cc5505efe4c9e0..0fa79b1b6c71e6178ca7f37de42c31caeb8ceee1 100644 --- a/catalogue/OracleCatalogue.hpp +++ b/catalogue/OracleCatalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/OracleCatalogueFactory.cpp b/catalogue/OracleCatalogueFactory.cpp index fdd716d225b0d9fffd0e4e348336d96431ed0a71..46ae69c69d01a30c2ebb90a5b08d91a63a1fb5e3 100644 --- a/catalogue/OracleCatalogueFactory.cpp +++ b/catalogue/OracleCatalogueFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueRetryWrapper.hpp" diff --git a/catalogue/OracleCatalogueFactory.hpp b/catalogue/OracleCatalogueFactory.hpp index b3dd2ad3def3a07a0b64e3d5a314a913f5435bf3..899262cee50078f9a76bb0f44d7d033a14cc4467 100644 --- a/catalogue/OracleCatalogueFactory.hpp +++ b/catalogue/OracleCatalogueFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/OracleCatalogueSchema.before_SQL.cpp b/catalogue/OracleCatalogueSchema.before_SQL.cpp index c66f5895ecd2280cf6661ec5d65509084c5a38e0..3d7e848a51a4bd2c089793e3fd2c7c0cf944b27d 100644 --- a/catalogue/OracleCatalogueSchema.before_SQL.cpp +++ b/catalogue/OracleCatalogueSchema.before_SQL.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/OracleCatalogueSchema.hpp" diff --git a/catalogue/OracleCatalogueSchema.hpp b/catalogue/OracleCatalogueSchema.hpp index 6e1ed26ee475e0a06835c9ee6dc7a401c2529264..9a197bd4b6ffc23780aca018abb235fe6b2c9c85 100644 --- a/catalogue/OracleCatalogueSchema.hpp +++ b/catalogue/OracleCatalogueSchema.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/PollDatabaseCmd.cpp b/catalogue/PollDatabaseCmd.cpp index b685f8cd2055fd764e15b8bb126fea696130c02c..f7952acee47fcb6bd85a3cddd7add6fc7f8a26c4 100644 --- a/catalogue/PollDatabaseCmd.cpp +++ b/catalogue/PollDatabaseCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueFactoryFactory.hpp" diff --git a/catalogue/PollDatabaseCmd.hpp b/catalogue/PollDatabaseCmd.hpp index 15f5d8ea67559f125681eb540f69bcf8640306ad..f29a1fecc2ec9256cbfe717dcacda7a3e6540682 100644 --- a/catalogue/PollDatabaseCmd.hpp +++ b/catalogue/PollDatabaseCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/PollDatabaseCmdLineArgs.cpp b/catalogue/PollDatabaseCmdLineArgs.cpp index 6963ca5d326999f3eba3c9ae33a64fe5629ee606..22f4f91a3c788084c85d57037b876ce3dc13d86e 100644 --- a/catalogue/PollDatabaseCmdLineArgs.cpp +++ b/catalogue/PollDatabaseCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/PollDatabaseCmdLineArgs.hpp" diff --git a/catalogue/PollDatabaseCmdLineArgs.hpp b/catalogue/PollDatabaseCmdLineArgs.hpp index 48d2f5af3c2cd3fa50fc565e8a0c973b022015b4..9e447e6f7d9e5ee117c90d93c2b118d5e8712f55 100644 --- a/catalogue/PollDatabaseCmdLineArgs.hpp +++ b/catalogue/PollDatabaseCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/PollDatabaseCmdLineArgsTest.cpp b/catalogue/PollDatabaseCmdLineArgsTest.cpp index a970c41409953d78279d4d9e70e8be8f0aeb5048..3aa869c4a4d6303988c05f1eea77584a09eb0788 100644 --- a/catalogue/PollDatabaseCmdLineArgsTest.cpp +++ b/catalogue/PollDatabaseCmdLineArgsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/catalogue/PollDatabaseCmdMain.cpp b/catalogue/PollDatabaseCmdMain.cpp index 87174d638ba594f6f00851fee703f584fce5ff06..79377d09a979b99a0b67db5eb8bc89a9c94a9ae5 100644 --- a/catalogue/PollDatabaseCmdMain.cpp +++ b/catalogue/PollDatabaseCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/PollDatabaseCmd.hpp" diff --git a/catalogue/PostgresCatalogue.cpp b/catalogue/PostgresCatalogue.cpp index 449dbc9f6ace5b93f08191daf09b2de1b98cf9df..ce585cd36dc7bc6462e6db08d91da26725514dd7 100644 --- a/catalogue/PostgresCatalogue.cpp +++ b/catalogue/PostgresCatalogue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileRow.hpp" diff --git a/catalogue/PostgresCatalogue.hpp b/catalogue/PostgresCatalogue.hpp index 93e284b35f0b4f0df4619550e03ff431bab2efff..8db32f8df412de61c7ab7ce87cc88387b239431c 100644 --- a/catalogue/PostgresCatalogue.hpp +++ b/catalogue/PostgresCatalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/PostgresCatalogueSchema.before_SQL.cpp b/catalogue/PostgresCatalogueSchema.before_SQL.cpp index 54e356ed56e1d5c848bb5f3bf2f341ffb1e777ad..70d177ac348ce5bbdd66d2722b6ffc9d21e9bb43 100644 --- a/catalogue/PostgresCatalogueSchema.before_SQL.cpp +++ b/catalogue/PostgresCatalogueSchema.before_SQL.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/PostgresCatalogueSchema.hpp" diff --git a/catalogue/PostgresCatalogueSchema.hpp b/catalogue/PostgresCatalogueSchema.hpp index 779b161fbc0eb28d43f917791e735e4d4f10e359..c38ca4fc0b54567fd4ccb0f9e3acb6ae6904c476 100644 --- a/catalogue/PostgresCatalogueSchema.hpp +++ b/catalogue/PostgresCatalogueSchema.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/PostgresqlCatalogueFactory.cpp b/catalogue/PostgresqlCatalogueFactory.cpp index 4b4e82393e5543e844f045357745c60e88af2e28..61621dcb6ee46b8bde8744a80ab591a57c4abb74 100644 --- a/catalogue/PostgresqlCatalogueFactory.cpp +++ b/catalogue/PostgresqlCatalogueFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueRetryWrapper.hpp" diff --git a/catalogue/PostgresqlCatalogueFactory.hpp b/catalogue/PostgresqlCatalogueFactory.hpp index 5289aa7d5c52097e8f86aaa37ca6807eb475c1ff..f5703e810793e7cfc1e3775d6563bf3ce4da02e8 100644 --- a/catalogue/PostgresqlCatalogueFactory.hpp +++ b/catalogue/PostgresqlCatalogueFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/RdbmsCatalogue.cpp b/catalogue/RdbmsCatalogue.cpp index f3f597a0689e0a9f1a0f4b29e07319f5c7b65b00..d58979f97fb342d5728ffdebd7dbbe4bac75b7a3 100644 --- a/catalogue/RdbmsCatalogue.cpp +++ b/catalogue/RdbmsCatalogue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileRow.hpp" diff --git a/catalogue/RdbmsCatalogue.hpp b/catalogue/RdbmsCatalogue.hpp index e92f782b375b263c3df996f9a365414332fc6a4a..f02918c86dc5bde813b96df5fc290f5f9b96b372 100644 --- a/catalogue/RdbmsCatalogue.hpp +++ b/catalogue/RdbmsCatalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.cpp b/catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.cpp index 42b553bbe1d9ef551547578e1fd22ef447d46db7..36bff5fd74d333257e16e1c5a056c7dda538d276 100644 --- a/catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.cpp +++ b/catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.hpp" diff --git a/catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.hpp b/catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.hpp index d87dfa28c72519c9c7e0a3e4d0dfdb35d4c919ea..cac6b5f7a668eefa1c8f8043155d855f175c2381 100644 --- a/catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.hpp +++ b/catalogue/RdbmsCatalogueGetArchiveFilesForRepackItor.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/RdbmsCatalogueGetArchiveFilesItor.cpp b/catalogue/RdbmsCatalogueGetArchiveFilesItor.cpp index b157655fea8926ba2efb68264c4b8825d4d42b7d..82c39e1fe03d46c343a05eed5e573d402be68629 100644 --- a/catalogue/RdbmsCatalogueGetArchiveFilesItor.cpp +++ b/catalogue/RdbmsCatalogueGetArchiveFilesItor.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/RdbmsCatalogueGetArchiveFilesItor.hpp" diff --git a/catalogue/RdbmsCatalogueGetArchiveFilesItor.hpp b/catalogue/RdbmsCatalogueGetArchiveFilesItor.hpp index a16d7b6d491ce77a9e6e3265fb9ef4d5e0b57a54..a38d93885be3a59bb135974955db37a00fea0120 100644 --- a/catalogue/RdbmsCatalogueGetArchiveFilesItor.hpp +++ b/catalogue/RdbmsCatalogueGetArchiveFilesItor.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/RdbmsCatalogueGetFileRecycleLogItor.cpp b/catalogue/RdbmsCatalogueGetFileRecycleLogItor.cpp index 1e9c7a0de5785fb9b8744a3e6243b97a0e0869db..f969fe59d8ddc178788b71b40941110c77c224e4 100644 --- a/catalogue/RdbmsCatalogueGetFileRecycleLogItor.cpp +++ b/catalogue/RdbmsCatalogueGetFileRecycleLogItor.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RdbmsCatalogueGetFileRecycleLogItor.hpp" diff --git a/catalogue/RdbmsCatalogueGetFileRecycleLogItor.hpp b/catalogue/RdbmsCatalogueGetFileRecycleLogItor.hpp index 633e87c5e3128210fb40c209b4a0309ce3a2c3d7..ba5ab34f230b19aabd695575453c564c08ae1094 100644 --- a/catalogue/RdbmsCatalogueGetFileRecycleLogItor.hpp +++ b/catalogue/RdbmsCatalogueGetFileRecycleLogItor.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/RdbmsCatalogueTapeContentsItor.cpp b/catalogue/RdbmsCatalogueTapeContentsItor.cpp index e8f19f9e9132d1c27e450ccf16d4fccf33579219..eb9f9cbccc6030542cb7e6fa9387f2e2fb9fd5df 100644 --- a/catalogue/RdbmsCatalogueTapeContentsItor.cpp +++ b/catalogue/RdbmsCatalogueTapeContentsItor.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/RdbmsCatalogueTapeContentsItor.hpp" diff --git a/catalogue/RdbmsCatalogueTapeContentsItor.hpp b/catalogue/RdbmsCatalogueTapeContentsItor.hpp index 301c2549c05e51f9bd76c73bad1f9da0df59492b..d334f984e93f87f4d16885b64e6ef9a5e5b85792 100644 --- a/catalogue/RdbmsCatalogueTapeContentsItor.hpp +++ b/catalogue/RdbmsCatalogueTapeContentsItor.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/RecyleTapeFileSearchCriteria.hpp b/catalogue/RecyleTapeFileSearchCriteria.hpp index c42673a6c9c1be034ceed0e416823ab4d70d921f..8d1ccd1e0337d89aafb12611a439892b51ac5372 100644 --- a/catalogue/RecyleTapeFileSearchCriteria.hpp +++ b/catalogue/RecyleTapeFileSearchCriteria.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/RequesterAndGroupMountPolicies.hpp b/catalogue/RequesterAndGroupMountPolicies.hpp index f5aff6aeac1b218a07e54dd077fbf7711e1828c2..504e05e017603bbe1d3d24b9397c2b1b6334099e 100644 --- a/catalogue/RequesterAndGroupMountPolicies.hpp +++ b/catalogue/RequesterAndGroupMountPolicies.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SQLiteSchemaComparer.cpp b/catalogue/SQLiteSchemaComparer.cpp index 7526ade6e7ae9d0e3fafc86960bc3dbab2d9940d..20bd5a100f75d203c267c17ee1eb4b1f66065501 100644 --- a/catalogue/SQLiteSchemaComparer.cpp +++ b/catalogue/SQLiteSchemaComparer.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <algorithm> diff --git a/catalogue/SQLiteSchemaComparer.hpp b/catalogue/SQLiteSchemaComparer.hpp index b501c0a6d59dc0daa212cee169a0a7ae381ccc8c..100abbff6a3337ae1958413d6ec04e0eddfcacb8 100644 --- a/catalogue/SQLiteSchemaComparer.hpp +++ b/catalogue/SQLiteSchemaComparer.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SQLiteSchemaInserter.cpp b/catalogue/SQLiteSchemaInserter.cpp index 41c00339419a4f456d21f6b23e9b6a185bb8842f..d9ea5375423928d6b2617b1a96ff478a06fbd1b7 100644 --- a/catalogue/SQLiteSchemaInserter.cpp +++ b/catalogue/SQLiteSchemaInserter.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SQLiteSchemaInserter.hpp" diff --git a/catalogue/SQLiteSchemaInserter.hpp b/catalogue/SQLiteSchemaInserter.hpp index 8dab234f509039851d56439e73fb4b59be4fbc1f..72296d6d221653e73dbb042ea0dcb30ef2cb57fe 100644 --- a/catalogue/SQLiteSchemaInserter.hpp +++ b/catalogue/SQLiteSchemaInserter.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SchemaChecker.cpp b/catalogue/SchemaChecker.cpp index e0bdaa91da23b68fe179eb37703eca288c06f307..77ef2a44cf5c8e5ac07e9d4cc4f34ec0e6a68ddd 100644 --- a/catalogue/SchemaChecker.cpp +++ b/catalogue/SchemaChecker.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SchemaChecker.hpp" diff --git a/catalogue/SchemaChecker.hpp b/catalogue/SchemaChecker.hpp index c5c83e9c18b46c887108254dd30e38a64cd77db5..97db8965fcfa80e2d5fe89ef30e1fcc11e90a12d 100644 --- a/catalogue/SchemaChecker.hpp +++ b/catalogue/SchemaChecker.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SchemaCheckerResult.cpp b/catalogue/SchemaCheckerResult.cpp index e254736c36c2045c473b2150cc56da1aa5914bfb..46cfad4e5cff535d306cf80bbc9a25a64229c3bb 100644 --- a/catalogue/SchemaCheckerResult.cpp +++ b/catalogue/SchemaCheckerResult.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <iostream> diff --git a/catalogue/SchemaCheckerResult.hpp b/catalogue/SchemaCheckerResult.hpp index dc7cabc03846626350a9e1ce0b935257c933323e..88e9ba64a585476e5621e3788ad02f989b8f0c67 100644 --- a/catalogue/SchemaCheckerResult.hpp +++ b/catalogue/SchemaCheckerResult.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SchemaComparer.cpp b/catalogue/SchemaComparer.cpp index a8d243159c5d8966f182a5f9495bbc13d503e0e3..f3fd613331aa85c43da4a84926fea0020ad13481 100644 --- a/catalogue/SchemaComparer.cpp +++ b/catalogue/SchemaComparer.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SchemaComparer.hpp" diff --git a/catalogue/SchemaComparer.hpp b/catalogue/SchemaComparer.hpp index 2db94cde3b3c6c82af2513b71f48d93923e1d08a..fda25d0365b812a557420c7224337375699a5c91 100644 --- a/catalogue/SchemaComparer.hpp +++ b/catalogue/SchemaComparer.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* * File: SchemaComparer.hpp diff --git a/catalogue/SchemaCreatingSqliteCatalogue.cpp b/catalogue/SchemaCreatingSqliteCatalogue.cpp index 8a472a3fb9923c161c2bb8edfdba08d331f0cab4..1c61a64aabccd89f4bc139e7691b9eb2611b44b1 100644 --- a/catalogue/SchemaCreatingSqliteCatalogue.cpp +++ b/catalogue/SchemaCreatingSqliteCatalogue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/SqliteCatalogueSchema.hpp" diff --git a/catalogue/SchemaCreatingSqliteCatalogue.hpp b/catalogue/SchemaCreatingSqliteCatalogue.hpp index 8e623454ca16db929a909e3ca6b2660f5ff9209c..aca85dd3c5b9b295776fcba0be76d3181493725c 100644 --- a/catalogue/SchemaCreatingSqliteCatalogue.hpp +++ b/catalogue/SchemaCreatingSqliteCatalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SchemaSqlStatementsReader.cpp b/catalogue/SchemaSqlStatementsReader.cpp index f805d107d377d51c2064da6cec86b3ec0e4d0600..41b76d9770f035a31e1734ed9cf63a84db24c14a 100644 --- a/catalogue/SchemaSqlStatementsReader.cpp +++ b/catalogue/SchemaSqlStatementsReader.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <memory> diff --git a/catalogue/SchemaSqlStatementsReader.hpp b/catalogue/SchemaSqlStatementsReader.hpp index 4f8d7147b7fdd78e2452e9937f1c7f6bfb400053..b191e1019332c47567b31a11b391fb8a60e848c5 100644 --- a/catalogue/SchemaSqlStatementsReader.hpp +++ b/catalogue/SchemaSqlStatementsReader.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SchemaVersion.cpp b/catalogue/SchemaVersion.cpp index 929d20f521e50fad6eecef7e0d63fddacfedb115..74c61d0f35bb55721078891f7262dc24c25c2245 100644 --- a/catalogue/SchemaVersion.cpp +++ b/catalogue/SchemaVersion.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SchemaVersion.hpp" diff --git a/catalogue/SchemaVersion.hpp b/catalogue/SchemaVersion.hpp index 7998dd9163a737b59afbb8838459c82403c0e48d..13eb470b3f324eff8c73300c3167aa95c126718b 100644 --- a/catalogue/SchemaVersion.hpp +++ b/catalogue/SchemaVersion.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SetProductionCmd.cpp b/catalogue/SetProductionCmd.cpp index 13b532a574240ed23de391a1aa128040e74098be..40b8aaa58eec6b9c85b18d0a8bce41b6c0896106 100644 --- a/catalogue/SetProductionCmd.cpp +++ b/catalogue/SetProductionCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SetProductionCmd.hpp" diff --git a/catalogue/SetProductionCmd.hpp b/catalogue/SetProductionCmd.hpp index 6b1d8c2341aadeeee6f0bb364a4f2fa7824ccbd8..6fdb72c8b2d71b04b382d8ab3477b4fabfc2740c 100644 --- a/catalogue/SetProductionCmd.hpp +++ b/catalogue/SetProductionCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SetProductionCmdLineArgs.cpp b/catalogue/SetProductionCmdLineArgs.cpp index 3c92d7753dd4694c605a6ef46c4b6b1a247a08d9..c7884265aff58524720ba6b40a80def5469a7b6e 100644 --- a/catalogue/SetProductionCmdLineArgs.cpp +++ b/catalogue/SetProductionCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SetProductionCmdLineArgs.hpp" diff --git a/catalogue/SetProductionCmdLineArgs.hpp b/catalogue/SetProductionCmdLineArgs.hpp index 4cdc70652b3db83354e1767abb896acb6cf55dc6..8c1e17a0e1118d12af40737c17cc74bba6194a5f 100644 --- a/catalogue/SetProductionCmdLineArgs.hpp +++ b/catalogue/SetProductionCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SetProductionCmdMain.cpp b/catalogue/SetProductionCmdMain.cpp index 0550429d1d5300f2876a4960c9d2e0ca3d873c96..297ca884ea3390855b5c3d27e8334485d5b5654f 100644 --- a/catalogue/SetProductionCmdMain.cpp +++ b/catalogue/SetProductionCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/SetProductionCmd.hpp" diff --git a/catalogue/SqliteCatalogue.cpp b/catalogue/SqliteCatalogue.cpp index 9120b2a3d57581fbe93db78860b2d5bc92b28099..9476cf6c166e3ea20d06f5e7e0ef7ee2f98e3c7f 100644 --- a/catalogue/SqliteCatalogue.cpp +++ b/catalogue/SqliteCatalogue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/ArchiveFileRow.hpp" diff --git a/catalogue/SqliteCatalogue.hpp b/catalogue/SqliteCatalogue.hpp index 473bc542c8d3bb57ed2e6e998216b18797162a3a..a3bf3e194dff7db7073a77b8acbf53ea746bfcb1 100644 --- a/catalogue/SqliteCatalogue.hpp +++ b/catalogue/SqliteCatalogue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/SqliteCatalogueSchema.before_SQL.cpp b/catalogue/SqliteCatalogueSchema.before_SQL.cpp index 9b9670f9ab3955ee226d46e0bef18426043b2318..a658312924398bb709f5f23ad1a3cfd1deaccbe0 100644 --- a/catalogue/SqliteCatalogueSchema.before_SQL.cpp +++ b/catalogue/SqliteCatalogueSchema.before_SQL.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/SqliteCatalogueSchema.hpp" diff --git a/catalogue/SqliteCatalogueSchema.hpp b/catalogue/SqliteCatalogueSchema.hpp index fd0b80befb3e05522cc28c385952e538232f7dbe..4210a1ff374b95062d9c7d337a00df8aa0522894 100644 --- a/catalogue/SqliteCatalogueSchema.hpp +++ b/catalogue/SqliteCatalogueSchema.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/TapeFileSearchCriteria.hpp b/catalogue/TapeFileSearchCriteria.hpp index 6c034919f3ba1f468cfa84dbd309ec0ffd95f10b..77b1ecb5f89b1a8ce65f2214ebe8269fd366300d 100644 --- a/catalogue/TapeFileSearchCriteria.hpp +++ b/catalogue/TapeFileSearchCriteria.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/TapeFileWritten.cpp b/catalogue/TapeFileWritten.cpp index 9ca59f24b58ee7e6abf7ef67290f489fc920fddf..9456c9c8df84adaa4eb402d84bc5a0b82e8b3626 100644 --- a/catalogue/TapeFileWritten.cpp +++ b/catalogue/TapeFileWritten.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/TapeFileWritten.hpp" diff --git a/catalogue/TapeFileWritten.hpp b/catalogue/TapeFileWritten.hpp index 95482263ce01a40dff24ea8e95317def20344de1..9670b62b6800ed7fbfebcbe88e269116aa6dfdf9 100644 --- a/catalogue/TapeFileWritten.hpp +++ b/catalogue/TapeFileWritten.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/TapeForWriting.cpp b/catalogue/TapeForWriting.cpp index 7874afd2f6b181d9ba5b9c59de36c32b395af3ad..45c1bce7b2d5393e081187d6f54dccc72cd599e0 100644 --- a/catalogue/TapeForWriting.cpp +++ b/catalogue/TapeForWriting.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/TapeForWriting.hpp" diff --git a/catalogue/TapeForWriting.hpp b/catalogue/TapeForWriting.hpp index 540711c70684807387619bb62ce236319b651c90..62ae1021834b75d16db386f104712d4aa6449a97 100644 --- a/catalogue/TapeForWriting.hpp +++ b/catalogue/TapeForWriting.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/TapeItemImplementation.cpp b/catalogue/TapeItemImplementation.cpp index ae82adefc35da0c2fe9b73621fa1519a83c5bafc..7d568ac797623f75faaebef9b9e4b5a5a5536fc8 100644 --- a/catalogue/TapeItemImplementation.cpp +++ b/catalogue/TapeItemImplementation.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/TapeItemWritten.hpp" diff --git a/catalogue/TapeItemWritten.hpp b/catalogue/TapeItemWritten.hpp index 7c81a1295b47857ae4c6b0d0108cfc4e6ed7b3d2..8731a980fc8728b4b54ce00db61d0588ee99e5b5 100644 --- a/catalogue/TapeItemWritten.hpp +++ b/catalogue/TapeItemWritten.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/TapeItemWrittenPointer.hpp b/catalogue/TapeItemWrittenPointer.hpp index ee30fa0d6f3182787d94648d37f87c24569822bd..3f996fa6cd3dbe326fd74f4800cc7521ca1f2dea 100644 --- a/catalogue/TapeItemWrittenPointer.hpp +++ b/catalogue/TapeItemWrittenPointer.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/TapeItemWrittenPointerTest.cpp b/catalogue/TapeItemWrittenPointerTest.cpp index 84b4f9b2357f5eeb37f66328e31d26ce2aa83d4e..ee79a0953aefa747e0a4aad04a091b3a98afcddf 100644 --- a/catalogue/TapeItemWrittenPointerTest.cpp +++ b/catalogue/TapeItemWrittenPointerTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/TapeFileWritten.hpp" diff --git a/catalogue/TapePool.cpp b/catalogue/TapePool.cpp index 70cafc42ab3b5d54edce60ae7c13840c643d62db..0a65ca72e0eeda6fcc642e838f52e8e9d22c4cef 100644 --- a/catalogue/TapePool.cpp +++ b/catalogue/TapePool.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/TapePool.hpp" diff --git a/catalogue/TapePool.hpp b/catalogue/TapePool.hpp index f111fe20e09a6325a193bc0a04224e922e359c7c..c147f68ef6be675af22e1af7ade99768696caf9c 100644 --- a/catalogue/TapePool.hpp +++ b/catalogue/TapePool.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/TapeSearchCriteria.hpp b/catalogue/TapeSearchCriteria.hpp index cd04d0165967ff70af3614067e4ed206f2391eeb..4785c9b0192d32fd03b2bb56bdd1dd7262519052 100644 --- a/catalogue/TapeSearchCriteria.hpp +++ b/catalogue/TapeSearchCriteria.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/TimeBasedCache.hpp b/catalogue/TimeBasedCache.hpp index d10119134dc725f1144a49881ce004491687407a..47c85e3db3e21a0c233b0b430d2da76d27b448e6 100644 --- a/catalogue/TimeBasedCache.hpp +++ b/catalogue/TimeBasedCache.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/VerifySchemaCmd.cpp b/catalogue/VerifySchemaCmd.cpp index fcb3e43f2e130e4b2d82d2aff44a60326ce1cf66..baf9dc264524662c9058dbf4ad908320bf68c604 100644 --- a/catalogue/VerifySchemaCmd.cpp +++ b/catalogue/VerifySchemaCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/VerifySchemaCmd.hpp" diff --git a/catalogue/VerifySchemaCmd.hpp b/catalogue/VerifySchemaCmd.hpp index fc107fd235022b379c290d90dee8cf7e59f729b9..ff6ccdca0302573fe31f5cc13792afed2ac5947c 100644 --- a/catalogue/VerifySchemaCmd.hpp +++ b/catalogue/VerifySchemaCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/VerifySchemaCmdLineArgs.cpp b/catalogue/VerifySchemaCmdLineArgs.cpp index c968f63e1392d56dd0ba804fb11bba3d72cd386f..9b1930805f39e70cdd21b1c99b503ed9df293c60 100644 --- a/catalogue/VerifySchemaCmdLineArgs.cpp +++ b/catalogue/VerifySchemaCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/VerifySchemaCmdLineArgs.hpp" diff --git a/catalogue/VerifySchemaCmdLineArgs.hpp b/catalogue/VerifySchemaCmdLineArgs.hpp index 592fc98c5b278c75d362729e10536f9e537dd401..8815747695429bee6cc0b39f518e33c78162fd13 100644 --- a/catalogue/VerifySchemaCmdLineArgs.hpp +++ b/catalogue/VerifySchemaCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/catalogue/VerifySchemaCmdLineArgsTest.cpp b/catalogue/VerifySchemaCmdLineArgsTest.cpp index e5efb088a9cc83b0cce0b8604adcbadcb3bdb23a..e8cae0577551be45443197abd17d7b3cf319b7d6 100644 --- a/catalogue/VerifySchemaCmdLineArgsTest.cpp +++ b/catalogue/VerifySchemaCmdLineArgsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/catalogue/VerifySchemaCmdMain.cpp b/catalogue/VerifySchemaCmdMain.cpp index 0be00c0daafb5cc1333a96e9e2dd71977bcc3038..9740afe532aea82e11ab2e05adf4ef14b7b666e2 100644 --- a/catalogue/VerifySchemaCmdMain.cpp +++ b/catalogue/VerifySchemaCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/VerifySchemaCmd.hpp" diff --git a/catalogue/common_catalogue_schema.sql b/catalogue/common_catalogue_schema.sql index 62e4ee12cb815e8440b81e458b4cc315802e0f24..536e68dda7fbc9288c04d8da0a37317c14231f39 100644 --- a/catalogue/common_catalogue_schema.sql +++ b/catalogue/common_catalogue_schema.sql @@ -53,7 +53,7 @@ CREATE TABLE STORAGE_CLASS( STORAGE_CLASS_ID UINT64TYPE CONSTRAINT STORAGE_CLASS_SCI_NN NOT NULL, STORAGE_CLASS_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_SCN_NN NOT NULL, NB_COPIES UINT8TYPE CONSTRAINT STORAGE_CLASS_NC_NN NOT NULL, - VIRTUAL_ORGANIZATION_ID UINT64TYPE CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, + VIRTUAL_ORGANIZATION_ID UINT64TYPE CONSTRAINT STORAGE_CLASS_VOI_NN NOT NULL, USER_COMMENT VARCHAR(1000) CONSTRAINT STORAGE_CLASS_UC_NN NOT NULL, CREATION_LOG_USER_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLUN_NN NOT NULL, CREATION_LOG_HOST_NAME VARCHAR(100) CONSTRAINT STORAGE_CLASS_CLHN_NN NOT NULL, @@ -301,7 +301,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME UINT64TYPE CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR(100), DISK_FILE_PATH VARCHAR(2000), - REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME UINT64TYPE CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), diff --git a/catalogue/cta-catalogue-admin-user-create.1cta b/catalogue/cta-catalogue-admin-user-create.1cta index 2c7f93ae7b8d5398f394b0880925e311efeb2e45..45b1fe0f4dcc345d02a8fef12cc85f3001e82a66 100644 --- a/catalogue/cta-catalogue-admin-user-create.1cta +++ b/catalogue/cta-catalogue-admin-user-create.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2016-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-CATALOGUE-ADMIN-USER-CREATE 1CTA "December 2016" CTA CTA .SH NAME cta-catalogue-admin-user-create \- Create a CTA admin user diff --git a/catalogue/cta-catalogue-schema-create.1cta b/catalogue/cta-catalogue-schema-create.1cta index 051c452568f35c6fdca9029513152fb3db98f9fc..4f071691b682574f8cdf18b4b672823200e65417 100644 --- a/catalogue/cta-catalogue-schema-create.1cta +++ b/catalogue/cta-catalogue-schema-create.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2016-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-CATALOGUE-SCHEMA-CREATE 1CTA "August 2016" CTA CTA .SH NAME cta-catalogue-schema-create \- Creates the CTA catalogue schema diff --git a/catalogue/cta-catalogue-schema-drop.1cta b/catalogue/cta-catalogue-schema-drop.1cta index 071c48572da91d1d48f3c626271368db634db657..cd2d3247ee7cbfebc0e71fe170a438ff32a51232 100644 --- a/catalogue/cta-catalogue-schema-drop.1cta +++ b/catalogue/cta-catalogue-schema-drop.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2016-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-CATALOGUE-SCHEMA-DROP 1CTA "December 2016" CTA CTA .SH NAME cta-catalogue-schema-drop \- Drop the schema of the CTA catalogue database diff --git a/catalogue/cta-catalogue-schema-verify.1cta b/catalogue/cta-catalogue-schema-verify.1cta index c8d57aba6ca0fb9b0e210272081f33d4977f03c3..3854c4720667397251825aca0b307e7107e843f2 100644 --- a/catalogue/cta-catalogue-schema-verify.1cta +++ b/catalogue/cta-catalogue-schema-verify.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2019-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-CATALOGUE-SCHEMA-VERIFY 1CTA "June 2019" CTA CTA .SH NAME cta-catalogue-schema-verify \- Verifies the CTA catalogue schema diff --git a/catalogue/cta-catalogue-set-production.1cta b/catalogue/cta-catalogue-set-production.1cta index 6ebfe7d18c9cb2bb9852de2fc6ceb120d04178bf..d4f1327fe142a7698a9eb5d01dc887fffe089abc 100644 --- a/catalogue/cta-catalogue-set-production.1cta +++ b/catalogue/cta-catalogue-set-production.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2016-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-CATALOGUE-SCHEMA-DROP 1CTA "December 2016" CTA CTA .SH NAME cta-catalogue-set-production \- Set the IS_PRODUCTION flag on the CTA catalogue database. This will @@ -21,7 +21,7 @@ prevent any dropping of the schema by the cta-catalogue-schema-drop tool. .BI "cta-catalogue-set-production databaseConnectionFile [options]" .SH DESCRIPTION -\fBcta-catalogue-set-production\fP is a command-line tool that sets the IS_PRODUCTION flag +\fBcta-catalogue-set-production\fP is a command-line tool that sets the IS_PRODUCTION flag on the CTA_CATALOGUE table. .P This command-line tool will abort if the IS_PRODUCTION column is not in the CTA_CATALOGUE table. diff --git a/catalogue/cta-catalogue.conf.example b/catalogue/cta-catalogue.conf.example index 1dd25ce26ac9ed0ef8e0cc2d8e2014388f0b90dd..25f1aa3c17377834469c3c1ab9dcde8b8afc5056 100644 --- a/catalogue/cta-catalogue.conf.example +++ b/catalogue/cta-catalogue.conf.example @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This file should contain one and only one connection string. Blank lines and # comments are ignored. diff --git a/catalogue/cta-database-poll.1cta b/catalogue/cta-database-poll.1cta index c186a5621a7489caf6148db92c57bfb9b9d7c8ce..b70b47dd30ea1b20bfbcf4b385dd93111f222d01 100644 --- a/catalogue/cta-database-poll.1cta +++ b/catalogue/cta-database-poll.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2016-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-DATABASE-POLL 1CTA "December 2016" CTA CTA .SH NAME cta-database-poll \- Polls the specified database every second diff --git a/catalogue/migrations/liquibase/oracle/1.0to1.1.sql b/catalogue/migrations/liquibase/oracle/1.0to1.1.sql index 3369164426d2035a0c2330e012f9d97791452949..da58620a77165708cd4af2969255f25c9b8f947b 100644 --- a/catalogue/migrations/liquibase/oracle/1.0to1.1.sql +++ b/catalogue/migrations/liquibase/oracle/1.0to1.1.sql @@ -60,7 +60,7 @@ ALTER TABLE USAGESTATS RENAME CONSTRAINT PK_USAGESTATS_GID_TS TO USAGESTATS_GID_ --preconditions onFail:HALT onError:HALT --precondition-sql-check expectedResult:"1.0" SELECT CONCAT(CONCAT(CAST(SCHEMA_VERSION_MAJOR as VARCHAR(10)),'.'), CAST(SCHEMA_VERSION_MINOR AS VARCHAR(10))) AS CATALOGUE_VERSION FROM CTA_CATALOGUE; ALTER TABLE ARCHIVE_ROUTE ADD CONSTRAINT ARCHIVE_ROUTE_SCI_TPI_UN UNIQUE(STORAGE_CLASS_ID, TAPE_POOL_ID); ---rollback ALTER TABLE ARCHIVE_ROUTE DROP CONSTRAINT ARCHIVE_ROUTE_SCI_TPI_UN; +--rollback ALTER TABLE ARCHIVE_ROUTE DROP CONSTRAINT ARCHIVE_ROUTE_SCI_TPI_UN; --changeset ccaffy:9 failOnError:true dbms:oracle --preconditions onFail:HALT onError:HALT diff --git a/catalogue/migrations/liquibase/oracle/3.1to3.2.sql b/catalogue/migrations/liquibase/oracle/3.1to3.2.sql index 760f5069adc47734a31933a0fdd71bedd3418381..8033e1020150b5125cf92be5c1f00f85f2c59686 100644 --- a/catalogue/migrations/liquibase/oracle/3.1to3.2.sql +++ b/catalogue/migrations/liquibase/oracle/3.1to3.2.sql @@ -47,7 +47,7 @@ CREATE TABLE FILE_RECYCLE_LOG( RECONCILIATION_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RT_NN NOT NULL, COLLOCATION_HINT VARCHAR2(100), DISK_FILE_PATH VARCHAR2(2000), - REASON_LOG VARCHAR2(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, + REASON_LOG VARCHAR2(1000) CONSTRAINT FILE_RECYCLE_LOG_RL_NN NOT NULL, RECYCLE_LOG_TIME NUMERIC(20, 0) CONSTRAINT FILE_RECYCLE_LOG_RLT_NN NOT NULL, CONSTRAINT FILE_RECYCLE_LOG_PK PRIMARY KEY(FILE_RECYCLE_LOG_ID), CONSTRAINT FILE_RECYCLE_LOG_VID_FK FOREIGN KEY(VID) REFERENCES TAPE(VID), @@ -84,7 +84,7 @@ INSERT INTO FILE_RECYCLE_LOG ( ARCHIVE_FILE_CREATION_TIME, RECONCILIATION_TIME, COLLOCATION_HINT, - REASON_LOG, + REASON_LOG, RECYCLE_LOG_TIME ) SELECT FILE_RECYCLE_LOG_ID_SEQ.NEXTVAL, @@ -142,7 +142,7 @@ INSERT INTO FILE_RECYCLE_LOG ( RECONCILIATION_TIME, COLLOCATION_HINT, DISK_FILE_PATH, - REASON_LOG, + REASON_LOG, RECYCLE_LOG_TIME ) SELECT FILE_RECYCLE_LOG_ID_SEQ.NEXTVAL, @@ -200,7 +200,7 @@ CREATE INDEX TAPE_STATE_IDX ON TAPE(TAPE_STATE); --changeset ccaffy:13 failOnError:true dbms:oracle runAlways:true --preconditions onFail:HALT onError:HALT --precondition-sql-check expectedResult:"1" SELECT COUNT(*) FROM CTA_CATALOGUE WHERE SCHEMA_VERSION_MAJOR = 3 AND (SCHEMA_VERSION_MINOR = 1 OR SCHEMA_VERSION_MINOR = 2); -UPDATE TAPE +UPDATE TAPE SET TAPE_STATE='ACTIVE', STATE_UPDATE_TIME=(cast (systimestamp at time zone 'UTC' as date) - date '1970-01-01') * 86400, STATE_MODIFIED_BY='Migration from CTA 3.1 to 4.0' diff --git a/catalogue/migrations/liquibase/oracle/3.2to4.0.sql b/catalogue/migrations/liquibase/oracle/3.2to4.0.sql index 73a26e5aa03c8630e3d834d5e7c5c0d554b62ae4..17c6daa869891e5f46c8eb3e11fdff6e996a4964 100644 --- a/catalogue/migrations/liquibase/oracle/3.2to4.0.sql +++ b/catalogue/migrations/liquibase/oracle/3.2to4.0.sql @@ -177,4 +177,4 @@ UPDATE CTA_CATALOGUE SET NEXT_SCHEMA_VERSION_MINOR=NULL; --rollback UPDATE CTA_CATALOGUE SET SCHEMA_VERSION_MAJOR=3; --rollback UPDATE CTA_CATALOGUE SET SCHEMA_VERSION_MINOR=2; --rollback UPDATE CTA_CATALOGUE SET NEXT_SCHEMA_VERSION_MAJOR=4; ---rollback UPDATE CTA_CATALOGUE SET NEXT_SCHEMA_VERSION_MINOR=0; \ No newline at end of file +--rollback UPDATE CTA_CATALOGUE SET NEXT_SCHEMA_VERSION_MINOR=0; diff --git a/catalogue/mysql_catalogue_schema_trailer.sql b/catalogue/mysql_catalogue_schema_trailer.sql index de3efc6ffc9f5ed62ba6801445ea95ffdc75a437..a84403905448d54749f91a15e5036e93dc50bc0e 100644 --- a/catalogue/mysql_catalogue_schema_trailer.sql +++ b/catalogue/mysql_catalogue_schema_trailer.sql @@ -1,2 +1,2 @@ -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT - CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); \ No newline at end of file +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT + CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/oracle_catalogue_schema_header.sql b/catalogue/oracle_catalogue_schema_header.sql index c99687194d5de8014b37816a4dd139c462f5ff41..459bbbc68b133777706ebd6ffd80747593ae8b1a 100644 --- a/catalogue/oracle_catalogue_schema_header.sql +++ b/catalogue/oracle_catalogue_schema_header.sql @@ -61,7 +61,7 @@ CREATE GLOBAL TEMPORARY TABLE TEMP_TAPE_FILE_INSERTION_BATCH( LOGICAL_SIZE_IN_BYTES UINT64TYPE , COPY_NB UINT8TYPE , CREATION_TIME UINT64TYPE , - ARCHIVE_FILE_ID UINT64TYPE + ARCHIVE_FILE_ID UINT64TYPE ) ON COMMIT DELETE ROWS; CREATE INDEX TEMP_T_F_I_B_AFI_IDX ON TEMP_TAPE_FILE_INSERTION_BATCH(ARCHIVE_FILE_ID); diff --git a/catalogue/postgres_catalogue_schema_trailer.sql b/catalogue/postgres_catalogue_schema_trailer.sql index 8ed899707a71489a4689bd602a7e63d413782c91..60967da6d4c39c34f0da3c7858c5aa9bc829199a 100644 --- a/catalogue/postgres_catalogue_schema_trailer.sql +++ b/catalogue/postgres_catalogue_schema_trailer.sql @@ -2,5 +2,5 @@ ALTER TABLE ARCHIVE_FILE DROP CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN; ALTER TABLE ARCHIVE_FILE ADD CONSTRAINT ARCHIVE_FILE_DIN_DFI_UN UNIQUE(DISK_INSTANCE_NAME, DISK_FILE_ID) DEFERRABLE INITIALLY IMMEDIATE; -ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT +ALTER TABLE CTA_CATALOGUE ADD CONSTRAINT CATALOGUE_STATUS_CONTENT_CK CHECK((NEXT_SCHEMA_VERSION_MAJOR IS NULL AND NEXT_SCHEMA_VERSION_MINOR IS NULL AND STATUS='PRODUCTION') OR (STATUS='UPGRADING')); diff --git a/catalogue/retryOnLostConnection.hpp b/catalogue/retryOnLostConnection.hpp index 87c68e3650dc723bbc81866a904c270893735a8e..96ddc10bd778cbc6d31b4421a30bf7090383b76d 100644 --- a/catalogue/retryOnLostConnection.hpp +++ b/catalogue/retryOnLostConnection.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/cmake/CTAVersions.cmake b/cmake/CTAVersions.cmake index f7fa642a56f583dca867e39f94c8f5defc1aa0d6..7c1b0dce31564796144c3414145a0455ce8f0d31 100644 --- a/cmake/CTAVersions.cmake +++ b/cmake/CTAVersions.cmake @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # Default CTA Version set(CTA_VERSION 0) set(CTA_RELEASE 1) @@ -50,4 +64,3 @@ message(STATUS "CTA version is ${CTA_VERSION}-${CTA_RELEASE}") # Shared library versioning set(CTA_LIBVERSION ${CTA_SOMAJOR}.${CTA_SOMINOR}.${CTA_SOPATCH}) message(STATUS "CTA shared object version is ${CTA_LIBVERSION} (${CTA_SOVERSION})") - diff --git a/cmake/FindGRPC.cmake b/cmake/FindGRPC.cmake index 14268c2e3c30ed06eb0787aa56dba241e685cac1..f67a416fa00d6d4d5e9bc776de614dc3916e1f9a 100644 --- a/cmake/FindGRPC.cmake +++ b/cmake/FindGRPC.cmake @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # # Locate and configure the gRPC library # diff --git a/cmake/Findbinutils.cmake b/cmake/Findbinutils.cmake index 82e128d00e461fc7c0bb937f2d27c986eba9625a..4b062298134e38c147ee219f49021db424d91552 100644 --- a/cmake/Findbinutils.cmake +++ b/cmake/Findbinutils.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # BINUTILS_FOUND diff --git a/cmake/Findcryptopp.cmake b/cmake/Findcryptopp.cmake index c0b1f3aebb833fafafb6d7d763b5377a4d213fd0..8608e8340d9c6ead7faae8053cb257d099657987 100644 --- a/cmake/Findcryptopp.cmake +++ b/cmake/Findcryptopp.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # CRYPTOPP_FOUND diff --git a/cmake/Findgmock.cmake b/cmake/Findgmock.cmake index 8c1821d2e90729376a7f526148632c6fad3afc02..6c3cd99c12eae6bebac142cfffd6adef1e599b85 100644 --- a/cmake/Findgmock.cmake +++ b/cmake/Findgmock.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # GMOCK_SRC diff --git a/cmake/Findjson-c.cmake b/cmake/Findjson-c.cmake index 74b6b42ba3c5635fd4f72c2144869450c32facbb..38652a7d4e51a842b27fb6e42c52b6b3cbe4504d 100644 --- a/cmake/Findjson-c.cmake +++ b/cmake/Findjson-c.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # JSON-C_FOUND diff --git a/cmake/Findlibattr.cmake b/cmake/Findlibattr.cmake index 1947ffc35970d670128e85c65df0ee288d9fd840..8cd1f6c07d36190ef87ae5055444c052f5b022ba 100644 --- a/cmake/Findlibattr.cmake +++ b/cmake/Findlibattr.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # LIBATTR_FOUND diff --git a/cmake/Findlibcap.cmake b/cmake/Findlibcap.cmake index d4207d5520c8486a43c4c4c0699921abb472725d..ebfbb18ad4dad9cac4832eaf50719ce6461a5623 100644 --- a/cmake/Findlibcap.cmake +++ b/cmake/Findlibcap.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # LIBCAP_FOUND diff --git a/cmake/Findlibrados2.cmake b/cmake/Findlibrados2.cmake index 9920a9e558d3dfbf08d178e1cb8a4616e48daf71..6a34b5ea5356483449f01e7e26bc5e0dfa7e5007 100644 --- a/cmake/Findlibrados2.cmake +++ b/cmake/Findlibrados2.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # LIBRADOS2_FOUND diff --git a/cmake/Findlibuuid.cmake b/cmake/Findlibuuid.cmake index a1b4626f138ec4c8530355ec5fae7ce79d3ee606..a2074cf2ec3e3258c0729426ea5bd2968d358523 100644 --- a/cmake/Findlibuuid.cmake +++ b/cmake/Findlibuuid.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # LIBUUID_FOUND diff --git a/cmake/Findmysql.cmake b/cmake/Findmysql.cmake index ae7784c554d99da3232ebf8c1f5b00698e94f266..31a0e322fbd1d8c46da783d35d82cf17d45e8219 100644 --- a/cmake/Findmysql.cmake +++ b/cmake/Findmysql.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # MYSQL_FOUND diff --git a/cmake/Findopenssl.cmake b/cmake/Findopenssl.cmake index db1adbe3b38cb831ba67d0ca44def140412a375b..cb4580e9a300c12bad187e92d22a55294636f5bf 100644 --- a/cmake/Findopenssl.cmake +++ b/cmake/Findopenssl.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # OPENSSL_FOUND diff --git a/cmake/Findoracle-instantclient.cmake b/cmake/Findoracle-instantclient.cmake index 2d39cf3953b006d795159a0df7982767f4346430..d79349f2730e79982ddaf4b87f4e8b505228deb2 100644 --- a/cmake/Findoracle-instantclient.cmake +++ b/cmake/Findoracle-instantclient.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # ORACLE-INSTANTCLIENT_FOUND diff --git a/cmake/Findpostgres.cmake b/cmake/Findpostgres.cmake index a6a5a09914f334d3092c620339d1ad98bc25d201..362ae3c7dac248f87f2324772aafb886127e77ec 100644 --- a/cmake/Findpostgres.cmake +++ b/cmake/Findpostgres.cmake @@ -1,19 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2018 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2018-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # POSTGRES_FOUND # POSTGRES_INCLUDE_DIRS diff --git a/cmake/Findpython.cmake b/cmake/Findpython.cmake index 690843ed8d710ea625349f1027aba397bf2f1f88..4d43e7a2b25040b5d0af30f7cb0e367261a6ae97 100644 --- a/cmake/Findpython.cmake +++ b/cmake/Findpython.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # PYTHON_FOUND diff --git a/cmake/Findsqlite.cmake b/cmake/Findsqlite.cmake index d4352681a58ac1cdcf58ac01b160ce51535a600c..48a9f005135d9b929e0ca0a0f124972e8b988a14 100644 --- a/cmake/Findsqlite.cmake +++ b/cmake/Findsqlite.cmake @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This module will set the following variables: # SQLITE_FOUND diff --git a/cmake/Findxrootd.cmake b/cmake/Findxrootd.cmake index 7d5855a9651ee88a49f397d3dce0f72440cc2609..0787ba5b030d9429cf4596415013a4b2c8144f5c 100644 --- a/cmake/Findxrootd.cmake +++ b/cmake/Findxrootd.cmake @@ -40,7 +40,7 @@ message (STATUS "XROOTD_XRDSSI_LIB = ${XROOTD_XRDSSI_LIB}") message (STATUS "XROOTD_XRDUTILS_LIB = ${XROOTD_XRDUTILS_LIB}") include (FindPackageHandleStandardArgs) -find_package_handle_standard_args (xrootd DEFAULT_MSG +find_package_handle_standard_args (xrootd DEFAULT_MSG XROOTD_INCLUDE_DIR XROOTD_PRIVATE_INCLUDE_DIR XROOTD_XRDCL_LIB diff --git a/cmake/Findxrootdclient.cmake b/cmake/Findxrootdclient.cmake index e0828423087a513297f50679c02c9852f9146ab1..c7af63a557ae9e0298cb5cd6d5e0a9581243d838 100644 --- a/cmake/Findxrootdclient.cmake +++ b/cmake/Findxrootdclient.cmake @@ -22,6 +22,6 @@ message (STATUS "XROOTD_INCLUDE_DIR = ${XROOTD_INCLUDE_DIR}") message (STATUS "XROOTD_XRDCL_LIB = ${XROOTD_XRDCL_LIB}") include (FindPackageHandleStandardArgs) -find_package_handle_standard_args (xrootdclient DEFAULT_MSG +find_package_handle_standard_args (xrootdclient DEFAULT_MSG XROOTD_INCLUDE_DIR XROOTD_XRDCL_LIB) diff --git a/cmdline/CMakeLists.txt b/cmdline/CMakeLists.txt index 19fb4a91c6f7a6a65a23f073dcc9a418e41a3ea3..55be6b280e41bb195153aff820de891a5d29c876 100644 --- a/cmdline/CMakeLists.txt +++ b/cmdline/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) @@ -67,4 +66,3 @@ install(FILES cta-admin.1cta DESTINATION usr/share/man/man1) install(TARGETS cta-send-event DESTINATION usr/bin) install(FILES cta-send-closew.sh DESTINATION usr/bin) install(FILES cta-cli.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta) - diff --git a/cmdline/CtaAdminCmd.cpp b/cmdline/CtaAdminCmd.cpp index 5747f415f2628f5c73d23442526c04083e60fda6..14b62c04b91dbf07bd18b0618787f3fce37e6a61 100644 --- a/cmdline/CtaAdminCmd.cpp +++ b/cmdline/CtaAdminCmd.cpp @@ -1,8 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Command-line tool for CTA Admin commands - * @description CTA Admin command using Google Protocol Buffers and XRootD SSI transport - * @copyright Copyright 2017 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/cmdline/CtaAdminCmd.hpp b/cmdline/CtaAdminCmd.hpp index 17a2ff040ac4ae6abbe02d6b8813313a850dccc9..525e08774b94c7c4a7b385cb83883af30ebee0fe 100644 --- a/cmdline/CtaAdminCmd.hpp +++ b/cmdline/CtaAdminCmd.hpp @@ -1,8 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Command-line tool for CTA Admin commands - * @description CTA Admin command using Google Protocol Buffers and XRootD SSI transport - * @copyright Copyright 2017 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/cmdline/CtaAdminCmdParse.cpp b/cmdline/CtaAdminCmdParse.cpp index 0b9f05a08f2b52054f015bbf51e9ba4f29d5f05b..8d1b444df5157437d6bac4c1a54e099ee6ddff4e 100644 --- a/cmdline/CtaAdminCmdParse.cpp +++ b/cmdline/CtaAdminCmdParse.cpp @@ -1,8 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Definitions for parsing the options of the CTA Admin command-line tool - * @description CTA Admin command using Google Protocol Buffers and XRootD SSI transport - * @copyright Copyright 2017 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/cmdline/CtaAdminCmdParse.hpp b/cmdline/CtaAdminCmdParse.hpp index 2c6a73dc053e51e4249db7715a667152db0a8352..ce853d1dae6ada5325caa415fe2282a22db0e9be 100644 --- a/cmdline/CtaAdminCmdParse.hpp +++ b/cmdline/CtaAdminCmdParse.hpp @@ -1,8 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Definitions for parsing the options of the CTA Admin command-line tool - * @description CTA Admin command using Google Protocol Buffers and XRootD SSI transport - * @copyright Copyright 2020 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/cmdline/CtaAdminTextFormatter.cpp b/cmdline/CtaAdminTextFormatter.cpp index 33bee790315ebb5c5dfdb9f9f3b4cad7e8a97d90..126be7e7a0bca6cb470c9fe174701e10ef8ec3ca 100644 --- a/cmdline/CtaAdminTextFormatter.cpp +++ b/cmdline/CtaAdminTextFormatter.cpp @@ -1,8 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Text formatter for CTA Admin command tool - * @description CTA Admin command using Google Protocol Buffers and XRootD SSI transport - * @copyright Copyright 2017 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/cmdline/CtaAdminTextFormatter.hpp b/cmdline/CtaAdminTextFormatter.hpp index 653769077b6f8f86aea3e410eda2526d828962fd..0d11f2538938acd3f211fee90255073f0dc049de 100644 --- a/cmdline/CtaAdminTextFormatter.hpp +++ b/cmdline/CtaAdminTextFormatter.hpp @@ -1,8 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Text formatter for CTA Admin command tool - * @description CTA Admin command using Google Protocol Buffers and XRootD SSI transport - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/cmdline/CtaSendEvent.cpp b/cmdline/CtaSendEvent.cpp index 3d06a4b1401c725d2f4a5b8efa335d38895e2c6e..3c0e52da2cf694eb13a11a738c280c34b8ffb8b6 100644 --- a/cmdline/CtaSendEvent.cpp +++ b/cmdline/CtaSendEvent.cpp @@ -1,19 +1,18 @@ -/*! - * @project The CERN Tape Archive (CTA) - * @brief Command-line tool to inject events into the CTA Frontend - * @copyright Copyright 2020 CERN - * @license This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdexcept> diff --git a/cmdline/CtaVerifyFile.cpp b/cmdline/CtaVerifyFile.cpp index 65aee1d99cf0dd9295944cc43a5a27ee0789d5d5..6d888fa4366f172eedb352412bdd06fe166806c9 100644 --- a/cmdline/CtaVerifyFile.cpp +++ b/cmdline/CtaVerifyFile.cpp @@ -1,19 +1,18 @@ -/*! - * @project The CERN Tape Archive (CTA) - * @brief Command-line tool to inject a special verify-only PREPARE request - * @copyright Copyright 2021 CERN - * @license This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdexcept> diff --git a/cmdline/EosCtaStub.cpp b/cmdline/EosCtaStub.cpp index 253286d56c9a9789185ea01714a2dfe258bdc683..f1ec5bd8a1ce68490c188e6e490276d5cc829701 100644 --- a/cmdline/EosCtaStub.cpp +++ b/cmdline/EosCtaStub.cpp @@ -1,8 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Command-line tool to test EOS-CTA interface - * @description Proof-of-concept stub to combine Google Protocol Buffers and XRootD SSI transport - * @copyright Copyright 2017 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/cmdline/cta-admin.1cta b/cmdline/cta-admin.1cta index 2395c8ad4d5aa06670a410e138e23e9f6d621b80..a4533e017f4aca759ecc2dcccbe2cf21e5a5eb16 100644 --- a/cmdline/cta-admin.1cta +++ b/cmdline/cta-admin.1cta @@ -1,3 +1,18 @@ +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2020-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .\" Manpage for cta-admin .TH cta-admin 1cta "January 2020" "1.0" "The CERN Tape Archive (CTA)" .SH NAME @@ -168,7 +183,7 @@ When using the --json option, 64-bit integer fields are returned as strings. Thi Google Protocol Buffers library, to cope with the fact that JavaScript parsers do not have the ability to handle integers with more than 32-bit precision. .SH AUTHOR -Michael Davis (\fImichael.davis@cern.ch\fR) +\fBCTA\fP Team .SH COPYRIGHT This program is part of the CERN Tape Archive (CTA). Copyright © 2020 CERN. .P diff --git a/cmdline/cta-send-closew.sh b/cmdline/cta-send-closew.sh index a1347f3a87053d040a6e0f595da344191b8e173e..0085ac376f7e65a345c09d48cf7042b9ffbe7f7b 100755 --- a/cmdline/cta-send-closew.sh +++ b/cmdline/cta-send-closew.sh @@ -1,5 +1,20 @@ #!/bin/sh + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # Send CLOSEW events to the CTA Frontend to retry failed archive requests CTA_SEND_EVENT=/usr/bin/cta-send-event diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 2e83b44d78a3b60f6bd9ce8fbf6f9d08727f32a6..1dfbcf33111777aadb6f5e05c4c58c6c2366aa6c 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) @@ -85,7 +84,7 @@ set (COMMON_LIB_SRC_FILES exception/Backtrace.cpp exception/BadAlloc.cpp exception/CommandLineNotParsed.cpp - exception/DismountFailed.cpp + exception/DismountFailed.cpp exception/ForceDismountFailed.cpp exception/Errnum.cpp exception/Exception.cpp @@ -152,7 +151,7 @@ set (COMMON_LIB_SRC_FILES CreationLog.cpp Configuration.cpp ConfigurationFile.cpp - SourcedParameter.cpp + SourcedParameter.cpp Timer.cpp optional.cpp) @@ -170,7 +169,7 @@ target_link_libraries (ctacommon z cap XrdCl - json-c + json-c ) set (COMMON_UNIT_TESTS_LIB_SRC_FILES diff --git a/common/CRC.cpp b/common/CRC.cpp index 2736e5d669fe72b5b4dea9b399057e452b852e63..b7b688ecbc3784bc42015ae242a2d84a967b26d3 100644 --- a/common/CRC.cpp +++ b/common/CRC.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/CRC.hpp" diff --git a/common/CRC.hpp b/common/CRC.hpp index 8655195d1527e71c2104a56fd700ccf613e71dcd..af7ecde85b03aa2df5e82377775d07c22de59b5f 100644 --- a/common/CRC.hpp +++ b/common/CRC.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/CRCTest.cpp b/common/CRCTest.cpp index 76ad5453e47c04bef9f675e735c5b35aa440a11b..f798b6acf5eda8a8f2f9b585789f5689cb8d2db3 100644 --- a/common/CRCTest.cpp +++ b/common/CRCTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/CRC.hpp" diff --git a/common/Configuration.cpp b/common/Configuration.cpp index 0f0eb687803930d20f588d8a45f1ef558a41ccf9..c7213620d75f25b669eee3099db2e02c2c0328c5 100644 --- a/common/Configuration.cpp +++ b/common/Configuration.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Configuration.hpp" diff --git a/common/Configuration.hpp b/common/Configuration.hpp index efffb5a240d1fed9760753a57cf6bf2147934e1c..d9f77a6a26af7458ff78dbe7c0ffbc4e0a708d83 100644 --- a/common/Configuration.hpp +++ b/common/Configuration.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/ConfigurationFile.cpp b/common/ConfigurationFile.cpp index 2c3dcea388ac16572104a83eb5096dbbea69d23a..90595806067ddf9e5d99f25296bc7541bbf539d4 100644 --- a/common/ConfigurationFile.cpp +++ b/common/ConfigurationFile.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ConfigurationFile.hpp" diff --git a/common/ConfigurationFile.hpp b/common/ConfigurationFile.hpp index 0e5b560dfe87b9e48a039452203fbcf1ae087bbb..c09680692a043977d2f25362a69d54d7fafdfd2f 100644 --- a/common/ConfigurationFile.hpp +++ b/common/ConfigurationFile.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/ConfigurationFileTests.cpp b/common/ConfigurationFileTests.cpp index bc7a1c56b1405f668438adcf77902589334e87ab..e65f101d03ea0d19dbcf3e5fffa832de7959173b 100644 --- a/common/ConfigurationFileTests.cpp +++ b/common/ConfigurationFileTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/common/Constants.hpp b/common/Constants.hpp index 4e3382a21efe1dd7adfe20225808677bab493fd8..9b61dc06e663f7ef7fa3e8a71b1aa50390b6a4ce 100644 --- a/common/Constants.hpp +++ b/common/Constants.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "version.h" #pragma once diff --git a/common/CreationLog.cpp b/common/CreationLog.cpp index 823e1788835a341990b0deb4376ac4d9032fc024..3ff2f68100981500b5b638a80f41bce31869d324 100644 --- a/common/CreationLog.cpp +++ b/common/CreationLog.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <limits> diff --git a/common/CreationLog.hpp b/common/CreationLog.hpp index f2ce28999e9ca7d677d6257c14f16113bb22d830..b03cce05f86a526f9268634e3a264da03623dbec 100644 --- a/common/CreationLog.hpp +++ b/common/CreationLog.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/DriveState.hpp b/common/DriveState.hpp index 2f8757d5dc0e86ab4c4206d35dafb2d341137ff3..9dd9cd94a79f28fa35103fb2e38cc30616caf7c4 100644 --- a/common/DriveState.hpp +++ b/common/DriveState.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/MountControl.hpp b/common/MountControl.hpp index 23225f74ab8f952027dde2a02d68f1c65335f7c9..20ff62e0e30bf9040291e62425d24caf967718fa 100644 --- a/common/MountControl.hpp +++ b/common/MountControl.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/SmartArrayPtr.hpp b/common/SmartArrayPtr.hpp index 2f1ddc2c612d21b36a5c43e949d970f63ad09c2a..0a3be974963686f0faa8e298ede5a669312df720 100644 --- a/common/SmartArrayPtr.hpp +++ b/common/SmartArrayPtr.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/SmartArrayPtrTest.cpp b/common/SmartArrayPtrTest.cpp index c8c6fdd7922e36c42c291d610d108e5d77a4eb32..8788329abe8bd8278e7b6af2abd09249ff87d0dd 100644 --- a/common/SmartArrayPtrTest.cpp +++ b/common/SmartArrayPtrTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/SmartArrayPtr.hpp" diff --git a/common/SmartFILEPtr.cpp b/common/SmartFILEPtr.cpp index 3cfe846175dfb25a710c22ea8c0ce52ec7e60bed..e1c77c2c4ba6b5495beda7c2307318a4f02d6194 100644 --- a/common/SmartFILEPtr.cpp +++ b/common/SmartFILEPtr.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/SmartFILEPtr.hpp" diff --git a/common/SmartFILEPtr.hpp b/common/SmartFILEPtr.hpp index 81f151cf63709807cbe614d0c07048f115e30344..dd89a03ea846092fdf95b5f3da1bd14095c29b29 100644 --- a/common/SmartFILEPtr.hpp +++ b/common/SmartFILEPtr.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/SmartFd.cpp b/common/SmartFd.cpp index 09c1dda7470bfa53361c10354268e39a513dfd46..97b8f0dbc1d8d80752c5060aae538b0662f7d9d2 100644 --- a/common/SmartFd.cpp +++ b/common/SmartFd.cpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/SmartFd.hpp" diff --git a/common/SmartFd.hpp b/common/SmartFd.hpp index e00d1d104b342e11bbcff6b3048d9b20a8ba7981..1f25c50745e0b322a4140125fe7528bd56ab2fb2 100644 --- a/common/SmartFd.hpp +++ b/common/SmartFd.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/SmartFdTest.cpp b/common/SmartFdTest.cpp index 4dc319473337ffcfc0087490ca95a35adfe288a0..aa9e4a8bb0ba0a7e459b6d2e71361aca908e4080 100644 --- a/common/SmartFdTest.cpp +++ b/common/SmartFdTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/SmartFd.hpp" diff --git a/common/SourcedParameter.cpp b/common/SourcedParameter.cpp index 0af26b9276cffd1d421b4aebba7b356cf5451c5c..1ef3bd04fb2679840db2860421206cb4b6738323 100644 --- a/common/SourcedParameter.cpp +++ b/common/SourcedParameter.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SourcedParameter.hpp" diff --git a/common/SourcedParameter.hpp b/common/SourcedParameter.hpp index f729c54004db3d475c91ad27f486a1b2f6abe133..43ef5cb0fdb60c342b0094497ac88b0b0fd90176 100644 --- a/common/SourcedParameter.hpp +++ b/common/SourcedParameter.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/SourcedParameterTests.cpp b/common/SourcedParameterTests.cpp index be36ce78c1f0842f6bfe349f394f1682913f7356..f1b95001809d086bc5af1a9867614816772f0ce7 100644 --- a/common/SourcedParameterTests.cpp +++ b/common/SourcedParameterTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/common/Timer.cpp b/common/Timer.cpp index cfe9eb9d7125198d7b9d25fb10e5d4c8e41aabc5..e801f87cf48017cc3f57f4b20883136ffb814131 100644 --- a/common/Timer.cpp +++ b/common/Timer.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Timer.hpp" diff --git a/common/Timer.hpp b/common/Timer.hpp index 8645d6a8fcff6437216ac4f956d26f498bf540e1..2326352b8fa28d6fbca964192c1fdc1412c04fb4 100644 --- a/common/Timer.hpp +++ b/common/Timer.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/checksum/ChecksumBlob.cpp b/common/checksum/ChecksumBlob.cpp index 68583c6dc3628c7dcdcbf1b7b5161ebc75448532..87a92eb56a929597fb80de05bcfffaf1ef547aee 100644 --- a/common/checksum/ChecksumBlob.cpp +++ b/common/checksum/ChecksumBlob.cpp @@ -1,19 +1,18 @@ -/*! - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <iomanip> diff --git a/common/checksum/ChecksumBlob.hpp b/common/checksum/ChecksumBlob.hpp index adc404779f2dec9b96731ba2c38e5c461d90c0da..4d84b7e1f111546272b2ed5b42430b26bef0e827 100644 --- a/common/checksum/ChecksumBlob.hpp +++ b/common/checksum/ChecksumBlob.hpp @@ -1,19 +1,18 @@ -/*! - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/checksum/ChecksumBlobSerDeser.hpp b/common/checksum/ChecksumBlobSerDeser.hpp index a3af1be40581328e0d85e389faf926dd669e6b8b..c50c62e8703b5abd9807f4436504b946dc102570 100644 --- a/common/checksum/ChecksumBlobSerDeser.hpp +++ b/common/checksum/ChecksumBlobSerDeser.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Convert checksum::ChecksumBlob to/from common::ChecksumBlob (EOS-CTA protobuf) - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/common/checksum/ChecksumBlobTest.cpp b/common/checksum/ChecksumBlobTest.cpp index 1a9bd3768b2fbd9e8f7a25e6f0d567229d127193..fdcc0565c00ef238d36fca8564de7abd87e470aa 100644 --- a/common/checksum/ChecksumBlobTest.cpp +++ b/common/checksum/ChecksumBlobTest.cpp @@ -1,19 +1,18 @@ -/*! - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/checksum/ChecksumBlob.hpp" diff --git a/common/dataStructures/ActivitiesFairShareWeights.cpp b/common/dataStructures/ActivitiesFairShareWeights.cpp index 765fceff15e9c5dbd301464e30dbefd24231845b..c101e0b661512db0e7eac39a3cae371f3c9feb3d 100644 --- a/common/dataStructures/ActivitiesFairShareWeights.cpp +++ b/common/dataStructures/ActivitiesFairShareWeights.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ActivitiesFairShareWeights.hpp" diff --git a/common/dataStructures/ActivitiesFairShareWeights.hpp b/common/dataStructures/ActivitiesFairShareWeights.hpp index 737f534ed212b885950c3ebb4e6d1c96eed12929..9b2c1bc63019628141d73065235ab1c10c532417 100644 --- a/common/dataStructures/ActivitiesFairShareWeights.hpp +++ b/common/dataStructures/ActivitiesFairShareWeights.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/AdminUser.cpp b/common/dataStructures/AdminUser.cpp index 829bf04940726ba2911b7028e27e87b2ffe811ab..62e2dcfa81af6618df473c183236d97ec11f0fe7 100644 --- a/common/dataStructures/AdminUser.cpp +++ b/common/dataStructures/AdminUser.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/AdminUser.hpp" diff --git a/common/dataStructures/AdminUser.hpp b/common/dataStructures/AdminUser.hpp index 9525fae8cf864df74a70d9bd8e9f3cf669277b7b..af045d6c3888887b0c7442de9c0a3423ef098c5e 100644 --- a/common/dataStructures/AdminUser.hpp +++ b/common/dataStructures/AdminUser.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ArchiveFile.cpp b/common/dataStructures/ArchiveFile.cpp index f76818bd51a8d5e8e471b9fd3a448b884bde8cd0..14f724f9c1892bfc656e9a5cec7a70a8fcde6783 100644 --- a/common/dataStructures/ArchiveFile.cpp +++ b/common/dataStructures/ArchiveFile.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ArchiveFile.hpp" diff --git a/common/dataStructures/ArchiveFile.hpp b/common/dataStructures/ArchiveFile.hpp index 4f9220e9771facdf7c2646b0ccf4dda8228764f4..5f31c1ac6dba75630e7ab0bf7bb3cfeec51714c4 100644 --- a/common/dataStructures/ArchiveFile.hpp +++ b/common/dataStructures/ArchiveFile.hpp @@ -1,19 +1,18 @@ -/*! - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ArchiveFileQueueCriteria.cpp b/common/dataStructures/ArchiveFileQueueCriteria.cpp index cd92268b44c36d251579b345ad9e615d315860a2..34ca07567618bd5394ab3cca266bb1f0a81288fc 100644 --- a/common/dataStructures/ArchiveFileQueueCriteria.cpp +++ b/common/dataStructures/ArchiveFileQueueCriteria.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ArchiveFileQueueCriteria.hpp" diff --git a/common/dataStructures/ArchiveFileQueueCriteria.hpp b/common/dataStructures/ArchiveFileQueueCriteria.hpp index 1ee8010719fed1612a7a42309811ab2b0aff889f..714090d9e1cb021fb5179c67dbda14a86cbd594a 100644 --- a/common/dataStructures/ArchiveFileQueueCriteria.hpp +++ b/common/dataStructures/ArchiveFileQueueCriteria.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ArchiveFileQueueCriteriaAndFileId.cpp b/common/dataStructures/ArchiveFileQueueCriteriaAndFileId.cpp index c02082dae8f92e6b449553f17af619ebbee3cbfa..abc2fde43c6d32912283ff16e754965d1cad92bc 100644 --- a/common/dataStructures/ArchiveFileQueueCriteriaAndFileId.cpp +++ b/common/dataStructures/ArchiveFileQueueCriteriaAndFileId.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ArchiveFileQueueCriteriaAndFileId.hpp" diff --git a/common/dataStructures/ArchiveFileQueueCriteriaAndFileId.hpp b/common/dataStructures/ArchiveFileQueueCriteriaAndFileId.hpp index 8146c041c8b1d3d3a79e2f7b026744d842be9cc7..6ab993dd60c4700ad2f9bd58bcf60dc314b3ee95 100644 --- a/common/dataStructures/ArchiveFileQueueCriteriaAndFileId.hpp +++ b/common/dataStructures/ArchiveFileQueueCriteriaAndFileId.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ArchiveFileSummary.cpp b/common/dataStructures/ArchiveFileSummary.cpp index cc9ec8b86a7c83c536056b79558193d8702dfc71..ef43ed6c930d2d654d5c45f22a6e184b51db9e29 100644 --- a/common/dataStructures/ArchiveFileSummary.cpp +++ b/common/dataStructures/ArchiveFileSummary.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ArchiveFileSummary.hpp" diff --git a/common/dataStructures/ArchiveFileSummary.hpp b/common/dataStructures/ArchiveFileSummary.hpp index 99ce39c511b0eaa7f0b85dadacf7a7e694851177..7123036e37315340f09db11753e3a0015d427c70 100644 --- a/common/dataStructures/ArchiveFileSummary.hpp +++ b/common/dataStructures/ArchiveFileSummary.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ArchiveFileTest.cpp b/common/dataStructures/ArchiveFileTest.cpp index 1f2296882fe9951d0ad7c8c9e3f1d1d6bd37065f..83806df4d256cf7d8bef1d1aa0a3249cab9f4183 100644 --- a/common/dataStructures/ArchiveFileTest.cpp +++ b/common/dataStructures/ArchiveFileTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ArchiveFile.hpp" diff --git a/common/dataStructures/ArchiveJob.cpp b/common/dataStructures/ArchiveJob.cpp index 36ee12b5684998aad53219be92f1680f6b4cb3dd..7c244c5f7f216ee5d3eb712129ea47b7e48c6ba5 100644 --- a/common/dataStructures/ArchiveJob.cpp +++ b/common/dataStructures/ArchiveJob.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ArchiveJob.hpp" diff --git a/common/dataStructures/ArchiveJob.hpp b/common/dataStructures/ArchiveJob.hpp index 0bd7f945ca9c396153d6d7dfbee511db6370d83f..dd0a056c85fae398ba265a225fcd158bcaac16e4 100644 --- a/common/dataStructures/ArchiveJob.hpp +++ b/common/dataStructures/ArchiveJob.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ArchiveRequest.cpp b/common/dataStructures/ArchiveRequest.cpp index 26fdd970d671e74b8546d55e31aae7e1699c92ab..2e228f0b8f694f08d362ea1c606a15abe5f0c1ec 100644 --- a/common/dataStructures/ArchiveRequest.cpp +++ b/common/dataStructures/ArchiveRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ArchiveRequest.hpp" diff --git a/common/dataStructures/ArchiveRequest.hpp b/common/dataStructures/ArchiveRequest.hpp index baca15394e0ed1f9b2208214e6a611190177b8c0..4f0768a44783d9e195df0cc5c04bc2ed251cc4ca 100644 --- a/common/dataStructures/ArchiveRequest.hpp +++ b/common/dataStructures/ArchiveRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ArchiveRoute.cpp b/common/dataStructures/ArchiveRoute.cpp index 09836ddafe5b16c9ad6ef6bc6ec065ef99996839..07ed32e8d3b6a68226fe498ab8d51a14572dc210 100644 --- a/common/dataStructures/ArchiveRoute.cpp +++ b/common/dataStructures/ArchiveRoute.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ArchiveRoute.hpp" diff --git a/common/dataStructures/ArchiveRoute.hpp b/common/dataStructures/ArchiveRoute.hpp index 2bd6868dd6c2ea154f8c7b2359632b37bdc0a301..3a815b0cda33d41cb666a7eb7b34e3a90d734f11 100644 --- a/common/dataStructures/ArchiveRoute.hpp +++ b/common/dataStructures/ArchiveRoute.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/CancelRetrieveRequest.cpp b/common/dataStructures/CancelRetrieveRequest.cpp index 055b00f78722c8c412bb16798da069f99e76820a..e4a94e44301c6997a46a525dbc6448f34a10497d 100644 --- a/common/dataStructures/CancelRetrieveRequest.cpp +++ b/common/dataStructures/CancelRetrieveRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/CancelRetrieveRequest.hpp" diff --git a/common/dataStructures/CancelRetrieveRequest.hpp b/common/dataStructures/CancelRetrieveRequest.hpp index 0980d1d116713560929a220d0ca412b81b115345..1b302691bc6458f8a7aed39707023d5ba96f7ae6 100644 --- a/common/dataStructures/CancelRetrieveRequest.hpp +++ b/common/dataStructures/CancelRetrieveRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/DeleteArchiveRequest.cpp b/common/dataStructures/DeleteArchiveRequest.cpp index ccfae394f713630e9a736caeb21014697202d96f..98999088fb2afc23b8bfa2db6e41bf9abe0c3e0b 100644 --- a/common/dataStructures/DeleteArchiveRequest.cpp +++ b/common/dataStructures/DeleteArchiveRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/DeleteArchiveRequest.hpp" diff --git a/common/dataStructures/DeleteArchiveRequest.hpp b/common/dataStructures/DeleteArchiveRequest.hpp index be8a2a9e11be8d7b2efb2ace529c68f5f36b0675..4abc915a3538b1d4eda4fd15c92e9cd441a63f66 100644 --- a/common/dataStructures/DeleteArchiveRequest.hpp +++ b/common/dataStructures/DeleteArchiveRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/DesiredDriveState.cpp b/common/dataStructures/DesiredDriveState.cpp index ab93e8fb87cb32ff208d41914ed4479cbb9a076a..2cc46dedb0f1c4837351c62b78ec40b0d081b516 100644 --- a/common/dataStructures/DesiredDriveState.cpp +++ b/common/dataStructures/DesiredDriveState.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DesiredDriveState.hpp" diff --git a/common/dataStructures/DesiredDriveState.hpp b/common/dataStructures/DesiredDriveState.hpp index bfd9b411d8f20dfa9edd3e15e4ffca9de26bde5a..ef18ede81d057c21ca37a62de56e7fb4ceef1df5 100644 --- a/common/dataStructures/DesiredDriveState.hpp +++ b/common/dataStructures/DesiredDriveState.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/DiskFileInfo.cpp b/common/dataStructures/DiskFileInfo.cpp index c9454e5b48fca67b6da1df1290b6ea829afc07cc..ef5df4e45bf246047c6ce08a8cc1cbdd5091dddb 100644 --- a/common/dataStructures/DiskFileInfo.cpp +++ b/common/dataStructures/DiskFileInfo.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/DiskFileInfo.hpp" diff --git a/common/dataStructures/DiskFileInfo.hpp b/common/dataStructures/DiskFileInfo.hpp index 3266932ad3eed22aa379de5b66acbc6e173a088d..e4435f9042aea98aadf1cf09af2395fc84c6bf4c 100644 --- a/common/dataStructures/DiskFileInfo.hpp +++ b/common/dataStructures/DiskFileInfo.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/DriveInfo.hpp b/common/dataStructures/DriveInfo.hpp index b96d28b15d5a37cccaae07bca2ea2ce7a8c38c79..7bfcf911225ca0db5cab8f500c1ba6ee08b52046 100644 --- a/common/dataStructures/DriveInfo.hpp +++ b/common/dataStructures/DriveInfo.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/DriveNextState.hpp b/common/dataStructures/DriveNextState.hpp index 7f2873397ca133bfcad43597fa8e200e8e4a35be..9f00fc2900889d4b40eceaf2edb913318ad13916 100644 --- a/common/dataStructures/DriveNextState.hpp +++ b/common/dataStructures/DriveNextState.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/DriveState.cpp b/common/dataStructures/DriveState.cpp index 3285b1abe12650d679d98a81a4ac389bacd3894a..e38524b122e23beabad6d6fd081205ff012c85b4 100644 --- a/common/dataStructures/DriveState.cpp +++ b/common/dataStructures/DriveState.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/DriveState.hpp" diff --git a/common/dataStructures/DriveState.hpp b/common/dataStructures/DriveState.hpp index 085283770854228421911dffe526f0a16cee2b6a..09b793a3d6f4306f5f82d1655f994a75087b81e9 100644 --- a/common/dataStructures/DriveState.hpp +++ b/common/dataStructures/DriveState.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/DriveStatus.cpp b/common/dataStructures/DriveStatus.cpp index 6d0eac20e65b051b8b0a022a230de2bc827fbf6d..c6abbe44be77638e37784706595a06f27ac8fcd7 100644 --- a/common/dataStructures/DriveStatus.cpp +++ b/common/dataStructures/DriveStatus.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/DriveStatus.hpp" diff --git a/common/dataStructures/DriveStatus.hpp b/common/dataStructures/DriveStatus.hpp index d77af306d07fce9ea5667bfd6a07cab979befd9e..e5e34c3187e97f65b9ad9b9172a83d54aa05740f 100644 --- a/common/dataStructures/DriveStatus.hpp +++ b/common/dataStructures/DriveStatus.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/DriveStatusSerDeser.hpp b/common/dataStructures/DriveStatusSerDeser.hpp index d6d4be35e9751b302f5297e4610130da9e457569..7643769d0e2e36a6e56d5cd221e0e524d765c061 100644 --- a/common/dataStructures/DriveStatusSerDeser.hpp +++ b/common/dataStructures/DriveStatusSerDeser.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Convert common::dataStructures::DriveStatus to/from admin::DriveLsItem::DriveStatus - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/common/dataStructures/EntryLog.cpp b/common/dataStructures/EntryLog.cpp index d96748fcac2eff3e3c646b66466a69d1bf85daee..ab37049ec4dd97c1eb8ea44cc5cb5b1b2b0359e3 100644 --- a/common/dataStructures/EntryLog.cpp +++ b/common/dataStructures/EntryLog.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/EntryLog.hpp" diff --git a/common/dataStructures/EntryLog.hpp b/common/dataStructures/EntryLog.hpp index a623547ee34c861a69f0fa3fcc9c016f6258b628..8863b410c804d0bfcfb65722b0b7d9837f8ce659 100644 --- a/common/dataStructures/EntryLog.hpp +++ b/common/dataStructures/EntryLog.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/FileRecycleLog.cpp b/common/dataStructures/FileRecycleLog.cpp index af7e04e31073f9f2638624030a62f7404a063dee..2fde872863be679d8e7a1c18f54ad6136bf8c06e 100644 --- a/common/dataStructures/FileRecycleLog.cpp +++ b/common/dataStructures/FileRecycleLog.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "FileRecycleLog.hpp" diff --git a/common/dataStructures/FileRecycleLog.hpp b/common/dataStructures/FileRecycleLog.hpp index 14d0982269b1c140b56ec881d5d864669c79da9c..2fcf7d10ce06ba03726354f63f89ca99057a9a55 100644 --- a/common/dataStructures/FileRecycleLog.hpp +++ b/common/dataStructures/FileRecycleLog.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/FrontendReturnCode.cpp b/common/dataStructures/FrontendReturnCode.cpp index a2a96867ded1b2a20f38bdd08d109c2aeb26201c..e65a12c1026d117dcd5dc2363fc4e061ecc7c5bd 100644 --- a/common/dataStructures/FrontendReturnCode.cpp +++ b/common/dataStructures/FrontendReturnCode.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "FrontendReturnCode.hpp" diff --git a/common/dataStructures/FrontendReturnCode.hpp b/common/dataStructures/FrontendReturnCode.hpp index 5bf69c9db30193d86dd2512fc300715068cc0935..dd8100e198bf173eb94d84a4ff8cc8460f2e25ed 100644 --- a/common/dataStructures/FrontendReturnCode.hpp +++ b/common/dataStructures/FrontendReturnCode.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/LifecycleTimings.cpp b/common/dataStructures/LifecycleTimings.cpp index 227acf9c496f2516e025b88cb1d5a17198b38893..813170aa31344ed2f16b576d80c8c9840c18f786 100644 --- a/common/dataStructures/LifecycleTimings.cpp +++ b/common/dataStructures/LifecycleTimings.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "LifecycleTimings.hpp" diff --git a/common/dataStructures/LifecycleTimings.hpp b/common/dataStructures/LifecycleTimings.hpp index 4db2f887811db01ccb2eee5697c162148bbe4d61..091d4b55b08b99d8e81dcde0523a45ea3e22b7c2 100644 --- a/common/dataStructures/LifecycleTimings.hpp +++ b/common/dataStructures/LifecycleTimings.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ListStorageClassRequest.cpp b/common/dataStructures/ListStorageClassRequest.cpp index dde09ca0f17ebdc87cd3c941b3079d15425d67fb..a31e139381dcf529e1b2ee7382ab43d781b36385 100644 --- a/common/dataStructures/ListStorageClassRequest.cpp +++ b/common/dataStructures/ListStorageClassRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ListStorageClassRequest.hpp" diff --git a/common/dataStructures/ListStorageClassRequest.hpp b/common/dataStructures/ListStorageClassRequest.hpp index 50faa19fe13181060becea5a54522f0f50428c77..859cc1df4ec77305eb24fb935147364aa53d9542 100644 --- a/common/dataStructures/ListStorageClassRequest.hpp +++ b/common/dataStructures/ListStorageClassRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/LogicalLibrary.cpp b/common/dataStructures/LogicalLibrary.cpp index 339ad78da4e2adba8ffd4cf91d1fc1c40de11344..0e38acada83fd638f0ddd4b9bf2610c51a445f4a 100644 --- a/common/dataStructures/LogicalLibrary.cpp +++ b/common/dataStructures/LogicalLibrary.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/LogicalLibrary.hpp" diff --git a/common/dataStructures/LogicalLibrary.hpp b/common/dataStructures/LogicalLibrary.hpp index 6a70f7c2e8d855829d74f405426e85f6721abc0b..8e86d046a9a8810bfadb25506b007f70b67989cb 100644 --- a/common/dataStructures/LogicalLibrary.hpp +++ b/common/dataStructures/LogicalLibrary.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/LogicalLibraryTest.cpp b/common/dataStructures/LogicalLibraryTest.cpp index 88117c709096161b481c5efa4d93f206d3cccc00..d0527ba79f7f975381a12a173a08c733e898d582 100644 --- a/common/dataStructures/LogicalLibraryTest.cpp +++ b/common/dataStructures/LogicalLibraryTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/LogicalLibrary.hpp" diff --git a/common/dataStructures/MountPolicy.cpp b/common/dataStructures/MountPolicy.cpp index 9f3bb8f235c3e79188c89b69231bc6531aafcdcb..c2f439b7a7de51ddab5a432b10cb13ceb4aff90e 100644 --- a/common/dataStructures/MountPolicy.cpp +++ b/common/dataStructures/MountPolicy.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/MountPolicy.hpp" diff --git a/common/dataStructures/MountPolicy.hpp b/common/dataStructures/MountPolicy.hpp index 8215a7fdeabd5a7d0437f98b3a860484cda060d6..8bcdea878df92568f526e1317b9abfee5f5dbf65 100644 --- a/common/dataStructures/MountPolicy.hpp +++ b/common/dataStructures/MountPolicy.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/MountType.cpp b/common/dataStructures/MountType.cpp index 7f1ee3237fa6c0928a5f87149bb80b851700cbf8..edfbcdfa4c91ff5080b7a7b0f3397930d61fa1e1 100644 --- a/common/dataStructures/MountType.cpp +++ b/common/dataStructures/MountType.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/MountType.hpp" diff --git a/common/dataStructures/MountType.hpp b/common/dataStructures/MountType.hpp index b10bc44baa4db205d616e9566b4288a2fd032a7a..88e19508b7cc5b29ed6b4d9cfab1b601a33afdea 100644 --- a/common/dataStructures/MountType.hpp +++ b/common/dataStructures/MountType.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/MountTypeSerDeser.hpp b/common/dataStructures/MountTypeSerDeser.hpp index 0e6855cd8797b612784e9d0141616f5d9e2b251b..de85ac4ef29a505de16cdffd697ee5b4faa02b5f 100644 --- a/common/dataStructures/MountTypeSerDeser.hpp +++ b/common/dataStructures/MountTypeSerDeser.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Convert common::dataStructures::MountType to/from admin::DriveLsItem::MountType - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/common/dataStructures/OwnerIdentity.cpp b/common/dataStructures/OwnerIdentity.cpp index 86e7fa3e2ead9921e6a24280a19dc5b1cf3e7451..3e94eb705b100471733e237c6f9db24bd867c200 100644 --- a/common/dataStructures/OwnerIdentity.cpp +++ b/common/dataStructures/OwnerIdentity.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <limits> diff --git a/common/dataStructures/OwnerIdentity.hpp b/common/dataStructures/OwnerIdentity.hpp index 0bd3660757e0aa3cceabfa2e9bcbf2ce8a403c92..28a8697ba950a7b6d8f0ae9f86df8dc8725c17d1 100644 --- a/common/dataStructures/OwnerIdentity.hpp +++ b/common/dataStructures/OwnerIdentity.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/QueueAndMountSummary.cpp b/common/dataStructures/QueueAndMountSummary.cpp index 04efeebe8b53de1845dbc60897cb204f5f224f54..5eefb1638834ac81af38fa384c239d38116e2a8d 100644 --- a/common/dataStructures/QueueAndMountSummary.cpp +++ b/common/dataStructures/QueueAndMountSummary.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "QueueAndMountSummary.hpp" diff --git a/common/dataStructures/QueueAndMountSummary.hpp b/common/dataStructures/QueueAndMountSummary.hpp index bf511912691562cdc3ce3cd57a46e695729f9702..aaea1ccef170303b1914b1e574e2e07786ddb9f4 100644 --- a/common/dataStructures/QueueAndMountSummary.hpp +++ b/common/dataStructures/QueueAndMountSummary.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/ReadTestResult.cpp b/common/dataStructures/ReadTestResult.cpp index 3a6041a9be8787ab8f5febdeefead9971cd4b662..c5416715c46b6c9db03e4a9d38c992c66436ef57 100644 --- a/common/dataStructures/ReadTestResult.cpp +++ b/common/dataStructures/ReadTestResult.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/ReadTestResult.hpp" diff --git a/common/dataStructures/ReadTestResult.hpp b/common/dataStructures/ReadTestResult.hpp index edd33207e978bd2106f26ad6ecf46315798df6a1..861d5d2ed50c2e8e617f820dbe97f1cc91f55b23 100644 --- a/common/dataStructures/ReadTestResult.hpp +++ b/common/dataStructures/ReadTestResult.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/RepackInfo.cpp b/common/dataStructures/RepackInfo.cpp index 228d8104caf9864caa943cf52e154b542e7e0b8c..ea06b6976a650d781b3027ec37f8f646c80c5e52 100644 --- a/common/dataStructures/RepackInfo.cpp +++ b/common/dataStructures/RepackInfo.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/RepackInfo.hpp" diff --git a/common/dataStructures/RepackInfo.hpp b/common/dataStructures/RepackInfo.hpp index 7a69c9a49911c7aea694dbd20f1194ef47c12285..1b713e451845293e72ef943f9b455153778a9264 100644 --- a/common/dataStructures/RepackInfo.hpp +++ b/common/dataStructures/RepackInfo.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/RepackQueueType.cpp b/common/dataStructures/RepackQueueType.cpp index 7e07ee1723ceae69724953eb67c44768b166821e..69f53eeda18f8e84e725c40b6ec883166dc6e431 100644 --- a/common/dataStructures/RepackQueueType.cpp +++ b/common/dataStructures/RepackQueueType.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2021 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RepackQueueType.hpp" diff --git a/common/dataStructures/RepackQueueType.hpp b/common/dataStructures/RepackQueueType.hpp index 0a35d5e738b313aa16d28a3ccbd787cfcc83f568..26b152e4f4b313c486f568363a0a4d434f7413d5 100644 --- a/common/dataStructures/RepackQueueType.hpp +++ b/common/dataStructures/RepackQueueType.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2021 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/RequesterGroupMountRule.cpp b/common/dataStructures/RequesterGroupMountRule.cpp index 07692133ac0f453913977411a81b6da46fd55bf4..b083db3e41189671936dd0f803d6102f99973d71 100644 --- a/common/dataStructures/RequesterGroupMountRule.cpp +++ b/common/dataStructures/RequesterGroupMountRule.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/RequesterGroupMountRule.hpp" diff --git a/common/dataStructures/RequesterGroupMountRule.hpp b/common/dataStructures/RequesterGroupMountRule.hpp index c39695fd695f55a265c261317bca16261125313e..644124a2570c7e4c5faaf7f58458f34c3901c0c0 100644 --- a/common/dataStructures/RequesterGroupMountRule.hpp +++ b/common/dataStructures/RequesterGroupMountRule.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/RequesterIdentity.cpp b/common/dataStructures/RequesterIdentity.cpp index 14d6f412158fa56ac0bfea35396683ee4909b527..e461e5446c9b7e448748bdd59988877b155f71ce 100644 --- a/common/dataStructures/RequesterIdentity.cpp +++ b/common/dataStructures/RequesterIdentity.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/RequesterIdentity.hpp" diff --git a/common/dataStructures/RequesterIdentity.hpp b/common/dataStructures/RequesterIdentity.hpp index d72937d515ec8f20c508900efecc7b1503877d37..406203cfcaab7f556dc4db90c6b6f4ef59da39b8 100644 --- a/common/dataStructures/RequesterIdentity.hpp +++ b/common/dataStructures/RequesterIdentity.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/RequesterMountRule.cpp b/common/dataStructures/RequesterMountRule.cpp index 18f0c6a979fac6aeec164ee3dc36dce0d7dd9171..14fc0765f782673a0ad6378458b5911d4e720cee 100644 --- a/common/dataStructures/RequesterMountRule.cpp +++ b/common/dataStructures/RequesterMountRule.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/RequesterMountRule.hpp" diff --git a/common/dataStructures/RequesterMountRule.hpp b/common/dataStructures/RequesterMountRule.hpp index a2979a6560adad791730d8885a53283eb1e67360..9446966c113f656d41e1f589d8d1c7b1489e9abe 100644 --- a/common/dataStructures/RequesterMountRule.hpp +++ b/common/dataStructures/RequesterMountRule.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/RetrieveFileQueueCriteria.cpp b/common/dataStructures/RetrieveFileQueueCriteria.cpp index 237b7b639e6cf0de97d8c3fb71260d9b0f4446ff..5dafcba1fb4657b255c953e737d48222da4243ed 100644 --- a/common/dataStructures/RetrieveFileQueueCriteria.cpp +++ b/common/dataStructures/RetrieveFileQueueCriteria.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveFileQueueCriteria.hpp" diff --git a/common/dataStructures/RetrieveFileQueueCriteria.hpp b/common/dataStructures/RetrieveFileQueueCriteria.hpp index ba5965acd011425b45e57927e4eca2ad494558c8..7c2e1a4fddc24528bc8663f094d5eeb6d9427401 100644 --- a/common/dataStructures/RetrieveFileQueueCriteria.hpp +++ b/common/dataStructures/RetrieveFileQueueCriteria.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/RetrieveJob.cpp b/common/dataStructures/RetrieveJob.cpp index 4e3adc2ccf47b751c1250264c12f5a0b8f7df493..22283e24107029a7270158ca6601e0b337561e78 100644 --- a/common/dataStructures/RetrieveJob.cpp +++ b/common/dataStructures/RetrieveJob.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/RetrieveJob.hpp" diff --git a/common/dataStructures/RetrieveJob.hpp b/common/dataStructures/RetrieveJob.hpp index 374e7dfa7895861d8896c54c68a63c5171931535..db1b7d0f1c63ed1b31cbbd5712af8ca83f0de36d 100644 --- a/common/dataStructures/RetrieveJob.hpp +++ b/common/dataStructures/RetrieveJob.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/RetrieveRequest.cpp b/common/dataStructures/RetrieveRequest.cpp index 8abd79c3fc7211479849521589e542ca2603668d..feac644717db6b5ec3671aca533d619674d23fcb 100644 --- a/common/dataStructures/RetrieveRequest.cpp +++ b/common/dataStructures/RetrieveRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/RetrieveRequest.hpp" diff --git a/common/dataStructures/RetrieveRequest.hpp b/common/dataStructures/RetrieveRequest.hpp index 73f36a499ce06f0f1969f6afda20b3ff77ed0ff9..93732c0acc94d9da41e5a0fb02bb2cc2bff0e10c 100644 --- a/common/dataStructures/RetrieveRequest.hpp +++ b/common/dataStructures/RetrieveRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/SecurityIdentity.cpp b/common/dataStructures/SecurityIdentity.cpp index cc966bab48a9d499f0b62f88afda5de0c77f7323..b33d91c6a1852a080bf242e64394a45210a73d55 100644 --- a/common/dataStructures/SecurityIdentity.cpp +++ b/common/dataStructures/SecurityIdentity.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/SecurityIdentity.hpp" diff --git a/common/dataStructures/SecurityIdentity.hpp b/common/dataStructures/SecurityIdentity.hpp index 652337d589ce19a19697e07421a9660056c37c8e..adc3487ed64730bbcbd5bababfa11a1ec989db79 100644 --- a/common/dataStructures/SecurityIdentity.hpp +++ b/common/dataStructures/SecurityIdentity.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/StorageClass.cpp b/common/dataStructures/StorageClass.cpp index ee00475ef992cce7c75ed0afa5d7e893ec393d88..09559ac50a04c53c8e5c00671296c6ac306a3608 100644 --- a/common/dataStructures/StorageClass.cpp +++ b/common/dataStructures/StorageClass.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/StorageClass.hpp" diff --git a/common/dataStructures/StorageClass.hpp b/common/dataStructures/StorageClass.hpp index 01853240a9764ef65e03a4e5029b12db3a074d39..fff07258faca4d2118b92ea9edc2f8d9fd18aa4c 100644 --- a/common/dataStructures/StorageClass.hpp +++ b/common/dataStructures/StorageClass.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/StorageClassTest.cpp b/common/dataStructures/StorageClassTest.cpp index 553d88a2d2641f03773b788bf7cdbe02275d4ec7..e0e8bc4075d7bbb7c631ba4435bea70bc68364b5 100644 --- a/common/dataStructures/StorageClassTest.cpp +++ b/common/dataStructures/StorageClassTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/StorageClass.hpp" diff --git a/common/dataStructures/Tape.cpp b/common/dataStructures/Tape.cpp index c2c569fbbdfd7cdc262129dec9ee573069c8814b..59b07c00c587c768529e146b524031ed0156a116 100644 --- a/common/dataStructures/Tape.cpp +++ b/common/dataStructures/Tape.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/Tape.hpp" diff --git a/common/dataStructures/Tape.hpp b/common/dataStructures/Tape.hpp index 184c08ce63120a6e17158285aca92e33ed012067..ce9276a75b0cedecc22d71464cf3f854b983b877 100644 --- a/common/dataStructures/Tape.hpp +++ b/common/dataStructures/Tape.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/TapeCopyToPoolMap.hpp b/common/dataStructures/TapeCopyToPoolMap.hpp index d6c0053856b235fa02cbec46ded16c55d0ec0b63..3a2ecd8cb0b02ae9ade6701659f7ba71b9be4e42 100644 --- a/common/dataStructures/TapeCopyToPoolMap.hpp +++ b/common/dataStructures/TapeCopyToPoolMap.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/TapeFile.cpp b/common/dataStructures/TapeFile.cpp index 090bdd1ce7bceabfb04317cae14d18d0e02c3883..e31ccb23d822de0d3e68c174be2a3821319566f7 100644 --- a/common/dataStructures/TapeFile.cpp +++ b/common/dataStructures/TapeFile.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/TapeFile.hpp" diff --git a/common/dataStructures/TapeFile.hpp b/common/dataStructures/TapeFile.hpp index 8b92d89e5e8d4798ba7d7d992c22e786e68addf3..b73041e35b40f5193d8733e5fd886c28eaefc4f0 100644 --- a/common/dataStructures/TapeFile.hpp +++ b/common/dataStructures/TapeFile.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/TapeLog.cpp b/common/dataStructures/TapeLog.cpp index a1599c3b2054e9e74fe783282db0aa7f60aeebb3..d74a40964838116426f01299c8aa4bc332760214 100644 --- a/common/dataStructures/TapeLog.cpp +++ b/common/dataStructures/TapeLog.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/TapeLog.hpp" diff --git a/common/dataStructures/TapeLog.hpp b/common/dataStructures/TapeLog.hpp index f64eb2fba9509c8ca03dc33d900c687231cac447..1447d06ab7cdb9075311c3b0625386851cd9c7de 100644 --- a/common/dataStructures/TapeLog.hpp +++ b/common/dataStructures/TapeLog.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/TestSourceType.cpp b/common/dataStructures/TestSourceType.cpp index a4313dedfe858fc052396e2796bade2acb06361a..14a03389c4cc1d1541576a3f151fa050f723b7db 100644 --- a/common/dataStructures/TestSourceType.cpp +++ b/common/dataStructures/TestSourceType.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/TestSourceType.hpp" diff --git a/common/dataStructures/TestSourceType.hpp b/common/dataStructures/TestSourceType.hpp index 3410a3d11b093cbb4c69984d0e52b2424e92b758..5ee08711fb5f2a0d95717c98de7b23eacf08acd4 100644 --- a/common/dataStructures/TestSourceType.hpp +++ b/common/dataStructures/TestSourceType.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/UpdateFileInfoRequest.cpp b/common/dataStructures/UpdateFileInfoRequest.cpp index 09fe53a60e8420ad568600455c6925a2f3afd762..545f8098bf0d56c6286d31aab57aa9ad4609e17f 100644 --- a/common/dataStructures/UpdateFileInfoRequest.cpp +++ b/common/dataStructures/UpdateFileInfoRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/UpdateFileInfoRequest.hpp" diff --git a/common/dataStructures/UpdateFileInfoRequest.hpp b/common/dataStructures/UpdateFileInfoRequest.hpp index 8cf8050c5271997b688f0286066119dbc2e772ed..2c2ec7d748f9723df14f83e0d8af23b894a1a27d 100644 --- a/common/dataStructures/UpdateFileInfoRequest.hpp +++ b/common/dataStructures/UpdateFileInfoRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/UpdateFileStorageClassRequest.cpp b/common/dataStructures/UpdateFileStorageClassRequest.cpp index b7884da13c5a87105859a20fec9984bcbb5c51ae..c31aade064715d0b7c73e93f752c664e8398ae35 100644 --- a/common/dataStructures/UpdateFileStorageClassRequest.cpp +++ b/common/dataStructures/UpdateFileStorageClassRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/UpdateFileStorageClassRequest.hpp" diff --git a/common/dataStructures/UpdateFileStorageClassRequest.hpp b/common/dataStructures/UpdateFileStorageClassRequest.hpp index 1725e7cc9ca3047d1954bff3bd8895a34fc865d1..1d7754af3141dfbe2ba8f3fd6394cc51c74b008b 100644 --- a/common/dataStructures/UpdateFileStorageClassRequest.hpp +++ b/common/dataStructures/UpdateFileStorageClassRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/VidToTapeMap.hpp b/common/dataStructures/VidToTapeMap.hpp index 6a1be8205831ee8496911ffcb70af0064897f1a5..dc05eb0b95e2c2f3f64b670e841299ec09b53d84 100644 --- a/common/dataStructures/VidToTapeMap.hpp +++ b/common/dataStructures/VidToTapeMap.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/VirtualOrganization.cpp b/common/dataStructures/VirtualOrganization.cpp index 13141a50b7b7094af79e7212103d076865657385..c33fe0f7bb0a6fbd29cc075658012aac7452b888 100644 --- a/common/dataStructures/VirtualOrganization.cpp +++ b/common/dataStructures/VirtualOrganization.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "VirtualOrganization.hpp" diff --git a/common/dataStructures/VirtualOrganization.hpp b/common/dataStructures/VirtualOrganization.hpp index b6847655ae8b3aa55c9fe5c04d6294f202bfc7d3..6f0074156684d76274a47d6544b6d65352070083 100644 --- a/common/dataStructures/VirtualOrganization.hpp +++ b/common/dataStructures/VirtualOrganization.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/WriteTestResult.cpp b/common/dataStructures/WriteTestResult.cpp index 779ef3faf3e2d421dc165753743328aedf070956..11b2ace8b168045c126cbca230a69ad2d9f833cf 100644 --- a/common/dataStructures/WriteTestResult.cpp +++ b/common/dataStructures/WriteTestResult.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/WriteTestResult.hpp" diff --git a/common/dataStructures/WriteTestResult.hpp b/common/dataStructures/WriteTestResult.hpp index 7bb0398907c2133ce32832a5e9032d868977c6ee..10ede6c63caaa10ae166c28460e9802f2f9634ba 100644 --- a/common/dataStructures/WriteTestResult.hpp +++ b/common/dataStructures/WriteTestResult.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/dataStructures/utils.cpp b/common/dataStructures/utils.cpp index 6adeecb76a9380a279c87151c3f457ac3229fb1e..17df2bcd7a434e63ca80d0b8ba195e13fcf34eb1 100644 --- a/common/dataStructures/utils.cpp +++ b/common/dataStructures/utils.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/dataStructures/utils.hpp" diff --git a/common/dataStructures/utils.hpp b/common/dataStructures/utils.hpp index c5110b8a74ba20042e901431215c88cab0676337..5db4db9c75ebadfe577b7cb290edb8d9f48b6d0c 100644 --- a/common/dataStructures/utils.hpp +++ b/common/dataStructures/utils.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/AcceptConnectionInterrupted.cpp b/common/exception/AcceptConnectionInterrupted.cpp index 10d274b34269391e53c89b1d17d5d17b07646592..4eaa41a8e8e3b4a5142857a20386955c005b5625 100644 --- a/common/exception/AcceptConnectionInterrupted.cpp +++ b/common/exception/AcceptConnectionInterrupted.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/AcceptConnectionInterrupted.hpp" diff --git a/common/exception/AcceptConnectionInterrupted.hpp b/common/exception/AcceptConnectionInterrupted.hpp index 98391e07d6dbb95389273099044ed0d22732d781..4e3d67022d62f6c26b53c8932fb61c5a53dd8f7c 100644 --- a/common/exception/AcceptConnectionInterrupted.hpp +++ b/common/exception/AcceptConnectionInterrupted.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/AcsQueryVolumeCmd.cpp b/common/exception/AcsQueryVolumeCmd.cpp index 1f087eb2591e24b47ab27092e98114371b11f631..b81f4e0c965888ca4b39b232da37cea86c9effa6 100644 --- a/common/exception/AcsQueryVolumeCmd.cpp +++ b/common/exception/AcsQueryVolumeCmd.cpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "AcsQueryVolumeCmd.hpp" diff --git a/common/exception/AcsQueryVolumeCmd.hpp b/common/exception/AcsQueryVolumeCmd.hpp index b9e3734ff071acac5427da78983c7ceaebe719b5..3656d5b3fa5f0b0f3b4d3feae4e73c5daef60377 100644 --- a/common/exception/AcsQueryVolumeCmd.hpp +++ b/common/exception/AcsQueryVolumeCmd.hpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/Backtrace.cpp b/common/exception/Backtrace.cpp index bdbf67bcdace96c00f0516404a0b904e703fe661..339e7df7abd8c3d93d1c689cb602c2f93cb27c18 100644 --- a/common/exception/Backtrace.cpp +++ b/common/exception/Backtrace.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <execinfo.h> diff --git a/common/exception/Backtrace.hpp b/common/exception/Backtrace.hpp index aabe88b6b5b426fc2d8e3b567f5244694a368e9b..a1dd59d32517f51c32747781b3a73454566935c2 100644 --- a/common/exception/Backtrace.hpp +++ b/common/exception/Backtrace.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/BadAlloc.cpp b/common/exception/BadAlloc.cpp index 1c3fdb2d552c04c01d9877fdbf1bf57ebc241ffd..7440bb18d451df0f60733035742670f9f4f64f83 100644 --- a/common/exception/BadAlloc.cpp +++ b/common/exception/BadAlloc.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/BadAlloc.hpp" diff --git a/common/exception/BadAlloc.hpp b/common/exception/BadAlloc.hpp index f90d1870697cb1fb3bca7a6b9f36c0bc65d740bb..005f75b5a357aaa38d3b4e790d289cf39893db69 100644 --- a/common/exception/BadAlloc.hpp +++ b/common/exception/BadAlloc.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/CMakeLists.txt b/common/exception/CMakeLists.txt index 406ac44187450e355de71490d52c701d48c576c3..232855446e404f590a3a64496d271556928900f9 100644 --- a/common/exception/CMakeLists.txt +++ b/common/exception/CMakeLists.txt @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories(${PROJECT_SOURCE_DIR}/tapeserver) diff --git a/common/exception/ChecksumBlobSizeMismatch.hpp b/common/exception/ChecksumBlobSizeMismatch.hpp index d4a86e1ec6257aa6d86d4178c03da6dd855482df..085faf576f55cf4177688ad79d8e8c3d72f35bb2 100644 --- a/common/exception/ChecksumBlobSizeMismatch.hpp +++ b/common/exception/ChecksumBlobSizeMismatch.hpp @@ -1,19 +1,18 @@ -/*! - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/ChecksumTypeMismatch.hpp b/common/exception/ChecksumTypeMismatch.hpp index 19c5bb6dd9c35cf965c88913a005e475be608c32..cb056446d241329c96133f08578d80af69cbb24b 100644 --- a/common/exception/ChecksumTypeMismatch.hpp +++ b/common/exception/ChecksumTypeMismatch.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/ChecksumValueMismatch.hpp b/common/exception/ChecksumValueMismatch.hpp index 26f92f4c3991cd0a4adb5974e89edd4e91705b31..9618c99d21f6f103cb86ec816613b1e9bbf9bbf6 100644 --- a/common/exception/ChecksumValueMismatch.hpp +++ b/common/exception/ChecksumValueMismatch.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/CommandLineNotParsed.cpp b/common/exception/CommandLineNotParsed.cpp index 700d620ddc68faaae38377f263b85af20febfde8..4a1a3037e984689b2d707c716452738fbf160911 100644 --- a/common/exception/CommandLineNotParsed.cpp +++ b/common/exception/CommandLineNotParsed.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/CommandLineNotParsed.hpp" diff --git a/common/exception/CommandLineNotParsed.hpp b/common/exception/CommandLineNotParsed.hpp index 61478fcc71364748b728deb1e51edd25ebd888bc..4b7a463f9ae6e1df46ce7fcde7a4c5fe3fe8b361 100644 --- a/common/exception/CommandLineNotParsed.hpp +++ b/common/exception/CommandLineNotParsed.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/DismountFailed.cpp b/common/exception/DismountFailed.cpp index 370d35792389040f2e4e01b8f279753541f75c2e..c5580a28240f0dc56eecb00f5adc6b976f062319 100644 --- a/common/exception/DismountFailed.cpp +++ b/common/exception/DismountFailed.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/DismountFailed.hpp" diff --git a/common/exception/DismountFailed.hpp b/common/exception/DismountFailed.hpp index a62288a2c285e705154432eabf17ec53ae9d9cc1..314c82ff49d8099b63f6a53a50be51774b7b3986 100644 --- a/common/exception/DismountFailed.hpp +++ b/common/exception/DismountFailed.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/EndOfFile.hpp b/common/exception/EndOfFile.hpp index 71aa0f9c76443b9fb9510d58a1182d47e9607596..24848290990c0081b3ff20fa0a76a7d394e9dd78 100644 --- a/common/exception/EndOfFile.hpp +++ b/common/exception/EndOfFile.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/Errnum.cpp b/common/exception/Errnum.cpp index 3daddc8765c0f399a21cbeb46d97dd924da818be..9b8f7f0432c8fe719aedb1d7b16bfd8eac8c6c2f 100644 --- a/common/exception/Errnum.cpp +++ b/common/exception/Errnum.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Errnum.hpp" diff --git a/common/exception/Errnum.hpp b/common/exception/Errnum.hpp index fec73db59c769b9253249cca9ddc24f7e7d21438..bff5235a5675ab1794b9b0dbcd6d4e7c483b5889 100644 --- a/common/exception/Errnum.hpp +++ b/common/exception/Errnum.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/Exception.cpp b/common/exception/Exception.cpp index b455c8d6c7cbb400bdf347eb76de31066e24c486..0f91d23dc78347fa28d85d0efc9477779db81b7a 100644 --- a/common/exception/Exception.cpp +++ b/common/exception/Exception.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Exception.hpp" diff --git a/common/exception/Exception.hpp b/common/exception/Exception.hpp index 69f6d413daef0c3320ca20a193d7e00f5e2d6c01..29909e2e90e3592c8920ae1043641d1a83f68988 100644 --- a/common/exception/Exception.hpp +++ b/common/exception/Exception.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/ExceptionTest.cpp b/common/exception/ExceptionTest.cpp index b3193df0ac14659b2df2d35cf14535e3dc5f5b7f..7ce285398e086526c75f96ca2c785f7dcf5cd739 100644 --- a/common/exception/ExceptionTest.cpp +++ b/common/exception/ExceptionTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/exception/FileSizeMismatch.hpp b/common/exception/FileSizeMismatch.hpp index 6847f9fa285365b3fdadb0d030520d28027833c3..07483fac5f9e44fe0ef1ceccb869fd54151dfb28 100644 --- a/common/exception/FileSizeMismatch.hpp +++ b/common/exception/FileSizeMismatch.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/ForceDismountFailed.cpp b/common/exception/ForceDismountFailed.cpp index 7bbec96aafcfbe9d96ce5aacfbe41ecfa1abc3b3..1b98650a02b6828fa859fe426b4af9cc4678f549 100644 --- a/common/exception/ForceDismountFailed.cpp +++ b/common/exception/ForceDismountFailed.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "ForceDismountFailed.hpp" //#include "serrno.h" diff --git a/common/exception/ForceDismountFailed.hpp b/common/exception/ForceDismountFailed.hpp index 2a05c62c12a23a50d9da5eef1106e57b2cd31aaf..c361dd19848ae53246ec1b6e30d98a31a66ef779 100644 --- a/common/exception/ForceDismountFailed.hpp +++ b/common/exception/ForceDismountFailed.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/InvalidArgument.cpp b/common/exception/InvalidArgument.cpp index 79abc45ee803effc75ae92aca4fec97da1499f8c..322efa4010ebdefef8b668a31dc2e8554693e0b3 100644 --- a/common/exception/InvalidArgument.cpp +++ b/common/exception/InvalidArgument.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // Include Files diff --git a/common/exception/InvalidArgument.hpp b/common/exception/InvalidArgument.hpp index cea7a6077764d22d7507e63dc8a627336ee3de52..059012d43fd34b93614d8a1e55e6cc159077fb66 100644 --- a/common/exception/InvalidArgument.hpp +++ b/common/exception/InvalidArgument.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/InvalidConfigEntry.cpp b/common/exception/InvalidConfigEntry.cpp index 8ed4781bc40472eac1024ce1d7a4ae5ef6ca3053..4c15acc8064880e1429cfd6c233dd3be94b316f3 100644 --- a/common/exception/InvalidConfigEntry.cpp +++ b/common/exception/InvalidConfigEntry.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/InvalidConfigEntry.hpp" diff --git a/common/exception/InvalidConfigEntry.hpp b/common/exception/InvalidConfigEntry.hpp index 872f7cafd914d33351ec1df05988c5e461b8b8ed..9924b0d7f96aeb6730e1c344d347bb2af17a34cd 100644 --- a/common/exception/InvalidConfigEntry.hpp +++ b/common/exception/InvalidConfigEntry.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/LostDatabaseConnection.cpp b/common/exception/LostDatabaseConnection.cpp index f464441cb708617605dffbf4d9057eaf8c6004cd..f2d3b5f7431be912c063db05324ce10dcbc3f0bb 100644 --- a/common/exception/LostDatabaseConnection.cpp +++ b/common/exception/LostDatabaseConnection.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/LostDatabaseConnection.hpp" diff --git a/common/exception/LostDatabaseConnection.hpp b/common/exception/LostDatabaseConnection.hpp index 9acc170dd4b02609928eb21936b94378731d0e75..1265f6b69139c4952b7d5283c5faca7633f7d7a3 100644 --- a/common/exception/LostDatabaseConnection.hpp +++ b/common/exception/LostDatabaseConnection.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/MemException.hpp b/common/exception/MemException.hpp index d3223bb0c2a8ec22ea980e90bf6f68b3dacad183..c1430436646cebcf6d04bf130ce2c4e1c44fb58b 100644 --- a/common/exception/MemException.hpp +++ b/common/exception/MemException.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/Mismatch.cpp b/common/exception/Mismatch.cpp index 42b396b4a7b5ea149fe000076fb486002d922282..470ed0d56a766e25d755fa11ebba3d7aec51d7ff 100644 --- a/common/exception/Mismatch.cpp +++ b/common/exception/Mismatch.cpp @@ -1,26 +1,20 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "Mismatch.hpp" diff --git a/common/exception/Mismatch.hpp b/common/exception/Mismatch.hpp index dace59fd67ce878bf87bd0fe399bf8d8408e7d0c..dafd16c043b98af16e8355378898385d56ac44aa 100644 --- a/common/exception/Mismatch.hpp +++ b/common/exception/Mismatch.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/MissingOperand.cpp b/common/exception/MissingOperand.cpp index e505c586ac01fd3b612aaaff87c0d81a48ca3508..f79c21809ec96b685999a6aade8f759e07782fac 100644 --- a/common/exception/MissingOperand.cpp +++ b/common/exception/MissingOperand.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/MissingOperand.hpp" diff --git a/common/exception/MissingOperand.hpp b/common/exception/MissingOperand.hpp index cf43fdfc49fa5d48aefa2f15ea110294389e4eed..1247ea2e9eb5d9a95bfd6712ca2d15f99fe79be6 100644 --- a/common/exception/MissingOperand.hpp +++ b/common/exception/MissingOperand.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/MountFailed.cpp b/common/exception/MountFailed.cpp index d5cb36dfd6c9ba07b01471520c07bf81d8fa8488..de6bab5c8f73f4750366dbdf4a43e579bf9857eb 100644 --- a/common/exception/MountFailed.cpp +++ b/common/exception/MountFailed.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "MountFailed.hpp" diff --git a/common/exception/MountFailed.hpp b/common/exception/MountFailed.hpp index 5d5376f78f2404d9ca8f207da5eccb720ca1279c..accaea09414799a16d8eb103c0adfdbcc46b1f44 100644 --- a/common/exception/MountFailed.hpp +++ b/common/exception/MountFailed.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/NoEntry.cpp b/common/exception/NoEntry.cpp index 861f297bbbfd12b2eae5f329c902561d87dd72c4..810130fd60a9c1063f57bba50fecbe92ae63654c 100644 --- a/common/exception/NoEntry.cpp +++ b/common/exception/NoEntry.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> diff --git a/common/exception/NoEntry.hpp b/common/exception/NoEntry.hpp index 909e595e7d0078a58e30b752a851a679be5cfaa7..5cdb4828c1200b7ec12edee90e61cb6e94f1dd7e 100644 --- a/common/exception/NoEntry.hpp +++ b/common/exception/NoEntry.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/NoPortInRange.cpp b/common/exception/NoPortInRange.cpp index 232254dbb6b560cfe95712ac7ccb0cd7157fca77..c62382be606dea5ac11b97123dafe96af1b32143 100644 --- a/common/exception/NoPortInRange.cpp +++ b/common/exception/NoPortInRange.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/NoPortInRange.hpp" diff --git a/common/exception/NoPortInRange.hpp b/common/exception/NoPortInRange.hpp index 7f16939a0c8ad43acda2dc521dbe2c94a7e8c080..d8b488d8e62e2b7d8bff123501c2028fc8f29adb 100644 --- a/common/exception/NoPortInRange.hpp +++ b/common/exception/NoPortInRange.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/NonRetryableError.cpp b/common/exception/NonRetryableError.cpp index e6cc0fe66dba9a57cd3b515310bb0669a7c96d8a..e855e001bca33bdb719ffb4dfb8deb23c9e0b780 100644 --- a/common/exception/NonRetryableError.cpp +++ b/common/exception/NonRetryableError.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/NonRetryableError.hpp" diff --git a/common/exception/NonRetryableError.hpp b/common/exception/NonRetryableError.hpp index 17902b892ebd5fcb383d9f67230c74ea5e47c288..aee6ac8da966fe11d8dbfb7b74eb9a216ea52fcf 100644 --- a/common/exception/NonRetryableError.hpp +++ b/common/exception/NonRetryableError.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/NotAnOwner.cpp b/common/exception/NotAnOwner.cpp index c9a36f3ec1dabcacd606ee46d1401a247b281026..9b5936d3e52790df83665bc8afb64c1c3d3d599c 100644 --- a/common/exception/NotAnOwner.cpp +++ b/common/exception/NotAnOwner.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/NotAnOwner.hpp" diff --git a/common/exception/NotAnOwner.hpp b/common/exception/NotAnOwner.hpp index fae60efe756409d02f86eb5c733024d701ead50a..67139ef134199df92b78077c100028b60d497af7 100644 --- a/common/exception/NotAnOwner.hpp +++ b/common/exception/NotAnOwner.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/OutOfMemory.cpp b/common/exception/OutOfMemory.cpp index d32183e1e641510adceaefba0fb310b7116646c6..5a97025de8b5b23b96eca61167161b8ef2a1496f 100644 --- a/common/exception/OutOfMemory.cpp +++ b/common/exception/OutOfMemory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> diff --git a/common/exception/OutOfMemory.hpp b/common/exception/OutOfMemory.hpp index ec8942642cb019af0fd87fdb19e3602dbbab5223..ec9875c3620e18a658d4403fb26ef555693a03ca 100644 --- a/common/exception/OutOfMemory.hpp +++ b/common/exception/OutOfMemory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/QueryVolumeFailed.cpp b/common/exception/QueryVolumeFailed.cpp index 80b4eb5ed6b40c794d350271d994854879bf53dd..c7bfd38a2dc0c027f65df6b3c6f66fea55d462e2 100644 --- a/common/exception/QueryVolumeFailed.cpp +++ b/common/exception/QueryVolumeFailed.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "QueryVolumeFailed.hpp" diff --git a/common/exception/QueryVolumeFailed.hpp b/common/exception/QueryVolumeFailed.hpp index 0143eb78083137ebf5d7c5bbe72f87c5882ed3ab..642fa7ba4e7b691e5926298b08be091a50ee28b9 100644 --- a/common/exception/QueryVolumeFailed.hpp +++ b/common/exception/QueryVolumeFailed.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/RequestFailed.cpp b/common/exception/RequestFailed.cpp index 73546f017afc3c53568680bd6aead746d5de11ee..53b68c6747234b73729cd71d7a07f9943e12f2d8 100644 --- a/common/exception/RequestFailed.cpp +++ b/common/exception/RequestFailed.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "RequestFailed.hpp" diff --git a/common/exception/RequestFailed.hpp b/common/exception/RequestFailed.hpp index 77c9cd0bad29e4dba9025295de069681a538caae..7491f470a746a2b1be4cd836e090b2899e605ed1 100644 --- a/common/exception/RequestFailed.hpp +++ b/common/exception/RequestFailed.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/exception/RetryableError.cpp b/common/exception/RetryableError.cpp index eda892eded22b6c09a52fc01868d5491319bf2b5..a4c86c0b3e31890713236f41385962c92b7ee793 100644 --- a/common/exception/RetryableError.cpp +++ b/common/exception/RetryableError.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/RetryableError.hpp" diff --git a/common/exception/RetryableError.hpp b/common/exception/RetryableError.hpp index 0456fcc8190a2dfe7b264f3671b1eb5d013df467..57473c2e93f0711a97d8b06e3a2a8cc1ed2feeb1 100644 --- a/common/exception/RetryableError.hpp +++ b/common/exception/RetryableError.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/TapeFseqMismatch.hpp b/common/exception/TapeFseqMismatch.hpp index e706d7645fcefcbeae4dcf9178746460f848ce6d..80531ef1c424b6f3808131decb838264bf288f0a 100644 --- a/common/exception/TapeFseqMismatch.hpp +++ b/common/exception/TapeFseqMismatch.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/TimeOut.cpp b/common/exception/TimeOut.cpp index 9fe06ce5ae3dd437914b44df0fadb9adb3eacc82..d85bb45fb248aafac5384058a7b75e8ef401b52f 100644 --- a/common/exception/TimeOut.cpp +++ b/common/exception/TimeOut.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/TimeOut.hpp" diff --git a/common/exception/TimeOut.hpp b/common/exception/TimeOut.hpp index 4f8ddb8fb052068e7c9c61b0efe5bcab74794c7d..34687ed364ec4d8030a6ccd960fe72a7558861e9 100644 --- a/common/exception/TimeOut.hpp +++ b/common/exception/TimeOut.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/UserError.cpp b/common/exception/UserError.cpp index 9572a84f4957dcb782169b0bb186b32d454c2d39..6e0abb9e604c6a74f948a3f94809be2353883ebd 100644 --- a/common/exception/UserError.cpp +++ b/common/exception/UserError.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/UserError.hpp" diff --git a/common/exception/UserError.hpp b/common/exception/UserError.hpp index 731d14195197ec7aa34b92120629858dc0bb77f3..4c65d83b9478f1ad3956a0803b9aaa535e89781a 100644 --- a/common/exception/UserError.hpp +++ b/common/exception/UserError.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/exception/XrootCl.cpp b/common/exception/XrootCl.cpp index 1a4d2eb773fb6233ce4be4f0e3ec91368a361f9a..6bb261b1876c37317d341681a4a06f6ce996d04c 100644 --- a/common/exception/XrootCl.cpp +++ b/common/exception/XrootCl.cpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "XrootCl.hpp" #include <sstream> diff --git a/common/exception/XrootCl.hpp b/common/exception/XrootCl.hpp index 9924c754ef23d6374b0226fa2a3b927830b505a4..80f6bafa62419f52dfcc7b836c8d8410f826348a 100644 --- a/common/exception/XrootCl.hpp +++ b/common/exception/XrootCl.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/helgrind_annotator.hpp b/common/helgrind_annotator.hpp index 5307e94ffc22793aeb47386385724cb9240d8fbe..cbc6e738be502cd9733302120c84bcbcc8cc980e 100644 --- a/common/helgrind_annotator.hpp +++ b/common/helgrind_annotator.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/json/object/JSONCObject.cpp b/common/json/object/JSONCObject.cpp index 44acab6005ee3e4abeb9b211df7f087358da0ad7..d0f62dfa0dd0ead35b741e3cd7019309bd042344 100644 --- a/common/json/object/JSONCObject.cpp +++ b/common/json/object/JSONCObject.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "JSONCObject.hpp" diff --git a/common/json/object/JSONCObject.hpp b/common/json/object/JSONCObject.hpp index 62803dff23d331bd9dabe48fb8c44354020426c4..481bc95032c63beee7f22fbcbf7d911b89645f55 100644 --- a/common/json/object/JSONCObject.hpp +++ b/common/json/object/JSONCObject.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/json/object/JSONObject.cpp b/common/json/object/JSONObject.cpp index 9a3c24662cf13669c9abea2be2a0390e9db015b8..9d71276bb7cfd639adf180db8daf19b483dbdb96 100644 --- a/common/json/object/JSONObject.cpp +++ b/common/json/object/JSONObject.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "JSONObject.hpp" diff --git a/common/json/object/JSONObject.hpp b/common/json/object/JSONObject.hpp index 30e59a69855052f7a18378171d89df5ccc76c685..3b536fe532f30a017df6d17e6e892716e93ee8d5 100644 --- a/common/json/object/JSONObject.hpp +++ b/common/json/object/JSONObject.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/json/object/JSONObjectException.hpp b/common/json/object/JSONObjectException.hpp index d791f8ca932eb99c92db7797fa3f8f6582641dfc..36c1f46d92cbea6a0a669f7d378eeb2fd5968619 100644 --- a/common/json/object/JSONObjectException.hpp +++ b/common/json/object/JSONObjectException.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/json/test/JSONCObjectTest.cpp b/common/json/test/JSONCObjectTest.cpp index f8fe00a0eb9fea388f7844488689da90d47bdf3e..c75861c1b36e923d8e822334a3bbf595282bcea2 100644 --- a/common/json/test/JSONCObjectTest.cpp +++ b/common/json/test/JSONCObjectTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/common/json/test/JSONCTestObject.cpp b/common/json/test/JSONCTestObject.cpp index 694f92b5fa668666be081d04c6d8df06f967b797..7d413db8ea027ddcc0b78af2438495afee79fee4 100644 --- a/common/json/test/JSONCTestObject.cpp +++ b/common/json/test/JSONCTestObject.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/common/json/test/JSONCTestObject.hpp b/common/json/test/JSONCTestObject.hpp index 259dc9e6d65a528651f27b5d68f8324d95b2226e..3d533d0c1653e76326c701d68e18b8936c4353e9 100644 --- a/common/json/test/JSONCTestObject.hpp +++ b/common/json/test/JSONCTestObject.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/json/test/TestObject.hpp b/common/json/test/TestObject.hpp index 3cf6933e9354f32296ddd9acd81d7704339807a2..170789df5a22506d045558afaab110a97a287604 100644 --- a/common/json/test/TestObject.hpp +++ b/common/json/test/TestObject.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/Constants.hpp b/common/log/Constants.hpp index 60550df18b8e547cd55435f0ed148166bfefe423..d3c85d0c3c158627d1fc281d45cf3cc54e4bfc57 100644 --- a/common/log/Constants.hpp +++ b/common/log/Constants.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/DummyLogger.cpp b/common/log/DummyLogger.cpp index 70460f2c870a0f209309974b9e177fd8f3d695d2..d1a427c07c82ab553ead58a5eb56b098d13c1525 100644 --- a/common/log/DummyLogger.cpp +++ b/common/log/DummyLogger.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/DummyLogger.hpp" diff --git a/common/log/DummyLogger.hpp b/common/log/DummyLogger.hpp index 694c801b1b2e8971531ca7941c0849b2a75c8405..66e48e098428313606f1d2accaa49166cd9733f2 100644 --- a/common/log/DummyLogger.hpp +++ b/common/log/DummyLogger.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/FileLogger.cpp b/common/log/FileLogger.cpp index 45688d426419687e7cf8824a69c012e42357f715..fcb9d507ea9d46c25e1bb839288bf8cbd1374485 100644 --- a/common/log/FileLogger.cpp +++ b/common/log/FileLogger.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/FileLogger.hpp" diff --git a/common/log/FileLogger.hpp b/common/log/FileLogger.hpp index 4eb46aa355b1b9d1d8977a1689b8d1e4ea3344e3..c8671b5fb1f61b65e97b8e3d4f9f6ad6458f096e 100644 --- a/common/log/FileLogger.hpp +++ b/common/log/FileLogger.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/FileLoggerTest.cpp b/common/log/FileLoggerTest.cpp index e11ed255f38b85ebe00a39c05e7f44fda7029e9b..871b8184c47ac743fbf5ee966f9f5d0b675ffc16 100644 --- a/common/log/FileLoggerTest.cpp +++ b/common/log/FileLoggerTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "FileLogger.hpp" diff --git a/common/log/IPAddress.hpp b/common/log/IPAddress.hpp index 1beccda1fdcdaeb9db7267aaea0efcf36782b30d..8871a34348d07e813aa3cacc197d4bbc6932b85d 100644 --- a/common/log/IPAddress.hpp +++ b/common/log/IPAddress.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * A simple object around an IP address - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/log/LogContext.cpp b/common/log/LogContext.cpp index 335d3c0ff9ff4ac150cfd02268d31e5eee2c1ccc..609b156d2004971b887e3e7acaa4ee011c58ab86 100644 --- a/common/log/LogContext.cpp +++ b/common/log/LogContext.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/LogContext.hpp" diff --git a/common/log/LogContext.hpp b/common/log/LogContext.hpp index 795fd214ec37a0ffaacfcff7df45f1d516d13146..0a8fc3b93c9babf364e4abdde6ddee4e806dd140 100644 --- a/common/log/LogContext.hpp +++ b/common/log/LogContext.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/LogContextTest.cpp b/common/log/LogContextTest.cpp index 142f1ab476aa2bec2e13e883c3adc38d348ec2b6..84fd3ac066a2f3aabc0ffbe9935c0dd269109889 100644 --- a/common/log/LogContextTest.cpp +++ b/common/log/LogContextTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/DummyLogger.hpp" diff --git a/common/log/LogLevel.cpp b/common/log/LogLevel.cpp index 9f9f847480f60adb2ebd1aa86cfe9a44a6b3db16..eef3ddb9a07f8ebddbdb805e0d980ec17344f751 100644 --- a/common/log/LogLevel.cpp +++ b/common/log/LogLevel.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/log/LogLevel.hpp b/common/log/LogLevel.hpp index e57e8e4832381ad3ab0404c75c167f6f3b25e123..55dcd3bbae8504adadf843f6e6c82f3a68278cbd 100644 --- a/common/log/LogLevel.hpp +++ b/common/log/LogLevel.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/LogLevelTest.cpp b/common/log/LogLevelTest.cpp index 9fd7919ebac74ab906d9552d986866500dc23180..cde27645648a9be7cf3faa31fbadf8d2493315b7 100644 --- a/common/log/LogLevelTest.cpp +++ b/common/log/LogLevelTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/log/Logger.cpp b/common/log/Logger.cpp index e7972b0e4c101427aa080a9135a39f85b315d694..3286adc111d1f730db7712746cf887e4e2d6e9bd 100644 --- a/common/log/Logger.cpp +++ b/common/log/Logger.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/Logger.hpp" diff --git a/common/log/Logger.hpp b/common/log/Logger.hpp index 446ff30bae63a672541cb7f4f3a78011eff693d1..fc49f8eb09796a8d2b521ef2593ce9c7aba4db25 100644 --- a/common/log/Logger.hpp +++ b/common/log/Logger.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/Message.cpp b/common/log/Message.cpp index 7343ed594b9d61bd93b21cc96851abddd682c7cb..b7f4166b586b852cb0ebe672362fefcbfc4fa883 100644 --- a/common/log/Message.cpp +++ b/common/log/Message.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // Include Files diff --git a/common/log/Message.hpp b/common/log/Message.hpp index 9f8aaedd467fce37fe6a927f478d4f70158ac800..fc38d4f578212f0b4252b4b47c953f1389250085 100644 --- a/common/log/Message.hpp +++ b/common/log/Message.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/Param.cpp b/common/log/Param.cpp index 8a2b7c3674d99363e9067148a33125449d0a20d5..baceb3b987041ad2b5addb4cf2dcb88551ce937d 100644 --- a/common/log/Param.cpp +++ b/common/log/Param.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/Param.hpp" diff --git a/common/log/Param.hpp b/common/log/Param.hpp index f7528db515ac634d22b422211457299078bc000c..03c01dd15667eaad07d8e83b1e759605d465a1a2 100644 --- a/common/log/Param.hpp +++ b/common/log/Param.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/ParamTest.cpp b/common/log/ParamTest.cpp index 4e443971cd2e3c195879b4e7ad4980bd9f1074c5..15988a59a132b4f2ebe9d4cf65bda01693165bdb 100644 --- a/common/log/ParamTest.cpp +++ b/common/log/ParamTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/Param.hpp" diff --git a/common/log/PriorityMaps.cpp b/common/log/PriorityMaps.cpp index b20c4bd26eb484d77340eee9a71928938dd00224..d5ade692e604093957af7ef476cb0b5776c94646 100644 --- a/common/log/PriorityMaps.cpp +++ b/common/log/PriorityMaps.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/common/log/PriorityMaps.hpp b/common/log/PriorityMaps.hpp index bb525ef5c850cecabfa555409eab0cb69ea62c9b..81beb6a57d2be1b03d22bdaea2fbb0645a5510b4 100644 --- a/common/log/PriorityMaps.hpp +++ b/common/log/PriorityMaps.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/StdoutLogger.cpp b/common/log/StdoutLogger.cpp index 872f12c7658e299327248ae3a24fce58900f781f..6533bafae114354846629516349113f5e34aa35b 100644 --- a/common/log/StdoutLogger.cpp +++ b/common/log/StdoutLogger.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/StdoutLogger.hpp" diff --git a/common/log/StdoutLogger.hpp b/common/log/StdoutLogger.hpp index 2350e4ca0edceafab5df6a50fd79ee9a81c81ca7..4b404cb1962463b0de1d80947e12a91ce7a74f75 100644 --- a/common/log/StdoutLogger.hpp +++ b/common/log/StdoutLogger.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/StringLogger.cpp b/common/log/StringLogger.cpp index 9c17acf2ad448a1b262f94038ffb5b146ec9ef06..04edafe2f916567b037ff5fb8b812640344e5e49 100644 --- a/common/log/StringLogger.cpp +++ b/common/log/StringLogger.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/StringLogger.hpp" diff --git a/common/log/StringLogger.hpp b/common/log/StringLogger.hpp index 7d1eab8d5720f848c796b86ba097c858784e04ab..9bc9e830b7fc5f1ddcb903cab83a0afab848cf42 100644 --- a/common/log/StringLogger.hpp +++ b/common/log/StringLogger.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/StringLoggerTest.cpp b/common/log/StringLoggerTest.cpp index f5bda51bbf1a28385b978aa77dec8c1d1ff859e5..ce1469d0d92a33bedd54cd483a84a307f6343fe8 100644 --- a/common/log/StringLoggerTest.cpp +++ b/common/log/StringLoggerTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "StringLogger.hpp" diff --git a/common/log/SyslogLogger.cpp b/common/log/SyslogLogger.cpp index 56db50901dde2fcb5ef2c61c566992dea4403797..92ab4bb4d5af79af8eb0a7b4a9769a8cd3890892 100644 --- a/common/log/SyslogLogger.cpp +++ b/common/log/SyslogLogger.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/log/SyslogLogger.hpp b/common/log/SyslogLogger.hpp index b04186d5f6d6b5e9f96d70f975130b8cabfdcbb8..4cc9f4afc12382275aae72f2877a96ae9df4599f 100644 --- a/common/log/SyslogLogger.hpp +++ b/common/log/SyslogLogger.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/SyslogLoggerTest.cpp b/common/log/SyslogLoggerTest.cpp index db0dd99b4900ec81836f15a5edb4f758684fd4e3..28b78bd78be4381c731fe8e74535f13f34aed594 100644 --- a/common/log/SyslogLoggerTest.cpp +++ b/common/log/SyslogLoggerTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/SyslogLogger.hpp" diff --git a/common/log/TestingSyslogLogger.hpp b/common/log/TestingSyslogLogger.hpp index bb8cd22bb103f442f0130aefd3fb7e5b6ac79c22..a81636a8190074daac639cc6d5f218f3ebbcbe0d 100644 --- a/common/log/TestingSyslogLogger.hpp +++ b/common/log/TestingSyslogLogger.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/TimeStamp.hpp b/common/log/TimeStamp.hpp index 3f13b957dc852936e646bf82b230072a184703b4..a15c6787c75ba3d5c860319f52c38a447cf1769c 100644 --- a/common/log/TimeStamp.hpp +++ b/common/log/TimeStamp.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * A simple object around a time stamp - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/log/TimingList.cpp b/common/log/TimingList.cpp index c970717e5881a92c8cc84acdb1d976caef2db4ee..77a283247d2988009f7c4ffe5fdc82a6c5cdaaba 100644 --- a/common/log/TimingList.cpp +++ b/common/log/TimingList.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "TimingList.hpp" diff --git a/common/log/TimingList.hpp b/common/log/TimingList.hpp index b8436d485d931f109352fce3854a0d7f17172a16..c2ffa214eb5594b87172bb12fb1d7e2bd58eb66d 100644 --- a/common/log/TimingList.hpp +++ b/common/log/TimingList.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/log/log.cpp b/common/log/log.cpp index e8f470019541d803626dd53ab8a007a46c332b1e..6b6362dd05953c0e4abeedf5a1b3a7a3cf428284 100644 --- a/common/log/log.cpp +++ b/common/log/log.cpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * Interface to the CASTOR logging system - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/exception/Exception.hpp" #include "castor/log/log.hpp" diff --git a/common/log/log.hpp b/common/log/log.hpp index a5d57987bdd20df47a9aa2a8a71e25975401d90f..c8ea3d8f412535aff4efc06090da25728dd2a57e 100644 --- a/common/log/log.hpp +++ b/common/log/log.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * Interface to the CASTOR logging system - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/make_unique.hpp b/common/make_unique.hpp index aac18079eb0fe3ba6b15e8c52c08363cdd4c9b65..377409b5c1c223c65d32721eaad7e1375e211fd0 100644 --- a/common/make_unique.hpp +++ b/common/make_unique.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/optional.cpp b/common/optional.cpp index 8aa3389c1782a4ce63c86fdb776fb428195630c1..1d378aa04a32ff6f772003a2391251fcbb61a4cb 100644 --- a/common/optional.cpp +++ b/common/optional.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "optional.hpp" diff --git a/common/optional.hpp b/common/optional.hpp index e551acd2ea2275362cb94f20ec4e940fb050a4e2..6ed951fb05e5977753f5c122d73a1a7da00dbe1f 100644 --- a/common/optional.hpp +++ b/common/optional.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/optionalTest.cpp b/common/optionalTest.cpp index 8cb7d10f4225d82852d2f1ade95720e21e44512e..8bfc2e5cc9da839e39e3df10cb69cef65791f066 100644 --- a/common/optionalTest.cpp +++ b/common/optionalTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "optional.hpp" diff --git a/common/priorities/DriveQuota.cpp b/common/priorities/DriveQuota.cpp index 0dddd23bdc57a1347d395ab3b9c087209386e5f5..c1843115df048300ec6309d9374e9236b4d88d04 100644 --- a/common/priorities/DriveQuota.cpp +++ b/common/priorities/DriveQuota.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/priorities/DriveQuota.hpp" diff --git a/common/priorities/DriveQuota.hpp b/common/priorities/DriveQuota.hpp index eb6a479e951b487daa2e25b8f22c51cd104bf9b3..1771c06bc5eb150a64d5bd6be0c87b6087e92469 100644 --- a/common/priorities/DriveQuota.hpp +++ b/common/priorities/DriveQuota.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/priorities/MountCriteria.cpp b/common/priorities/MountCriteria.cpp index 58196e92f87058f51b7b3cdf16a26a1b958eaf26..2cf9c0aa623d5c97039ba94bcff9ebb185e89a8f 100644 --- a/common/priorities/MountCriteria.cpp +++ b/common/priorities/MountCriteria.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/priorities/MountCriteria.hpp" diff --git a/common/priorities/MountCriteria.hpp b/common/priorities/MountCriteria.hpp index ac78ddfcbd6988b5b7419a987b3f86e751605d6c..4b73e3710449e14892735d0bd842f95eac825e39 100644 --- a/common/priorities/MountCriteria.hpp +++ b/common/priorities/MountCriteria.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/priorities/UserGroup.cpp b/common/priorities/UserGroup.cpp index 76df73aed7ce9af5450d4836dc129a57941436c1..5d1b059098d27bdd2415a06e08dcc3251efc5c3c 100644 --- a/common/priorities/UserGroup.cpp +++ b/common/priorities/UserGroup.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/priorities/UserGroup.hpp" diff --git a/common/priorities/UserGroup.hpp b/common/priorities/UserGroup.hpp index 33715d13b35c9a5740c18c262c7bf51529a5282b..70daaf97034b7d26c24a02733820efaf363aaa71 100644 --- a/common/priorities/UserGroup.hpp +++ b/common/priorities/UserGroup.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/processCap/ProcessCap.cpp b/common/processCap/ProcessCap.cpp index f8557bc9ea84f2c71165b481118d2afbec60718d..bdcc87c4a6223c89e07b77515fb21cab9a233a43 100644 --- a/common/processCap/ProcessCap.cpp +++ b/common/processCap/ProcessCap.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/processCap/ProcessCap.hpp b/common/processCap/ProcessCap.hpp index 175b2fd11d5b37cb2f415a09866fb2066a601179..4d2eb74293816107e71c1c6f6ccb61ae6c63ae09 100644 --- a/common/processCap/ProcessCap.hpp +++ b/common/processCap/ProcessCap.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/processCap/ProcessCapDummy.cpp b/common/processCap/ProcessCapDummy.cpp index c401d1f52188575325b0f6ee13ec3433447a90b5..c88fe876f969b36d684c999a88ceb6072512f0b7 100644 --- a/common/processCap/ProcessCapDummy.cpp +++ b/common/processCap/ProcessCapDummy.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/processCap/ProcessCapDummy.hpp" diff --git a/common/processCap/ProcessCapDummy.hpp b/common/processCap/ProcessCapDummy.hpp index b4f9834ebd199a88be2e7c96fd7104110d3cd3f4..435c2a6197d66fbea905afeb1f25cf3360d73110 100644 --- a/common/processCap/ProcessCapDummy.hpp +++ b/common/processCap/ProcessCapDummy.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/processCap/SmartCap.cpp b/common/processCap/SmartCap.cpp index 14a0bbbc128d7af8d7a6664c284d5285763a18ee..17b6f381711f105abc186e853082444cb904094d 100644 --- a/common/processCap/SmartCap.cpp +++ b/common/processCap/SmartCap.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/processCap/SmartCap.hpp b/common/processCap/SmartCap.hpp index 04f23001b4578b5a133b188e1868921793a23ad0..31bfce10a83b21d91cdf8803bab5383f0c837c38 100644 --- a/common/processCap/SmartCap.hpp +++ b/common/processCap/SmartCap.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/processCap/SmartCapTest.cpp b/common/processCap/SmartCapTest.cpp index 533902c303de0477a0e06622a1918a5b115ed20e..9ec6dc762ad1010e8361866d2b3245a5ac052f4d 100644 --- a/common/processCap/SmartCapTest.cpp +++ b/common/processCap/SmartCapTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/range.hpp b/common/range.hpp index 084b30af705839d83bc05e35eb156c3313f7bb23..7ff4eb098931c73c045b83a30f85494b131841bd 100644 --- a/common/range.hpp +++ b/common/range.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/rangeTest.cpp b/common/rangeTest.cpp index b7c4413401139e2483d240f5da3de2783012bc70..476f185a9649489a51e2bbad18dd4b30158ac42a 100644 --- a/common/rangeTest.cpp +++ b/common/rangeTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "range.hpp" diff --git a/common/remoteFS/RemoteFileStatus.cpp b/common/remoteFS/RemoteFileStatus.cpp index 397c3c0106e41322a8d419a649a64dcfc1ec1a12..3c59898a76fed84d1cc3f428e22a93b6452b9d99 100644 --- a/common/remoteFS/RemoteFileStatus.cpp +++ b/common/remoteFS/RemoteFileStatus.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/remoteFS/RemoteFileStatus.hpp" diff --git a/common/remoteFS/RemoteFileStatus.hpp b/common/remoteFS/RemoteFileStatus.hpp index 47d86d181b2ed249511ce5ce996713aa8bcd08c0..19d0b571d2f5928e84580b250f74233506424f50 100644 --- a/common/remoteFS/RemoteFileStatus.hpp +++ b/common/remoteFS/RemoteFileStatus.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/remoteFS/RemotePath.cpp b/common/remoteFS/RemotePath.cpp index e26a44335650d2fdf4bf59e62da905edacb6c157..7bb99154dbf05fa52e424724f907ee9c3319356c 100644 --- a/common/remoteFS/RemotePath.cpp +++ b/common/remoteFS/RemotePath.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/remoteFS/RemotePath.hpp" diff --git a/common/remoteFS/RemotePath.hpp b/common/remoteFS/RemotePath.hpp index 898a9104b856f541b9ca2cc34ef236a6c807733b..98b87916c5d553e31cc7d347c105da5accf5ad28 100644 --- a/common/remoteFS/RemotePath.hpp +++ b/common/remoteFS/RemotePath.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/remoteFS/RemotePathAndStatus.cpp b/common/remoteFS/RemotePathAndStatus.cpp index cb9e33bd0928738f687407bf7135d48844c28120..120c055765e739d10bc5d2b9c15101e63cc40905 100644 --- a/common/remoteFS/RemotePathAndStatus.cpp +++ b/common/remoteFS/RemotePathAndStatus.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/remoteFS/RemotePathAndStatus.hpp" diff --git a/common/remoteFS/RemotePathAndStatus.hpp b/common/remoteFS/RemotePathAndStatus.hpp index 114e14009dbedc7e1b2eb522ee6eee6de42aad44..339087c9f554966f5fa5f77aeb3542674c387428 100644 --- a/common/remoteFS/RemotePathAndStatus.hpp +++ b/common/remoteFS/RemotePathAndStatus.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/remoteFS/RemotePathTest.cpp b/common/remoteFS/RemotePathTest.cpp index 0debd5da90dd6c1d24ada88704de86f75ad2e8b3..17cef4f63948a49fbc670ae4c3f7accbc6a2dc57 100644 --- a/common/remoteFS/RemotePathTest.cpp +++ b/common/remoteFS/RemotePathTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/remoteFS/RemotePath.hpp" diff --git a/common/threading/Async.cpp b/common/threading/Async.cpp index 511f6b202bb50caf5a3d5d9dae2d2293b337a40a..2f69e86fd693d2b3a5846fe8f82189499634895d 100644 --- a/common/threading/Async.cpp +++ b/common/threading/Async.cpp @@ -3,22 +3,21 @@ #include "Async.hpp" #include "Thread.hpp" -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ namespace cta { Async::ThreadWrapper::ThreadWrapper(std::function<void()> callable):m_callable(callable){} diff --git a/common/threading/Async.hpp b/common/threading/Async.hpp index f15a9fb5e97d5e3280470397f74f557fedebdcfe..e9dab23a21f291c2923e566f63c4a464d25d3b97 100644 --- a/common/threading/Async.hpp +++ b/common/threading/Async.hpp @@ -1,36 +1,34 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef ASYNC_HPP diff --git a/common/threading/AsyncTests.cpp b/common/threading/AsyncTests.cpp index b3bdbbbc0d894fb0cffefeb90890c925d370c12e..d35cde728665eaa12f57de2497db710b6c28bbfe 100644 --- a/common/threading/AsyncTests.cpp +++ b/common/threading/AsyncTests.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> #include "Async.cpp" diff --git a/common/threading/AtomicCounter.hpp b/common/threading/AtomicCounter.hpp index 16df5bd3176fa52437d6f7e23651aef9d28c943b..419004d71f1b8055f55647d6139d2d637248e5db 100644 --- a/common/threading/AtomicCounter.hpp +++ b/common/threading/AtomicCounter.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/common/threading/AtomicCounterTest.cpp b/common/threading/AtomicCounterTest.cpp index 32571c9c8974c16cd1bb0a14599e89e70b7397a5..1b0b859b9799056b95ab143dbb28fca9406a6363 100644 --- a/common/threading/AtomicCounterTest.cpp +++ b/common/threading/AtomicCounterTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <gtest/gtest.h> #include "common/threading/Thread.hpp" #include "common/threading/AtomicCounter.hpp" diff --git a/common/threading/AtomicFlag.hpp b/common/threading/AtomicFlag.hpp index f763afc4f0210ff18abb495e77ad6376ad2f6ef0..411631625f62ea9732c9f841d0dce142a3302b2a 100644 --- a/common/threading/AtomicFlag.hpp +++ b/common/threading/AtomicFlag.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/common/threading/BlockingQueue.hpp b/common/threading/BlockingQueue.hpp index e2e60587dedb526b90e61b3fe2c3c80cab3a5ddf..735c2b0170719db9af3f48d97afbdc8f468240e1 100644 --- a/common/threading/BlockingQueue.hpp +++ b/common/threading/BlockingQueue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/ChildProcess.cpp b/common/threading/ChildProcess.cpp index f58046c9898f583b7c114aaba86952281558153a..7a685e43026fe0f845682e2d0b25aff47c90c5d7 100644 --- a/common/threading/ChildProcess.cpp +++ b/common/threading/ChildProcess.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ChildProcess.hpp" diff --git a/common/threading/ChildProcess.hpp b/common/threading/ChildProcess.hpp index c235c0ba59295a672c368ff07dc6125d16474647..d7f71cd9511e8026523dd48e8cf7251be9326562 100644 --- a/common/threading/ChildProcess.hpp +++ b/common/threading/ChildProcess.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/CondVar.cpp b/common/threading/CondVar.cpp index 1df9a9a23b0bd087b0c6a19f23ec165f0c5998c3..219862bdb57cc6bc5bff6d2cc21017789302a448 100644 --- a/common/threading/CondVar.cpp +++ b/common/threading/CondVar.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/threading/CondVar.hpp b/common/threading/CondVar.hpp index e860157bbc1f60f2b48397d714e69e58d4bb5e6e..53b750221e5f06a5991bf2d4f6ee4f249bbb3cba 100644 --- a/common/threading/CondVar.hpp +++ b/common/threading/CondVar.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/CondVarTest.cpp b/common/threading/CondVarTest.cpp index 0b09f5d571402bd8f84ad438a7382af7f289f371..5c4a8206a3d414ceffe1fe6e16c47fb2f11da1c4 100644 --- a/common/threading/CondVarTest.cpp +++ b/common/threading/CondVarTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/CondVar.hpp" diff --git a/common/threading/Daemon.cpp b/common/threading/Daemon.cpp index e3a6ae8a770231112836c24e778b092fd6de2761..b43a01f6003024368dd4a5e14351b1a277a3968f 100644 --- a/common/threading/Daemon.cpp +++ b/common/threading/Daemon.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Errnum.hpp" diff --git a/common/threading/Daemon.hpp b/common/threading/Daemon.hpp index 3732839ce8951d233a64ecb8a4f1ad95a617ecec..4bc41e82ea24c096a679c9b34c43597f654b9bb7 100644 --- a/common/threading/Daemon.hpp +++ b/common/threading/Daemon.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/DaemonTest.cpp b/common/threading/DaemonTest.cpp index 4cad67d4fc5b5055aca8557f714a76cfd5da81d7..38ea6ac6b384fc043b457d2ce443cea7e6fa0bf0 100644 --- a/common/threading/DaemonTest.cpp +++ b/common/threading/DaemonTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/DummyLogger.hpp" diff --git a/common/threading/Mutex.cpp b/common/threading/Mutex.cpp index 61d8e13e509af31dec0dfb961c9f6a35344716aa..e8fc868d22909c7626645ad2816e28e43be6e469 100644 --- a/common/threading/Mutex.cpp +++ b/common/threading/Mutex.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/Mutex.hpp" diff --git a/common/threading/Mutex.hpp b/common/threading/Mutex.hpp index a17c106628e69a340ecb799b1712bf81277df6e7..ff7149d5bc74521e8c84ca479f89373837a9e1d2 100644 --- a/common/threading/Mutex.hpp +++ b/common/threading/Mutex.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/MutexLocker.hpp b/common/threading/MutexLocker.hpp index a5251e7eeddf04a9ac68db4d6819f037874af97b..4543ed43f3efc4cbe7a3ddbe97de26bec9cf3867 100644 --- a/common/threading/MutexLocker.hpp +++ b/common/threading/MutexLocker.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/MutexLtrace.cpp b/common/threading/MutexLtrace.cpp index dc1c23068e2f8fa07b3ee633dd45f049dd88102a..1149c63e156e125d7e508e13d894109b0c58ffa5 100644 --- a/common/threading/MutexLtrace.cpp +++ b/common/threading/MutexLtrace.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Mutex.hpp" diff --git a/common/threading/RWLock.cpp b/common/threading/RWLock.cpp index 4a2c17fd180b206709431ed3e715fd40ea123784..777cc244ca4f933f2468c6ed63451c6629927df8 100644 --- a/common/threading/RWLock.cpp +++ b/common/threading/RWLock.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/RWLock.hpp" diff --git a/common/threading/RWLock.hpp b/common/threading/RWLock.hpp index 6c1caaed8f08e4d6df1e22210dcd2e5a7342584b..d87639de09ee3ecec498821ba7de5b2e371926ab 100644 --- a/common/threading/RWLock.hpp +++ b/common/threading/RWLock.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/RWLockRdLocker.cpp b/common/threading/RWLockRdLocker.cpp index a29da5b6986f4c82f2ef3d13f10f8f0120be52e3..65b32d8db2244f0981ae40fb6aea30d99a15a0e8 100644 --- a/common/threading/RWLockRdLocker.cpp +++ b/common/threading/RWLockRdLocker.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/threading/RWLockRdLocker.hpp b/common/threading/RWLockRdLocker.hpp index cf32a507a0a84a600d365d557cfa9ae5973b9620..1e7c008112d4d5789b4c061a9f55e40fe683635a 100644 --- a/common/threading/RWLockRdLocker.hpp +++ b/common/threading/RWLockRdLocker.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/RWLockTest.cpp b/common/threading/RWLockTest.cpp index 31fab69e6e64c567cbad735c273a11045afbce18..94b98616504551405bb010ed5bad75c3e62d2e52 100644 --- a/common/threading/RWLockTest.cpp +++ b/common/threading/RWLockTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/common/threading/RWLockWrLocker.cpp b/common/threading/RWLockWrLocker.cpp index 3e38465b8ed93d00fce7f894d595d576ac5f5586..4ad3851c46daf9f537ab0d4707a5dea49d6ce096 100644 --- a/common/threading/RWLockWrLocker.cpp +++ b/common/threading/RWLockWrLocker.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/threading/RWLockWrLocker.hpp b/common/threading/RWLockWrLocker.hpp index 5196cb06a951f395a9f36220c5ef17968ea83cec..f2c3d25a5197ea29f613c1e4b9d846e0cb18c4a0 100644 --- a/common/threading/RWLockWrLocker.hpp +++ b/common/threading/RWLockWrLocker.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/Semaphores.cpp b/common/threading/Semaphores.cpp index a0e6283912e225ad53017565730e29b8a176697a..a28d7f46b60f10b855fa1c3cc13ee2653838d328 100644 --- a/common/threading/Semaphores.cpp +++ b/common/threading/Semaphores.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/MutexLocker.hpp" diff --git a/common/threading/Semaphores.hpp b/common/threading/Semaphores.hpp index d87e808948db812258d85df1a82c1eb9b314def3..6970c4bc8cc34be7d6c88739a63c916aa3d89a2d 100644 --- a/common/threading/Semaphores.hpp +++ b/common/threading/Semaphores.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/SocketPair.cpp b/common/threading/SocketPair.cpp index 138ebfbc4f71edfdcae8daf1ff6bb4d9ff1c37af..f36b10ab021eac11a0c2d249591f1020b2c0f685 100644 --- a/common/threading/SocketPair.cpp +++ b/common/threading/SocketPair.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/SocketPair.hpp" diff --git a/common/threading/SocketPair.hpp b/common/threading/SocketPair.hpp index 792e869fa38c1bf4a51f5eafc3f59b2cdba9c037..57e0d411959f55ba7b9ec03243e5ba29a4c57332 100644 --- a/common/threading/SocketPair.hpp +++ b/common/threading/SocketPair.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/SocketPairTest.cpp b/common/threading/SocketPairTest.cpp index 0230cb4ce42eb33f342c0420a1f339ed03f85095..01aa8aaf7ba69ab8dac6bebdde6ea06d677550a0 100644 --- a/common/threading/SocketPairTest.cpp +++ b/common/threading/SocketPairTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/common/threading/SubProcess.cpp b/common/threading/SubProcess.cpp index 5d9a53af10b03892fa8b4b42e8bef408224489bf..e88f56d139766fb165a1b235be8d27f151e7cf55 100644 --- a/common/threading/SubProcess.cpp +++ b/common/threading/SubProcess.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "SubProcess.hpp" #include "common/exception/Errnum.hpp" diff --git a/common/threading/SubProcess.hpp b/common/threading/SubProcess.hpp index 6d10db10ceedbd18575d2b681e3998366be0f283..75dca5e8ec5786a24f9672c657dae59347dbb510 100644 --- a/common/threading/SubProcess.hpp +++ b/common/threading/SubProcess.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/common/threading/System.cpp b/common/threading/System.cpp index a57b6f9c0d29199acbbfbd6db4f4e156f25277aa..248e6a056951c6f905d6ad1e8c6ba6cb61411452 100644 --- a/common/threading/System.cpp +++ b/common/threading/System.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> diff --git a/common/threading/System.hpp b/common/threading/System.hpp index 717a97cdc214c03db60897335fa9590b26972d2f..af7b4e30658fdc307d0d3fa48196aed306f3e565 100644 --- a/common/threading/System.hpp +++ b/common/threading/System.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/Thread.cpp b/common/threading/Thread.cpp index b25b8e1febf4da4878ac768623ebe0c64168b716..893ce1c970a7820a9ab3949d98447cd403cda25a 100644 --- a/common/threading/Thread.cpp +++ b/common/threading/Thread.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Thread.hpp" diff --git a/common/threading/Thread.hpp b/common/threading/Thread.hpp index 547798c9f4fda180d3bd4ddcc9c8a6782a781f37..dbb0c26a36f153ac1fbb062882457ee46ab83a10 100644 --- a/common/threading/Thread.hpp +++ b/common/threading/Thread.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/threading/ThreadingBlockingQTests.cpp b/common/threading/ThreadingBlockingQTests.cpp index aff40f5ab2810cca0d4fd896e5bfd595da013f16..4522b51337e934c58e46a1133978d5e52c860602 100644 --- a/common/threading/ThreadingBlockingQTests.cpp +++ b/common/threading/ThreadingBlockingQTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/BlockingQueue.hpp" diff --git a/common/threading/ThreadingMPTests.cpp b/common/threading/ThreadingMPTests.cpp index 96c315cc4d858a5e2384b0c8ffa885f34bbc7435..eb5008e439c4ac6e5ab57da6cde9dba31a9fd3e6 100644 --- a/common/threading/ThreadingMPTests.cpp +++ b/common/threading/ThreadingMPTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/common/threading/ThreadingMTTests.cpp b/common/threading/ThreadingMTTests.cpp index 02f43fd1fc6f0727a67aecfb2c8f6d79a11c16c1..2b5b12f9074e07fa4da7988efe9625703958c512 100644 --- a/common/threading/ThreadingMTTests.cpp +++ b/common/threading/ThreadingMTTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/MutexLocker.hpp" diff --git a/common/threading/ThreadingTests.cpp b/common/threading/ThreadingTests.cpp index 9f6efa74b9c6fee6729920932e4b275dc9d544e6..7a5f9643b737f8e6043f49987c7cd1645131f054 100644 --- a/common/threading/ThreadingTests.cpp +++ b/common/threading/ThreadingTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/MutexLocker.hpp" diff --git a/common/utils/GetOptThreadSafe.cpp b/common/utils/GetOptThreadSafe.cpp index ae72957caa5e61efd8d959ca0487e0fe39db3bb0..6cc91460c6adc4e1da670003891ce6e1e9ef5501 100644 --- a/common/utils/GetOptThreadSafe.cpp +++ b/common/utils/GetOptThreadSafe.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "GetOptThreadSafe.hpp" diff --git a/common/utils/GetOptThreadSafe.hpp b/common/utils/GetOptThreadSafe.hpp index 05e6e63578487914ad1df0cfc87eb7cf45b9249e..3dcefa4441a4bd9b005516b46eacf7f5a479b8ac 100644 --- a/common/utils/GetOptThreadSafe.hpp +++ b/common/utils/GetOptThreadSafe.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/Mutex.hpp" diff --git a/common/utils/GetOptThreadSafeTest.cpp b/common/utils/GetOptThreadSafeTest.cpp index 43a1eee1eed5dedec617e1ef91ba05ff0690b98e..ce653daff00fceb796fc2df3a33f8f7837209636 100644 --- a/common/utils/GetOptThreadSafeTest.cpp +++ b/common/utils/GetOptThreadSafeTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "GetOptThreadSafe.hpp" diff --git a/common/utils/Regex.cpp b/common/utils/Regex.cpp index 60a91ce24e797c9e28c5b71f79978db0d3a4a7b3..6867d481f68fe458edd60e5684af85e6215ed5c8 100644 --- a/common/utils/Regex.cpp +++ b/common/utils/Regex.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "Regex.hpp" #include "common/exception/Exception.hpp" diff --git a/common/utils/Regex.hpp b/common/utils/Regex.hpp index 5b5bf259d72a88d159f9c253345a7a8fdff418aa..b8f0d88cb4d2e48c9c24dfe0084e1a3897b8cb6d 100644 --- a/common/utils/Regex.hpp +++ b/common/utils/Regex.hpp @@ -1,8 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Wrapper around regex.h - * @description CTA Admin command using Google Protocol Buffers and XRootD SSI transport - * @copyright Copyright 2003,2018 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/common/utils/RegexTest.cpp b/common/utils/RegexTest.cpp index 1ed8f7f9891869492c8901bca6ae98b2b8cfbe34..23e122e97460ff2a4a7df90ae076c141fb67abcc 100644 --- a/common/utils/RegexTest.cpp +++ b/common/utils/RegexTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <gtest/gtest.h> #include <gmock/gmock.h> diff --git a/common/utils/UtilsTest.cpp b/common/utils/UtilsTest.cpp index 73a39cdc4121141f6c25d4ac1efdf70d7f4a774f..68d258af0a0726df2a8b3128641c032bd1b3daba 100644 --- a/common/utils/UtilsTest.cpp +++ b/common/utils/UtilsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/utils/utils.hpp" diff --git a/common/utils/strerror_r_wrapper.cpp b/common/utils/strerror_r_wrapper.cpp index 0f271815160a28259c64fee67337eb7edda1a866..9eda158098bed5e0c3243d42b34769d7aa42f771 100644 --- a/common/utils/strerror_r_wrapper.cpp +++ b/common/utils/strerror_r_wrapper.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/utils/strerror_r_wrapper.hpp" diff --git a/common/utils/strerror_r_wrapper.hpp b/common/utils/strerror_r_wrapper.hpp index d9f7bb76596e821731c6a37c62fe199ea732d327..e6cfe9fa58dd92d175240e0ccb6d9764234e30c5 100644 --- a/common/utils/strerror_r_wrapper.hpp +++ b/common/utils/strerror_r_wrapper.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/common/utils/utils.cpp b/common/utils/utils.cpp index 844ea93d0b25018b095c79b3a2fbbecfb1a555c7..c01718e6e854dde9e609693746e3b706499fdb81 100644 --- a/common/utils/utils.cpp +++ b/common/utils/utils.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/common/utils/utils.hpp b/common/utils/utils.hpp index 484b70597eeb43753326a7574764ff0f7660a10b..a0c152b68daee3e187197ff5ea7d85304b94c3a0 100644 --- a/common/utils/utils.hpp +++ b/common/utils/utils.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/continuousintegration/buildtree_runner/eos/buildEosDependencies.sh b/continuousintegration/buildtree_runner/eos/buildEosDependencies.sh index 48969b5cb1489bf0b27b69fe03d2c9235e87ed9c..800ebb595829368a88475a880a4c680e17b30c46 100755 --- a/continuousintegration/buildtree_runner/eos/buildEosDependencies.sh +++ b/continuousintegration/buildtree_runner/eos/buildEosDependencies.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + set -e DEVTOOLSET_ENABLE_SCRIPT=/opt/rh/devtoolset-8/enable diff --git a/continuousintegration/buildtree_runner/generate_librarydevice_PV.sh b/continuousintegration/buildtree_runner/generate_librarydevice_PV.sh index 69a49854ec3c3fb93813d373ce312900b84f51a2..a849091a2ac55c0d6b3f5c18ac4d919a8c0926e6 100755 --- a/continuousintegration/buildtree_runner/generate_librarydevice_PV.sh +++ b/continuousintegration/buildtree_runner/generate_librarydevice_PV.sh @@ -1,5 +1,20 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + LIBRARY_DIR=/opt/kubernetes/CTA/library mkdir -p ${LIBRARY_DIR} ${LIBRARY_DIR}/config ${LIBRARY_DIR}/resource @@ -25,7 +40,7 @@ for device in $(grep mediumx ${tempdir}/lsscsi-g.dump | awk {'print $7'} | sed - scsi_channel="$(echo $line | cut -d\: -f2)" drivenames=$(grep "^.${scsi_host}:${scsi_channel}:" ${tempdir}/lsscsi-g.dump | grep tape | sed -e 's/^.[0-9]\+:\([0-9]\+\):\([0-9]\+\):.*/VDSTK\1\2/' | xargs -itoto echo -n " toto") - drivedevices=$(grep "^.${scsi_host}:${scsi_channel}:" ${tempdir}/lsscsi-g.dump | grep tape | awk '{print $6}' | sed -e 's%/dev/%n%' | xargs -itoto echo -n " toto") + drivedevices=$(grep "^.${scsi_host}:${scsi_channel}:" ${tempdir}/lsscsi-g.dump | grep tape | awk '{print $6}' | sed -e 's%/dev/%n%' | xargs -itoto echo -n " toto") cat <<EOF > ${LIBRARY_DIR}/config/library-config-${device}.yaml apiVersion: v1 diff --git a/continuousintegration/buildtree_runner/generate_mhvtl_config.sh b/continuousintegration/buildtree_runner/generate_mhvtl_config.sh index 6c0f1e4da7468ec4b7e2c57c7bf02663d71fd537..71343dd994b3960fd82303e79f9865bd27c98477 100755 --- a/continuousintegration/buildtree_runner/generate_mhvtl_config.sh +++ b/continuousintegration/buildtree_runner/generate_mhvtl_config.sh @@ -1,5 +1,20 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + nlib=1 ndrive=3 # no more than 9 drives diff --git a/continuousintegration/buildtree_runner/prepareImage.sh b/continuousintegration/buildtree_runner/prepareImage.sh index 7776561329480d8bba28e6e880094707bcad7cd2..4a0d86ab32030a6ccc7f15f4ca052c6db0b3f003 100755 --- a/continuousintegration/buildtree_runner/prepareImage.sh +++ b/continuousintegration/buildtree_runner/prepareImage.sh @@ -1,5 +1,20 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + PUBLIC=true if [[ $1 == "cern" ]]; then PUBLIC=false diff --git a/continuousintegration/buildtree_runner/prepareImageStage1-rpms-public.sh b/continuousintegration/buildtree_runner/prepareImageStage1-rpms-public.sh index 5f3d80b2354e43f8464da65ba7c7bdb541027c6c..729524fd0e8f4db88a71826c1ef937a722871291 100755 --- a/continuousintegration/buildtree_runner/prepareImageStage1-rpms-public.sh +++ b/continuousintegration/buildtree_runner/prepareImageStage1-rpms-public.sh @@ -1,3 +1,18 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + (cd ~/CTA; sudo docker build . -f continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms-public/Dockerfile -t buildtree-runner-stage1) diff --git a/continuousintegration/buildtree_runner/prepareImageStage1-rpms.sh b/continuousintegration/buildtree_runner/prepareImageStage1-rpms.sh index 5df6369078e9effde8e00cf6718c7cf6bbbe24b4..0ccba40242b81f72e1c4c3e61059dd518d1d706f 100755 --- a/continuousintegration/buildtree_runner/prepareImageStage1-rpms.sh +++ b/continuousintegration/buildtree_runner/prepareImageStage1-rpms.sh @@ -1,3 +1,18 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + (cd ~/CTA; sudo docker build . -f continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms/Dockerfile -t buildtree-runner-stage1) diff --git a/continuousintegration/buildtree_runner/prepareImageStage2-eos.sh b/continuousintegration/buildtree_runner/prepareImageStage2-eos.sh index c3c6cb9c550e07b2fe54dc42d12083280cd5388e..0b31a0cc17b73887531c2ec9773e2531cfc95320 100755 --- a/continuousintegration/buildtree_runner/prepareImageStage2-eos.sh +++ b/continuousintegration/buildtree_runner/prepareImageStage2-eos.sh @@ -1,3 +1,18 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + (cd ~/CTA; sudo docker build . -f continuousintegration/docker/ctafrontend/cc7/buildtree-stage2-eos/Dockerfile -t buildtree-runner-stage2) diff --git a/continuousintegration/buildtree_runner/prepareImageStage2b-scripts.sh b/continuousintegration/buildtree_runner/prepareImageStage2b-scripts.sh index 1241760d9738dd4b115897d9d45ab49816edffda..7a2541eefceea5413361d956e76743e5547ebbae 100755 --- a/continuousintegration/buildtree_runner/prepareImageStage2b-scripts.sh +++ b/continuousintegration/buildtree_runner/prepareImageStage2b-scripts.sh @@ -1,3 +1,18 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + (cd ~/CTA; sudo docker build . -f continuousintegration/docker/ctafrontend/cc7/doublebuildtree-stage2b-scripts/Dockerfile -t doublebuildtree-runner) diff --git a/continuousintegration/buildtree_runner/prepareImageStage3-scripts.sh b/continuousintegration/buildtree_runner/prepareImageStage3-scripts.sh index 03ebe3b70b40c3cefa0e1e1109da78b0ac6b4101..e445c08d7ee5bbf07974f5042c06f9035c5c579a 100755 --- a/continuousintegration/buildtree_runner/prepareImageStage3-scripts.sh +++ b/continuousintegration/buildtree_runner/prepareImageStage3-scripts.sh @@ -1,3 +1,18 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + (cd ~/CTA; sudo docker build . -f continuousintegration/docker/ctafrontend/cc7/buildtree-stage3-scripts/Dockerfile -t buildtree-runner) diff --git a/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh b/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh index 989cd2579063c800e5d26404c0b8501d78c49b2e..d2ce55a913e9b6ed49ec7b1333077fd0e734edd4 100755 --- a/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh +++ b/continuousintegration/buildtree_runner/recreate_buildtree_running_environment.sh @@ -1,6 +1,21 @@ #!/bin/bash -e -# This script recreates an environment similar to the one created by +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# This script recreates an environment similar to the one created by # it-puppet-hostgroup-cta profiles. # (Re-)create the mhvtl environment diff --git a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh index 9429caf1197f56fa431741736677d5525eebad5c..43ca8b7f26b11de589bd56d6c7b6b0cbbbf86410 100755 --- a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh +++ b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapCTA.sh @@ -1,5 +1,20 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + set -x PUBLIC=true @@ -32,7 +47,7 @@ if [[ "$PUBLIC" == false ]] ; then for i in ~/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo; do sudo yum-config-manager --add-repo=$i done -else +else sudo wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle sudo wget https://git.ceph.com/release.asc -O /etc/pki/rpm-gpg/RPM-ASC-KEY-ceph diff --git a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapKubernetes.sh b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapKubernetes.sh index 37d6d87e3614f3b66c54f3186648cef844fc1c03..278a8e949e730c89da598601be15487d002f20c5 100755 --- a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapKubernetes.sh +++ b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapKubernetes.sh @@ -1,5 +1,20 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + echo Installing kubernetes sudo yum install -y kubernetes etcd flannel sudo systemctl enable etcd @@ -59,4 +74,3 @@ sudo kubectl create -f ${dnspoddir}/pod-dns.yaml rm -rf ${dnspoddir} echo "DONE. A reboot might be necessary to get kubernetes networking to work..." - diff --git a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapMHVTL.sh b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapMHVTL.sh index f7e28b74431785c038fbd9a59754af0d837a2bdc..101a43aca6ac540a9de56d5e3c39c52472f85f41 100755 --- a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapMHVTL.sh +++ b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapMHVTL.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + PUBLIC=true if [[ $1 == "cern" ]]; then PUBLIC=false @@ -17,12 +32,12 @@ else sudo make install cd kernel make - sudo make install + sudo make install sudo make_vtl_media -C /etc/mhvtl sudo systemctl start mhvtl.target sudo systemctl enable mhvtl.target - echo "Please check the result of 'make install'. If it has failed, reboot and rerun this script" + echo "Please check the result of 'make install'. If it has failed, reboot and rerun this script" fi echo "mhvtl bootstrap finished" diff --git a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapSystem.sh b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapSystem.sh index 9ee53fce2ac211d399472df2ddb3e2ecbdcf77cc..29cc9a08418f4943a98de3399bc95eaeaef9f791 100755 --- a/continuousintegration/buildtree_runner/vmBootstrap/bootstrapSystem.sh +++ b/continuousintegration/buildtree_runner/vmBootstrap/bootstrapSystem.sh @@ -1,5 +1,20 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + echo Initializing krb5.conf... sudo cp -fv krb5.conf /etc/krb5.conf diff --git a/continuousintegration/buildtree_runner/vmBootstrap/restartKubeDNS.sh b/continuousintegration/buildtree_runner/vmBootstrap/restartKubeDNS.sh index c46a0b14d4caebc7150634dc6afaddc288ee49ef..26826519db71f493a2ac408dd0656943788222f0 100755 --- a/continuousintegration/buildtree_runner/vmBootstrap/restartKubeDNS.sh +++ b/continuousintegration/buildtree_runner/vmBootstrap/restartKubeDNS.sh @@ -1,5 +1,20 @@ #!/bin/bash -e +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + echo Removing kubernetes DNS... sudo kubectl delete ns kube-system || true @@ -35,4 +50,4 @@ sudo kubectl create -f kubernetes/kube-system_ns.yaml || true sudo kubectl create -f ${dnspoddir}/dns-svc.yaml sudo kubectl create -f ${dnspoddir}/pod-dns.yaml -rm -rf ${dnspoddir} \ No newline at end of file +rm -rf ${dnspoddir} diff --git a/continuousintegration/ci_helpers/deploy-eos.sh b/continuousintegration/ci_helpers/deploy-eos.sh index 8a0b30ff442401b6976a0741ecb07d5af5a7ddc6..559c88fc492760cb05a42e8881c1656c87ab20b4 100755 --- a/continuousintegration/ci_helpers/deploy-eos.sh +++ b/continuousintegration/ci_helpers/deploy-eos.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # Derived from https://gitlab.cern.ch/ci-tools/ci-web-deployer # Merges Dockerfile and deploy-eos.sh # From commit 15c6bdccbee313df5601ce8df34fc4455fe92905 @@ -15,7 +30,7 @@ # EOS_PATH # HOOK -# +# # # Produces: # Uploads to $EOS_PATH in the EOS namespace the files found in CI_WEBSITE_DIR diff --git a/continuousintegration/ci_helpers/list_images.sh b/continuousintegration/ci_helpers/list_images.sh index 9155dcdcf317a9aa026ec8faab028ff1cb3e5ba9..073bb09136908567ae4999f914347a27c6490f02 100755 --- a/continuousintegration/ci_helpers/list_images.sh +++ b/continuousintegration/ci_helpers/list_images.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # env variables used: # DOCKER_LOGIN_USERNAME # DOCKER_LOGIN_PASSWORD diff --git a/continuousintegration/ci_helpers/rename_tag.sh b/continuousintegration/ci_helpers/rename_tag.sh index e9555b66901b64f02a8e432653d2755f54cfff04..51e12fa8085781cacae14b9f4732e9d00d0bd9bb 100755 --- a/continuousintegration/ci_helpers/rename_tag.sh +++ b/continuousintegration/ci_helpers/rename_tag.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # env variables used: # DOCKER_LOGIN_USERNAME # DOCKER_LOGIN_PASSWORD diff --git a/continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms-public/Dockerfile b/continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms-public/Dockerfile index f272b6655068bbbfbdea7ab8762cacdbb4348d03..83b2d59b3e7401cffc7eba94a78a9c41f5d8e2f6 100644 --- a/continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms-public/Dockerfile +++ b/continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms-public/Dockerfile @@ -1,22 +1,17 @@ -# ****************************************************************************** +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# ****************************************************************************/ +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # CTA generic image for system tests # FROM must be the first command in Dockerfile!! diff --git a/continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms/Dockerfile b/continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms/Dockerfile index 14af5aa6d8968204a5f9b27404738dd488aa8461..5ac4245b068c627b21554489123e98df6f08133f 100644 --- a/continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms/Dockerfile +++ b/continuousintegration/docker/ctafrontend/cc7/buildtree-stage1-rpms/Dockerfile @@ -1,22 +1,17 @@ -# ****************************************************************************** +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# ****************************************************************************/ +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # CTA generic image for system tests # FROM must be the first command in Dockerfile!! diff --git a/continuousintegration/docker/ctafrontend/cc7/buildtree-stage2-eos/Dockerfile b/continuousintegration/docker/ctafrontend/cc7/buildtree-stage2-eos/Dockerfile index e86b5f216102af04677764bb6691691128324535..e8feb52b6d91780a573de0985a7b0dc5b1e72e35 100644 --- a/continuousintegration/docker/ctafrontend/cc7/buildtree-stage2-eos/Dockerfile +++ b/continuousintegration/docker/ctafrontend/cc7/buildtree-stage2-eos/Dockerfile @@ -1,22 +1,17 @@ -# ****************************************************************************** +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# ****************************************************************************/ +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # CTA generic image for system tests # FROM must be the first command in Dockerfile!! @@ -45,4 +40,3 @@ RUN yum install -y\ ADD ${BASEDIR}/run.sh / ENTRYPOINT ["/run.sh"] - diff --git a/continuousintegration/docker/ctafrontend/cc7/buildtree-stage3-scripts/Dockerfile b/continuousintegration/docker/ctafrontend/cc7/buildtree-stage3-scripts/Dockerfile index 51baca4a4e6e1a195e1ae814d2ff246ab8f4b517..c2e2e173b5f52a75dd8803fc877ed5363d3b3253 100644 --- a/continuousintegration/docker/ctafrontend/cc7/buildtree-stage3-scripts/Dockerfile +++ b/continuousintegration/docker/ctafrontend/cc7/buildtree-stage3-scripts/Dockerfile @@ -1,22 +1,17 @@ -# ****************************************************************************** +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# ****************************************************************************/ +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # CTA generic image for system tests # FROM must be the first command in Dockerfile!! @@ -54,4 +49,3 @@ VOLUME [ "/sys/fs/cgroup" ] # And finally run systemd if the entrypoint is not overriden by docker ENTRYPOINT ["/usr/sbin/init"] - diff --git a/continuousintegration/docker/ctafrontend/cc7/ci_runner/Dockerfile b/continuousintegration/docker/ctafrontend/cc7/ci_runner/Dockerfile index 83cf7470ad9b5d2b5b973f5a43e1571cc321381c..bc80798d3fe117d0d4f482563b04e790b0ed0476 100644 --- a/continuousintegration/docker/ctafrontend/cc7/ci_runner/Dockerfile +++ b/continuousintegration/docker/ctafrontend/cc7/ci_runner/Dockerfile @@ -1,22 +1,17 @@ -# ****************************************************************************** +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# ****************************************************************************/ +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # CTA generic image for system tests # FROM must be the first command in Dockerfile!! diff --git a/continuousintegration/docker/ctafrontend/cc7/doublebuildtree-stage2b-scripts/Dockerfile b/continuousintegration/docker/ctafrontend/cc7/doublebuildtree-stage2b-scripts/Dockerfile index bf60facf99b0ad1fa865a811b6c32eaf7c734e23..4547853767bac4fefb44c2e330d1b4de86ad948a 100644 --- a/continuousintegration/docker/ctafrontend/cc7/doublebuildtree-stage2b-scripts/Dockerfile +++ b/continuousintegration/docker/ctafrontend/cc7/doublebuildtree-stage2b-scripts/Dockerfile @@ -1,22 +1,17 @@ -# ****************************************************************************** +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# ****************************************************************************/ +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # CTA generic image for system tests # FROM must be the first command in Dockerfile!! @@ -27,7 +22,7 @@ FROM buildtree-runner-stage1 ENV ORCHESTRATIONDIR="continuousintegration/orchestration/pods" \ LOCALORCHESTRATIONDIR="/opt/ci" \ BASEDIR="continuousintegration/docker/ctafrontend/cc7" \ - CTAREPODIR="/tmp/repo" + CTAREPODIR="/tmp/repo" # Add pod specific configuration ADD ${BASEDIR}/config ${LOCALORCHESTRATIONDIR} @@ -63,4 +58,3 @@ RUN touch /etc/doubleBuildtreeRunner # And finally run systemd if the entrypoint is not overriden by docker ENTRYPOINT ["/usr/sbin/init"] - diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/client.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/client.sh index dfa605e7977fed0eb86baaebaf6a71151e668cf2..ae42be1060582657bdf171a8b981ba00a76af1f4 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/client.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/client.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + . /opt/run/bin/init_pod.sh if [ ! -e /etc/buildtreeRunner ]; then diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctacli.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctacli.sh index ae146e19af42cc585d356e7fe2a4d11ce490b7c6..fd8875bbb8229377fded63d0da4c61361211c47c 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctacli.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctacli.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + . /opt/run/bin/init_pod.sh if [ ! -e /etc/buildtreeRunner ]; then diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm-log-wrapper.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm-log-wrapper.sh index d9c4861569c7c0a527abf830b9c70306a2e1c23c..f734ea064fd14d46ec570aa81a260db014449914 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm-log-wrapper.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm-log-wrapper.sh @@ -1,3 +1,18 @@ #!/bin/bash -/opt/run/bin/ctaeos-mgm.sh | tee -a /var/log/ctaeos-mgm.log +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +/opt/run/bin/ctaeos-mgm.sh | tee -a /var/log/ctaeos-mgm.log diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh index c2195e37699b5548d78ca1bbbe0b0e1705cc9d84..ea397b9ce3a93f088dfb00a6d110b745eea5420d 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh @@ -1,4 +1,19 @@ -#!/bin/bash +#!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. . /opt/run/bin/init_pod.sh @@ -78,7 +93,7 @@ test -f /etc/config/eos/xrd.cf.mgm && cat /etc/config/eos/xrd.cf.mgm >> /etc/xrd # need a deterministic key for taped and it must be forwardable in case of kubernetes # see [here](http://xrootd.org/doc/dev47/sec_config.htm#_Toc489606587) # can only have one key???? -echo -n '0 u:daemon g:daemon n:ctaeos+ N:6361884315374059521 c:1481241620 e:0 f:0 k:1a08f769e9c8e0c4c5a7e673247c8561cd23a0e7d8eee75e4a543f2d2dd3fd22' > /etc/eos.keytab +echo -n '0 u:daemon g:daemon n:ctaeos+ N:6361884315374059521 c:1481241620 e:0 f:0 k:1a08f769e9c8e0c4c5a7e673247c8561cd23a0e7d8eee75e4a543f2d2dd3fd22' > /etc/eos.keytab chmod 400 /etc/eos.keytab chown daemon:daemon /etc/eos.keytab mkdir -p /run/lock/subsys @@ -281,7 +296,7 @@ fi eos chmod 555 ${CTA_TEST_DIR} eos attr set sys.acl=g:eosusers:rwx!d,u:poweruser1:rwx+dp,u:poweruser2:rwx+dp,z:'!'u,u:root:+u ${CTA_TEST_DIR} eos attr set sys.archive.storage_class=ctaStorageClass ${CTA_TEST_DIR} - + # Link the attributes of CTA worklow directory to the test directory eos attr link ${CTA_WF_DIR} ${CTA_TEST_DIR} diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh index 67eaf5ec68fee669d37b2e82c25589102dba27d9..f472ae660bc08c69ca135745be3084fb5df9c797 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend.sh @@ -1,4 +1,19 @@ -#!/bin/bash +#!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. . /opt/run/bin/init_pod.sh diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend_bt.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend_bt.sh index e6b6167d6f993509e3778c3425005036f2f81e06..032cc94b2b4e3c2fadf6651736f28f3f6df4a44c 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend_bt.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctafrontend_bt.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + COREFILE=$(ls /var/log/tmp/ctafrontend-*.core | head -n 1) test -z ${COREFILE} && (echo "NO COREFILE FOUND, EXITING"; exit 1) diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctataped_bt.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctataped_bt.sh index 563d5ea7260b5c934c94d5af2d68cc260b0870d2..9909db83363a47527d4f5b3f9303fd5cca4186db 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctataped_bt.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctataped_bt.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + for COREFILE in $(ls /var/log/tmp/*cta-tpd-*.core); do test -z ${COREFILE} && (echo "NO COREFILE FOUND, EXITING"; exit 1) diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh index 16dd997d9eec40d88a20225105150637ab027fc3..df9e16f5020f378d5780993c4fa715cd72545b05 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/eos_configure_preprod.sh @@ -1,4 +1,20 @@ #!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + PREPROD_DIR=/eos/ctaeos/preprod eos mkdir ${PREPROD_DIR} diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init.sh index 7179e591bdb6c7520af87be358d817012021f969..33a6719f966816353b10b796a1b16fac8c618e5c 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init.sh @@ -1,4 +1,19 @@ -#!/bin/bash +#!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. . /opt/run/bin/init_pod.sh @@ -40,7 +55,7 @@ if [ "$KEEP_OBJECTSTORE" == "0" ]; then else if [[ $(rados -p $OBJECTSTOREPOOL --id $OBJECTSTOREID --namespace $OBJECTSTORENAMESPACE ls | wc -l) -gt 0 ]]; then echo "Rados objectstore ${OBJECTSTOREURL} is not empty: deleting content" - rados -p $OBJECTSTOREPOOL --id $OBJECTSTOREID --namespace $OBJECTSTORENAMESPACE ls | xargs -L 100 -P 100 rados -p $OBJECTSTOREPOOL --id $OBJECTSTOREID --namespace $OBJECTSTORENAMESPACE rm + rados -p $OBJECTSTOREPOOL --id $OBJECTSTOREID --namespace $OBJECTSTORENAMESPACE ls | xargs -L 100 -P 100 rados -p $OBJECTSTOREPOOL --id $OBJECTSTOREID --namespace $OBJECTSTORENAMESPACE rm fi cta-objectstore-initialize $OBJECTSTOREURL || die "ERROR: Could not Wipe the objectstore. cta-objectstore-initialize $OBJECTSTOREURL FAILED" echo "Rados objectstore ${OBJECTSTOREURL} content:" diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_database.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_database.sh index 4d42899a0a0df8be1ad1fd3c2b769e22c5353208..8232c8b0b36b75c71b970d6fe8e370b3aa70c7fc 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_database.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_database.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + DATABASE_CONFIG_DIR=/etc/config/database function get_conf { diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_library.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_library.sh index b1255f9fb9415e7a609bcaf15bbf73970f0bb558..7f1d794e31d04ead5490d38371d0382232269e66 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_library.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_library.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + LIBRARY_CONFIG_DIR=/etc/config/library function get_conf { @@ -60,7 +75,7 @@ EOF cat <<EOF >/tmp/library-rc.sh export LIBRARYTYPE=ibm -export LIBRARYNAME=$(get_conf library.name) +export LIBRARYNAME=$(get_conf library.name) export LIBRARYDEVICE=$(get_conf library.device) export DRIVENAMES=$(get_conf library.drivenames) export DRIVEDEVICES=$(get_conf library.drivedevices) diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_objectstore.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_objectstore.sh index dcc3346f5b8a3d0381607bdaf274665acb3c0956..a03cb66b2561f7f3fedf0ad12218dedb76430d91 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_objectstore.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_objectstore.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + OBJECTSTORE_CONFIG_DIR=/etc/config/objectstore function get_conf { diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_pod.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_pod.sh index c5584914afcf8621ded3c0f0374ac6e6eff1d209..dc68881e31bd4bf831ca4fbe50dbc665d504b5b5 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_pod.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/init_pod.sh @@ -1,6 +1,21 @@ # This file must be sourced from another shell script # . /opt/run/bin/init_pod.sh +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + LOGMOUNT=/mnt/logs PV_PATH="" diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/kdc.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/kdc.sh index 8793b2f554c0343c52de9619b0d2472eb5a73b20..d2260ec52cf70ae085e1f36b17be83d813ff2bc8 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/kdc.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/kdc.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + . /opt/run/bin/init_pod.sh # Install missing RPMs (kdc) @@ -37,7 +52,7 @@ echo "Populating kdc... " for NAME in ${KEYTABS}; do echo -n " Generating /root/$(basename ${NAME}).keytab for ${NAME}" - /usr/lib/heimdal/bin/kadmin -l -r TEST.CTA ext_keytab --keytab=/root/$(basename ${NAME}).keytab ${NAME} && echo OK || echo FAILED + /usr/lib/heimdal/bin/kadmin -l -r TEST.CTA ext_keytab --keytab=/root/$(basename ${NAME}).keytab ${NAME} && echo OK || echo FAILED done echo Done. diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh index 03f11edf06487f3507bbb6a871cc060914d9ffa1..d1406a94023efbf9a92eecd1d6fbd1916ef09706 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/mkSymlinks.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # make symbolic links to all CTA binaries. diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/oracleunittests.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/oracleunittests.sh index 4646f76ee001ef1a7fc58291d732a9e9287350b7..8014061c88ee6da2d01c7d533d3cb57625aa9260 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/oracleunittests.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/oracleunittests.sh @@ -1,20 +1,19 @@ -#!/bin/bash - -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +#!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. . /opt/run/bin/init_pod.sh diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/rmcd.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/rmcd.sh index 74067b263b80599aa686ae589151e3468f8370ae..67a004aa62c90332dd2c672d19fd5c6d85d52366 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/rmcd.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/rmcd.sh @@ -1,4 +1,19 @@ -#!/bin/bash +#!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. . /opt/run/bin/init_pod.sh diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/start_quarkdb.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/start_quarkdb.sh index 765d2ccac7cc8b3138ffc8dff78464e054bcf4e2..455daf198546b5c4385a34cb50e170581f046669 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/start_quarkdb.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/start_quarkdb.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # I need 2 level of directories for quarkdb: # /var/lib/<possible PV mount point>/<directory owned by xrootd> # this way I can either use: diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/taped.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/taped.sh index a848acbeca5138b42d46975e5a17b63f7404a419..6de89b95b1a149837a21ccc0eea2e3771c287f8f 100755 --- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/taped.sh +++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/taped.sh @@ -1,4 +1,19 @@ -#!/bin/bash +#!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. . /opt/run/bin/init_pod.sh @@ -34,7 +49,7 @@ echo ${DATABASEURL} > /etc/cta/cta-catalogue.conf # cta-taped setup echo "taped BufferSizeBytes 262144" > /etc/cta/cta-taped.conf echo "taped BufferCount 200" >> /etc/cta/cta-taped.conf - echo "taped MountCriteria 2000000, 100" >> /etc/cta/cta-taped.conf + echo "taped MountCriteria 2000000, 100" >> /etc/cta/cta-taped.conf echo "ObjectStore BackendPath $OBJECTSTOREURL" >> /etc/cta/cta-taped.conf echo "${tpconfig}" > /etc/cta/TPCONFIG diff --git a/continuousintegration/docker/ctafrontend/cc7/run.sh b/continuousintegration/docker/ctafrontend/cc7/run.sh index 76474a0ad0b37cbfce88b910d9370c749c2388da..1b870dc497af6758c716dd0f2a455aefb1a0e06d 100755 --- a/continuousintegration/docker/ctafrontend/cc7/run.sh +++ b/continuousintegration/docker/ctafrontend/cc7/run.sh @@ -1,4 +1,19 @@ -#!/bin/sh +#!/bin/sh + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. echo "Default run command: sleeping forever" # sleep forever but exit immediately when pod is deleted diff --git a/continuousintegration/orchestration/create_instance.sh b/continuousintegration/orchestration/create_instance.sh index b7a674b01168390ab30156f7d4f93a50a00ceeda..153576a1ef3978bacb4fbd4a6ea577bb1ad84ca3 100755 --- a/continuousintegration/orchestration/create_instance.sh +++ b/continuousintegration/orchestration/create_instance.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # CTA registry secret name ctareg_secret='ctaregsecret' @@ -70,7 +85,7 @@ while getopts "n:o:d:e:a:p:b:B:E:SDOUm:" o; do ;; m) model=${OPTARG} - if [ "-${model}-" != "-ibm-" ] && [ "-${model}-" != "-mhvtl-" ] ; then error="${error}Library model ${model} does not exist\n"; fi + if [ "-${model}-" != "-ibm-" ] && [ "-${model}-" != "-mhvtl-" ] ; then error="${error}Library model ${model} does not exist\n"; fi ;; n) instance=${OPTARG} @@ -181,7 +196,7 @@ else echo "DB content will be wiped" fi -if [ $keepobjectstore == 1 ] ; then +if [ $keepobjectstore == 1 ] ; then echo "objecstore content will be kept" else echo "objectstore content will be wiped" @@ -325,7 +340,7 @@ echo OK echo -n "Configuring KDC clients (frontend, cli...) " kubectl --namespace=${instance} exec kdc cat /etc/krb5.conf | kubectl --namespace=${instance} exec -i client -- bash -c "cat > /etc/krb5.conf" -kubectl --namespace=${instance} exec kdc cat /etc/krb5.conf | kubectl --namespace=${instance} exec -i ctacli -- bash -c "cat > /etc/krb5.conf" +kubectl --namespace=${instance} exec kdc cat /etc/krb5.conf | kubectl --namespace=${instance} exec -i ctacli -- bash -c "cat > /etc/krb5.conf" kubectl --namespace=${instance} exec kdc cat /etc/krb5.conf | kubectl --namespace=${instance} exec -i ctafrontend -- bash -c "cat > /etc/krb5.conf" kubectl --namespace=${instance} exec kdc cat /etc/krb5.conf | kubectl --namespace=${instance} exec -i ctaeos -- bash -c "cat > /etc/krb5.conf" kubectl --namespace=${instance} exec kdc cat /root/ctaadmin1.keytab | kubectl --namespace=${instance} exec -i ctacli -- bash -c "cat > /root/ctaadmin1.keytab" @@ -380,7 +395,7 @@ echo OK echo -n "Waiting for EOS to be configured" for ((i=0; i<300; i++)); do echo -n "." - [ "`kubectl --namespace=${instance} exec ctaeos -- bash -c "[ -f /EOSOK ] && echo -n Ready || echo -n Not ready"`" = "Ready" ] && break + [ "`kubectl --namespace=${instance} exec ctaeos -- bash -c "[ -f /EOSOK ] && echo -n Ready || echo -n Not ready"`" = "Ready" ] && break sleep 1 done [ "`kubectl --namespace=${instance} exec ctaeos -- bash -c "[ -f /EOSOK ] && echo -n Ready || echo -n Not ready"`" = "Ready" ] || die "TIMED OUT" diff --git a/continuousintegration/orchestration/delete_instance.sh b/continuousintegration/orchestration/delete_instance.sh index 95ce1c489b706aa488c62041c1feb255e9baf81d..423e4af9eec6c94edc91beaec6e7bbb0e41e4250 100755 --- a/continuousintegration/orchestration/delete_instance.sh +++ b/continuousintegration/orchestration/delete_instance.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + LOG_DIR=/tmp # by default writte tar files of logs to /tmp collectlogs=1 # by default collect all container logs diff --git a/continuousintegration/orchestration/recycle_librarydevice_PV.sh b/continuousintegration/orchestration/recycle_librarydevice_PV.sh index 9f3290d8d3fa153782dacd4156bf949035677aaa..c007439735a92de27b547993ed7cfa71389e8603 100755 --- a/continuousintegration/orchestration/recycle_librarydevice_PV.sh +++ b/continuousintegration/orchestration/recycle_librarydevice_PV.sh @@ -1,5 +1,19 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. LIBRARY_DIR="/opt/librarydevice" diff --git a/continuousintegration/orchestration/run_systemtest.sh b/continuousintegration/orchestration/run_systemtest.sh index 149b3238006367862fd0fbee4e7e07761571b166..32ea4c561e0eb7248f2da222a577ae377aadf92f 100755 --- a/continuousintegration/orchestration/run_systemtest.sh +++ b/continuousintegration/orchestration/run_systemtest.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # makes sure that set -e from gitlab CI scripts is not enabled set +e # enable pipefail to get the return code of a failed command in pipeline and not the return code of the last command in pipeline: @@ -121,7 +136,7 @@ if [ -z "${namespace}" ]; then fi if [ -z "${systemtest_script}" ]; then - echo "a systemtest script is mandatory" 1>&2 + echo "a systemtest script is mandatory" 1>&2 usage fi @@ -136,7 +151,7 @@ if [ $useoracle == 1 ] ; then die "Oracle database requested but not database configuration was found." else CREATE_OPTS="${CREATE_OPTS} -d ${database_configmap}" - fi + fi fi if [ $useceph == 1 ] ; then @@ -144,7 +159,7 @@ if [ $useceph == 1 ] ; then if [ "-${objectstore_configmap}-" == "--" ]; then die "Ceph objecstore requested but not objectstore configuration was found." else - CREATE_OPTS="${CREATE_OPTS} -o ${objectstore_configmap}" + CREATE_OPTS="${CREATE_OPTS} -o ${objectstore_configmap}" fi fi diff --git a/continuousintegration/orchestration/tests/CMakeLists.txt b/continuousintegration/orchestration/tests/CMakeLists.txt index 700fd74428433736ea3ce63d25e922bb496d664d..f4a498cc3cd21598dd3d64e66f271016280dbbaf 100644 --- a/continuousintegration/orchestration/tests/CMakeLists.txt +++ b/continuousintegration/orchestration/tests/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) diff --git a/continuousintegration/orchestration/tests/archive_retrieve.sh b/continuousintegration/orchestration/tests/archive_retrieve.sh index 1dbd6a0ec59d5b4b0bfca50ca74eed8a21a7ad2f..027dd5f707709aa0575014fe6116bdd02939c248 100755 --- a/continuousintegration/orchestration/tests/archive_retrieve.sh +++ b/continuousintegration/orchestration/tests/archive_retrieve.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF diff --git a/continuousintegration/orchestration/tests/client-ar-abortPrepare.cpp b/continuousintegration/orchestration/tests/client-ar-abortPrepare.cpp index 6ddcc42a829e6c0fefa0b4551b6c19b7dd0dad74..ddcfee8cdc14798ced85bbb82748997c7f1e2457 100644 --- a/continuousintegration/orchestration/tests/client-ar-abortPrepare.cpp +++ b/continuousintegration/orchestration/tests/client-ar-abortPrepare.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <getopt.h> diff --git a/continuousintegration/orchestration/tests/client_ar.sh b/continuousintegration/orchestration/tests/client_ar.sh index cf253d3c88bb0d30d1df144125200f565637448e..7104d76f67ee3408a91ffffce9b9768447851195 100644 --- a/continuousintegration/orchestration/tests/client_ar.sh +++ b/continuousintegration/orchestration/tests/client_ar.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + EOSINSTANCE=ctaeos EOS_BASEDIR=/eos/ctaeos/cta TEST_FILE_NAME_BASE=test @@ -431,7 +446,7 @@ while [[ $SECONDS_PASSED < WAIT_FOR_DRIVES_DOWN_TIMEOUT ]]; do echo -n "." SECONDS_PASSED=$SECONDS_PASSED+1 if [[ $SECONDS_PASSED -gt $WAIT_FOR_DRIVES_DOWN_TIMEOUT ]]; then - die "ERROR: Timeout reach for trying to put all drives down" + die "ERROR: Timeout reach for trying to put all drives down" fi done @@ -489,7 +504,7 @@ WAIT_FOR_RETRIEVE_QUEUES_CLEAR_TIMEOUT=$((60)) REMAINING_REQUESTS=`admin_cta --json sq | jq -r 'map(select (.mountType == "RETRIEVE") | .queuedFiles | tonumber) | add'` echo "${REMAINING_REQUESTS} requests remaining." # Prevent the result from being empty -if [ -z "$REMAINING_REQUESTS" ]; then REMAINING_REQUESTS='0'; fi +if [ -z "$REMAINING_REQUESTS" ]; then REMAINING_REQUESTS='0'; fi while [[ ${REMAINING_REQUESTS} > 0 ]]; do echo "$(date +%s): Waiting for retrieve queues to be cleared: Seconds passed = ${SECONDS_PASSED}" sleep 1 @@ -527,7 +542,7 @@ fi DELETED=0 if [[ $REMOVE == 1 ]]; then echo "Waiting for files to be removed from EOS and tapes" - # . /root/client_helper.sh + # . /root/client_helper.sh admin_kdestroy &>/dev/null admin_kinit &>/dev/null if $(admin_cta admin ls &>/dev/null); then diff --git a/continuousintegration/orchestration/tests/client_ar_abortPrepare.py b/continuousintegration/orchestration/tests/client_ar_abortPrepare.py index e851c42f25f8863328d095dca092d5875a4026e1..d480786c9f66c56a24a558737aeabd5719ea94d9 100755 --- a/continuousintegration/orchestration/tests/client_ar_abortPrepare.py +++ b/continuousintegration/orchestration/tests/client_ar_abortPrepare.py @@ -1,5 +1,20 @@ #!/usr/bin/python3.6 +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import argparse import subprocess import os @@ -34,7 +49,7 @@ env['KRB5CCNAME'] = '/tmp/' + options.eos_poweruser + '/krb5cc_0' env['XrdSecPROTOCOL'] = 'krb5' try: xattrRes = subprocess.run( - ['xrdfs', options.eos_instance, 'query', 'opaquefile', + ['xrdfs', options.eos_instance, 'query', 'opaquefile', filepath+'?mgm.pcmd=xattr&mgm.subcmd=get&mgm.xattrname=sys.retrieve.req_id'], env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE) xattrRes.check_returncode() @@ -45,7 +60,7 @@ except subprocess.CalledProcessError as cpe: print(cpe.stdout) errFile = open(xattrgeterrorfilepath, 'w') errFile.write(str(xattrRes.stderr)) - errFile.close() + errFile.close() except Exception as e: print('ERROR with xrdfs query for file ' + options.file + ': got exception of type: ' + str(type(e)) + '['.join(arg + ', ' for arg in e.args) +'] full logs in ' + xattrgeterrorfilepath) @@ -82,7 +97,7 @@ except subprocess.CalledProcessError as cpe: print(cpe.stdout.decode('utf8')) errFile = open(aborterrorfilepath, 'w') errFile.write(str(abortRes.stderr)) - errFile.close() + errFile.close() except Exception as e: print('ERROR with xrdfs prepare -a for file ' + options.file + ': got exception of type: ' + str(type(e)) + '['.join(arg + ', ' for arg in e.args) +'] full logs in '+ aborterrorfilepath) @@ -90,8 +105,3 @@ except Exception as e: errFile = open(aborterrorfilepath, 'w') errFile.write(str(e)) errFile.close() - - - - - diff --git a/continuousintegration/orchestration/tests/client_helper.sh b/continuousintegration/orchestration/tests/client_helper.sh index 394d34024315a6e4ddae32e06f96341d1999baee..c3910a2e7daed0ca69eb3cb99af1b7bf91667a3a 100644 --- a/continuousintegration/orchestration/tests/client_helper.sh +++ b/continuousintegration/orchestration/tests/client_helper.sh @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. ### # Helper functions for tests running on client pod. @@ -8,7 +22,7 @@ # admin_kinit: kinit for CTAADMIN_USER # admin_klist: klist for CTAADMIN_USER # admin_kdestroy: kdestroy for CTAADMIN_USER -# admin_cta: runs a cta command as CTAADMIN_USER +# admin_cta: runs a cta command as CTAADMIN_USER EOSPOWER_USER="poweruser1" CTAADMIN_USER="ctaadmin2" diff --git a/continuousintegration/orchestration/tests/client_prepare_file.sh b/continuousintegration/orchestration/tests/client_prepare_file.sh index 1c2f41e77cdca3d1d57433bd4bf098b05e5eea44..7732373c6fa6f9ae9942626698b467f55708c43a 100755 --- a/continuousintegration/orchestration/tests/client_prepare_file.sh +++ b/continuousintegration/orchestration/tests/client_prepare_file.sh @@ -1,5 +1,20 @@ #!/bin/sh +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + EOSINSTANCE=ctaeos EOS_BASEDIR=/eos/ctaeos/cta @@ -10,7 +25,7 @@ die() { } usage() { cat <<EOF 1>&2 -Usage: $0 [-e EOSINSTANCE] +Usage: $0 [-e EOSINSTANCE] EOF exit 1 } @@ -79,4 +94,4 @@ done # if test ${SECONDS_PASSED} == ${WAIT_FOR_RETRIEVED_FILE_TIMEOUT}; then # die "$(date +%s): Timed out after ${WAIT_FOR_RETRIEVED_FILE_TIMEOUT} seconds waiting for file to be retrieved from tape" # fi -#done \ No newline at end of file +#done diff --git a/continuousintegration/orchestration/tests/grep_xrdlog_mgm_for_error.sh b/continuousintegration/orchestration/tests/grep_xrdlog_mgm_for_error.sh index 9280b2d2af982b6e792ade687083bbf310d87eb6..db57977ef152c1751cf6a410e9778035f0a4a4cb 100755 --- a/continuousintegration/orchestration/tests/grep_xrdlog_mgm_for_error.sh +++ b/continuousintegration/orchestration/tests/grep_xrdlog_mgm_for_error.sh @@ -1,5 +1,20 @@ #!/bin/sh +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + EOS_MGM_LOG=/var/log/eos/mgm/xrdlog.mgm if test -f ${EOS_MGM_LOG}; then diff --git a/continuousintegration/orchestration/tests/grpc_dir_inject.sh b/continuousintegration/orchestration/tests/grpc_dir_inject.sh index 7cfb574abec6d0e5e638fee447a2cb0222923d59..a1afaf91d485c992e33407d5d7b57f7049ed0598 100644 --- a/continuousintegration/orchestration/tests/grpc_dir_inject.sh +++ b/continuousintegration/orchestration/tests/grpc_dir_inject.sh @@ -1,5 +1,20 @@ #!/bin/sh +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # Migration tools parameters #EOSINSTANCE=ctaeos #EOS_CMD="/usr/bin/eos root://${EOSINSTANCE}" @@ -94,4 +109,3 @@ ${EOS_TEST_DIR_INJECT} --fileid ${TEST_FILE_ID} --path ${CASTOR_PREFIX}/test_dir [ $? -eq 0 ] || error "Creating directory with self-assigned file id failed with error $?" ${EOS_CMD} fileinfo ${EOS_PREFIX}/test_dir2 ${EOS_CMD} rmdir ${EOS_PREFIX}/test_dir2 - diff --git a/continuousintegration/orchestration/tests/migration.sh b/continuousintegration/orchestration/tests/migration.sh index 45e81f2c78850a911b3059769b5df5a89c2c31dd..3de57d23c3457d8f5ea0be1897f83257f124d5c6 100755 --- a/continuousintegration/orchestration/tests/migration.sh +++ b/continuousintegration/orchestration/tests/migration.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF diff --git a/continuousintegration/orchestration/tests/multiple_repack.sh b/continuousintegration/orchestration/tests/multiple_repack.sh index b3f7b9896f11f49571eb8ab1f38a8590f6591119..42cb3bce7e32c4b2d8a9d9b2b0c3d00d15464426 100755 --- a/continuousintegration/orchestration/tests/multiple_repack.sh +++ b/continuousintegration/orchestration/tests/multiple_repack.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + #default CI EOS instance EOSINSTANCE=ctaeos EOSBASEDIR=/eos/ctaeos/preprod @@ -108,10 +123,10 @@ done nbDestinationTape=${#destinationTapes[@]} # Compute the number of files to copy and the size of each file -fileSizeToCopy=`perl -e "use POSIX; print int( ceil((( (${SIZE_OF_TAPES} * 1000) - ((6 * 80) / 1000)) / ${NB_FILES_PER_TAPE})) )"` +fileSizeToCopy=`perl -e "use POSIX; print int( ceil((( (${SIZE_OF_TAPES} * 1000) - ((6 * 80) / 1000)) / ${NB_FILES_PER_TAPE})) )"` nbFilesToCopy=$(($NB_FILES_PER_TAPE * $nbTapesToRepack)) -echo +echo echo "file size to copy (in KB) = $fileSizeToCopy" echo "Nb files to copy = $nbFilesToCopy" @@ -168,10 +183,10 @@ echo "End of multiple_repack test" #else # for vid in $successfulRepackTapes[@] # do -# bash /root/repack_generate_report.sh -v $vid +# bash /root/repack_generate_report.sh -v $vid # done # echo "End of multiple repack test" # exit 0 #fi -# echo $nb_tapes_to_fill \ No newline at end of file +# echo $nb_tapes_to_fill diff --git a/continuousintegration/orchestration/tests/multiple_repack_wrapper.sh b/continuousintegration/orchestration/tests/multiple_repack_wrapper.sh index 40e789c5805b182a0299b47684533580e6dbea2b..60cd83e8bf29b4b69a3170866f95a898663a41b6 100755 --- a/continuousintegration/orchestration/tests/multiple_repack_wrapper.sh +++ b/continuousintegration/orchestration/tests/multiple_repack_wrapper.sh @@ -1,3 +1,18 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + #default CI EOS instance EOSINSTANCE=ctaeos #default Repack timeout diff --git a/continuousintegration/orchestration/tests/nightly1.sh b/continuousintegration/orchestration/tests/nightly1.sh index c37d0fb38f964b12f8a76d70a4ea9ee4eda9019b..de7397d02fb95b39074c80274ae214e2e6edf335 100644 --- a/continuousintegration/orchestration/tests/nightly1.sh +++ b/continuousintegration/orchestration/tests/nightly1.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + cd /root FAIL=0 diff --git a/continuousintegration/orchestration/tests/preflighttest.sh b/continuousintegration/orchestration/tests/preflighttest.sh index 6b21213d748988c7b1e7bebff6e2bc42329d38ac..b5f9f11d8ad44dba11d240dd3e2725e4cec729fb 100755 --- a/continuousintegration/orchestration/tests/preflighttest.sh +++ b/continuousintegration/orchestration/tests/preflighttest.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF @@ -36,7 +51,7 @@ FLIGHTTEST_RC=0 # flighttest return code # # if the installed xrootd version is not the same as the one used to compile eos # Third Party Copy can be broken -# +# # Valid check: # [root@eosctafst0017 ~]# xrdfs # root://pps-ngtztag6p5ht-minion-2.cern.ch:1101 query config tpc diff --git a/continuousintegration/orchestration/tests/prepare_tests.sh b/continuousintegration/orchestration/tests/prepare_tests.sh index f908d33f48f46e29232bc0aa735c851f757bdffb..369b30f379b362fa2e5d7c1d71743a70e8772f21 100755 --- a/continuousintegration/orchestration/tests/prepare_tests.sh +++ b/continuousintegration/orchestration/tests/prepare_tests.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF @@ -89,7 +104,7 @@ kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin --json version | jq kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin --json tapepool ls | \ jq -r '.[] | .name' | \ - xargs -I{} kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin tapepool rm -n {} + xargs -I{} kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin tapepool rm -n {} kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin --json storageclass ls | \ jq -r '.[] | " -n " + .name' | \ @@ -110,7 +125,7 @@ kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin --json version | jq --vo vo \ --readmaxdrives 1 \ --writemaxdrives 1 \ - --comment "vo" + --comment "vo" kubectl --namespace ${NAMESPACE} exec ctacli -- cta-admin tapepool add \ --name ctasystest \ --vo vo \ @@ -208,7 +223,7 @@ echo "Labeling tapes:" echo " cta-tape-label --vid ${VID}" # for debug use # kubectl --namespace ${NAMESPACE} exec tpsrv01 -c taped -- cta-tape-label --vid ${VID} --debug - kubectl --namespace ${NAMESPACE} exec tpsrv01 -c taped -- cta-tape-label --vid ${VID} + kubectl --namespace ${NAMESPACE} exec tpsrv01 -c taped -- cta-tape-label --vid ${VID} if [ $? -ne 0 ]; then echo "ERROR: failed to label the tape ${VID}" exit 1 diff --git a/continuousintegration/orchestration/tests/repack_helper.sh b/continuousintegration/orchestration/tests/repack_helper.sh index aea6b308faa77602a2cad4b15ed239c024f0a2fb..2db1ad9a954351e9d6ca3380609630995a958056 100755 --- a/continuousintegration/orchestration/tests/repack_helper.sh +++ b/continuousintegration/orchestration/tests/repack_helper.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF diff --git a/continuousintegration/orchestration/tests/repack_systemtest.sh b/continuousintegration/orchestration/tests/repack_systemtest.sh index c1afc4f561166e884d95c596fe40c6ed7695fda3..65e233ee10706757adcc264101f7be894bd1f837 100755 --- a/continuousintegration/orchestration/tests/repack_systemtest.sh +++ b/continuousintegration/orchestration/tests/repack_systemtest.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + #default CI EOS instance EOSINSTANCE=ctaeos #default Repack timeout @@ -201,7 +216,7 @@ if test 1 = `admin_cta --json repack ls --vid ${VID_TO_REPACK} | jq -r '[.[0] | exit 1 fi -echo +echo destinationInfos=`admin_cta --json repack ls --vid ${VID_TO_REPACK} | jq -r ". [0] | .destinationInfos"` if [[ `echo $destinationInfos | jq length` != 0 ]] then diff --git a/continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh b/continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh index c8f1708f271ce9f8e2d0fd943c4e9397c76aa2b5..52c4264354a463f4e872358f893f9cb22f50c92d 100755 --- a/continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh +++ b/continuousintegration/orchestration/tests/repack_systemtest_wrapper.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + BASE_REPORT_DIRECTORY=/var/log usage() { cat <<EOF 1>&2 @@ -62,7 +77,7 @@ roundTripRepack() { echo "***********************************************************" VID_TO_REPACK=$(getFirstVidContainingFiles) - if [ "$VID_TO_REPACK" != "null" ] + if [ "$VID_TO_REPACK" != "null" ] then echo echo "Launching the repack \"just move\" test on VID ${VID_TO_REPACK} (with backpressure)" @@ -76,7 +91,7 @@ roundTripRepack() { kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape reclaim --vid ${VID_TO_REPACK} VID_TO_REPACK=$(getFirstVidContainingFiles) - if [ "$VID_TO_REPACK" != "null" ] + if [ "$VID_TO_REPACK" != "null" ] then echo echo "Launching the repack \"just move\" test on VID ${VID_TO_REPACK}" @@ -88,14 +103,14 @@ roundTripRepack() { echo "Reclaiming tape ${VID_TO_REPACK}" kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape reclaim --vid ${VID_TO_REPACK} - echo + echo echo "*******************************************************************" echo "STEP $1. Launching a round trip repack \"just move\" request TEST OK" echo "*******************************************************************" } repackDisableTape() { - echo + echo echo "*****************************************************" echo "STEP $1. Launching a Repack Request on a disabled tape" echo "*****************************************************" @@ -130,13 +145,13 @@ repackDisableTape() { } repackJustMove() { - echo + echo echo "*********************************************" echo "STEP $1. Testing Repack \"Just move\" workflow" echo "*********************************************" VID_TO_REPACK=$(getFirstVidContainingFiles) - if [ "$VID_TO_REPACK" != "null" ] + if [ "$VID_TO_REPACK" != "null" ] then echo echo "Launching the repack test \"just move\" on VID ${VID_TO_REPACK}" @@ -148,7 +163,7 @@ repackJustMove() { echo "Reclaiming tape ${VID_TO_REPACK}" kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape reclaim --vid ${VID_TO_REPACK} - echo + echo echo "*****************************************************" echo "STEP $1. Testing Repack \"Just move\" workflow TEST OK" echo "*****************************************************" @@ -161,10 +176,10 @@ repackJustAddCopies() { echo "**************************************************************************" VID_TO_REPACK=$(getFirstVidContainingFiles) - if [ "$VID_TO_REPACK" != "null" ] + if [ "$VID_TO_REPACK" != "null" ] then echo "Launching the repack \"just add copies\" test on VID ${VID_TO_REPACK} with all copies already on CTA" - kubectl -n ${NAMESPACE} exec client -- bash /root/repack_systemtest.sh -v ${VID_TO_REPACK} -b ${REPACK_BUFFER_URL} -a -r ${BASE_REPORT_DIRECTORY}/Step$1-JustAddCopiesAllCopiesInCTA -n ctasystest + kubectl -n ${NAMESPACE} exec client -- bash /root/repack_systemtest.sh -v ${VID_TO_REPACK} -b ${REPACK_BUFFER_URL} -a -r ${BASE_REPORT_DIRECTORY}/Step$1-JustAddCopiesAllCopiesInCTA -n ctasystest else echo "No vid found to repack" exit 1 @@ -175,7 +190,7 @@ repackJustAddCopies() { nbRetrievedFiles=`echo ${repackJustAddCopiesResult} | jq -r ".retrievedFiles"` nbArchivedFiles=`echo ${repackJustAddCopiesResult} | jq -r ".archivedFiles"` - if [ $nbArchivedFiles == 0 ] && [ $nbRetrievedFiles == 0 ] + if [ $nbArchivedFiles == 0 ] && [ $nbRetrievedFiles == 0 ] then echo "Nb retrieved files = 0 and nb archived files = 0. Test OK" else @@ -200,7 +215,7 @@ repackCancellation() { kubectl -n ${NAMESPACE} exec ctacli -- cta-admin drive down VD.* --reason "Putting drive down for repack test" VID_TO_REPACK=$(getFirstVidContainingFiles) - if [ "$VID_TO_REPACK" != "null" ] + if [ "$VID_TO_REPACK" != "null" ] then echo echo "Launching a repack request on VID ${VID_TO_REPACK}" @@ -228,7 +243,7 @@ repackCancellation() { do lastExpandedFSeq=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json repack ls --vid ${VID_TO_REPACK} | jq -r ".[0] | .lastExpandedFseq" || 0` done - + echo "Expansion finished, deleting the Repack Request" kill $pid kubectl -n ${NAMESPACE} exec ctacli -- cta-admin repack rm --vid ${VID_TO_REPACK} || echo "Error while removing the Repack Request. Test FAILED" @@ -237,8 +252,8 @@ repackCancellation() { echo "Checking that the Retrieve queue of the VID ${VID_TO_REPACK} contains the Retrieve Requests created from the Repack Request expansion" nbFilesOnTapeToRepack=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json tapefile ls --vid ${VID_TO_REPACK} | jq "length"` echo "Nb files on tape = $nbFilesOnTapeToRepack" - - nbFilesOnQueue=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json showqueues | jq -r ". [] | select(.vid == \"${VID_TO_REPACK}\") | .queuedFiles"` + + nbFilesOnQueue=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json showqueues | jq -r ". [] | select(.vid == \"${VID_TO_REPACK}\") | .queuedFiles"` echo "Nb files on the queue ${VID_TO_REPACK} = $nbFilesOnQueue" if [[ $nbFilesOnTapeToRepack != $nbFilesOnQueue ]] @@ -252,7 +267,7 @@ repackCancellation() { kubectl -n ${NAMESPACE} exec ctacli -- cta-admin drive up VD.* WAIT_FOR_EMPTY_QUEUE_TIMEOUT=100 - + SECONDS_PASSED=0 while test 0 != `kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json showqueues | jq -r ". [] | select(.vid == \"${VID_TO_REPACK}\")" | wc -l`; do echo "Waiting for the Retrieve queue ${VID_TO_REPACK} to be empty: Seconds passed = $SECONDS_PASSED" @@ -345,12 +360,12 @@ repackMoveAndAddCopies() { totalFilesToArchive=`echo $repackLsResult | jq -r ".totalFilesToArchive"` retrievedFiles=`echo $repackLsResult | jq -r ".retrievedFiles"` archivedFiles=`echo $repackLsResult | jq -r ".archivedFiles"` - + if [[ $retrievedFiles != $totalFilesToRetrieve ]] then echo "RetrievedFiles ($retrievedFiles) != totalFilesToRetrieve ($totalFilesToRetrieve), test FAILED" exit 1 - else + else echo "RetrievedFiles ($retrievedFiles) = totalFilesToRetrieve ($totalFilesToRetrieve), OK" fi @@ -361,7 +376,7 @@ repackMoveAndAddCopies() { else echo "ArchivedFiles ($archivedFiles) == totalFilesToArchive ($totalFilesToArchive), OK" fi - + echo "Reclaimimg tape ${VID_TO_REPACK}" kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape reclaim --vid ${VID_TO_REPACK} @@ -375,20 +390,20 @@ repackTapeRepair() { echo echo "*******************************************************" echo "STEP $1. Testing Repack \"Tape Repair\" workflow" - echo "*******************************************************" + echo "*******************************************************" VID_TO_REPACK=$(getFirstVidContainingFiles) - if [ "$VID_TO_REPACK" == "null" ] + if [ "$VID_TO_REPACK" == "null" ] then echo "No vid found to repack" exit 1 fi - + echo "Getting files to inject into the repack buffer directory" - + tfls=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json tapefile ls --vid ${VID_TO_REPACK}` nbFileToInject=10 - + if [[ $nbFileToInject != 0 ]] then echo "Will inject $nbFileToInject files into the repack buffer directory" @@ -409,17 +424,17 @@ repackTapeRepair() { pathFileToInject=`kubectl -n ${NAMESPACE} exec ctaeos -- eos fileinfo fid:$diskId --path | cut -d":" -f2 | tr -d " "` pathOfFilesToInject[$i]=$pathFileToInject done - + kubectl -n ${NAMESPACE} exec client -- bash /root/client_prepare_file.sh `for file in ${pathOfFilesToInject[@]}; do echo -n "-f $file "; done` echo "Copying the retrieved files into the repack buffer $bufferDirectory" - + for i in $(seq 0 $(( nbFileToInject - 1)) ) do fseqFile=`echo $tfls | jq -r ". [] | select(.df.diskId == \"${diskIds[$i]}\") | .tf.fSeq"` || break kubectl -n ${NAMESPACE} exec ctaeos -- eos cp ${pathOfFilesToInject[$i]} $bufferDirectory/`printf "%9d\n" $fseqFile | tr ' ' 0` done - + echo "Launching a repack request on the vid ${VID_TO_REPACK}" kubectl -n ${NAMESPACE} exec client -- bash /root/repack_systemtest.sh -v ${VID_TO_REPACK} -b ${REPACK_BUFFER_URL} -m -r ${BASE_REPORT_DIRECTORY}/Step$1-RepackTapeRepair -n ctasystest || exit 1 @@ -436,7 +451,7 @@ repackTapeRepair() { exit 1 else echo "totalFilesToRetrieve ($totalFilesToRetrieve) == totalFilesToArchive ($totalFilesToArchive) - userProvidedFiles ($userProvidedFiles), OK" - fi + fi if [[ $retrievedFiles != $totalFilesToRetrieve ]] then @@ -456,7 +471,7 @@ repackTapeRepair() { echo "Reclaiming tape ${VID_TO_REPACK}" kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape reclaim --vid ${VID_TO_REPACK} - else + else echo "No file to inject, test not OK" exit 1 fi @@ -471,21 +486,21 @@ repackTapeRepairNoRecall() { echo echo "*******************************************************" echo "STEP $1. Testing Repack \"Tape Repair\" NO RECALL workflow" - echo "*******************************************************" + echo "*******************************************************" VID_TO_REPACK=$(getFirstVidContainingFiles) - if [ "$VID_TO_REPACK" == "null" ] + if [ "$VID_TO_REPACK" == "null" ] then echo "No vid found to repack" exit 1 fi - + echo "Getting files to inject into the repack buffer directory" - + tfls=`kubectl -n ${NAMESPACE} exec ctacli -- cta-admin --json tapefile ls --vid ${VID_TO_REPACK}` nbFilesOnTape=`echo $tfls | jq length` nbFileToInject=10 - + if [[ $nbFileToInject != 0 ]] then echo "Will inject $nbFileToInject files into the repack buffer directory" @@ -502,7 +517,7 @@ repackTapeRepairNoRecall() { # Prepare array of indices to pick from the tfls output for i in $(seq 0 $(( nbFileToInject - 1 )) ) do - filesIndices[$i]=$(( i + 1 )) + filesIndices[$i]=$(( i + 1 )) done for i in $(seq 0 $(( nbFileToInject - 1 )) ) @@ -512,17 +527,17 @@ repackTapeRepairNoRecall() { pathFileToInject=`kubectl -n ${NAMESPACE} exec ctaeos -- eos fileinfo fid:$diskId --path | cut -d":" -f2 | tr -d " "` pathOfFilesToInject[$i]=$pathFileToInject done - + kubectl -n ${NAMESPACE} exec client -- bash /root/client_prepare_file.sh `for file in ${pathOfFilesToInject[@]}; do echo -n "-f $file "; done` echo "Copying the retrieved files into the repack buffer $bufferDirectory" - + for i in $(seq 0 $(( nbFileToInject - 1)) ) do fseqFile=`echo $tfls | jq -r ". [] | select(.df.diskId == \"${diskIds[$i]}\") | .tf.fSeq"` || break kubectl -n ${NAMESPACE} exec ctaeos -- eos cp ${pathOfFilesToInject[$i]} $bufferDirectory/`printf "%9d\n" $fseqFile | tr ' ' 0` done - + echo "Launching a repack request on the vid ${VID_TO_REPACK}" kubectl -n ${NAMESPACE} exec client -- bash /root/repack_systemtest.sh -v ${VID_TO_REPACK} -b ${REPACK_BUFFER_URL} -m -r ${BASE_REPORT_DIRECTORY}/Step$1-RepackTapeRepairNoRecall -n ctasystest -u || exit 1 @@ -539,7 +554,7 @@ repackTapeRepairNoRecall() { exit 1 else echo "totalFilesToRetrieve ($totalFilesToRetrieve) == totalFilesToArchive ($totalFilesToArchive) - userProvidedFiles ($userProvidedFiles), OK" - fi + fi if [[ $retrievedFiles != $totalFilesToRetrieve ]] then @@ -557,7 +572,7 @@ repackTapeRepairNoRecall() { echo "archivedFiles ($archivedFiles) == totalFilesToArchive ($totalFilesToArchive), OK" fi - else + else echo "No file to inject, test not OK" exit 1 fi diff --git a/continuousintegration/orchestration/tests/simple_client_ar.sh b/continuousintegration/orchestration/tests/simple_client_ar.sh index bb97ecee1416904e60a3aac1140f90d18b0a386a..279aab519d8a5f48e4dc6d26df00796d21c4a5b0 100644 --- a/continuousintegration/orchestration/tests/simple_client_ar.sh +++ b/continuousintegration/orchestration/tests/simple_client_ar.sh @@ -1,5 +1,19 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. EOSINSTANCE=ctaeos TEST_FILE_NAME=`uuidgen` @@ -113,4 +127,3 @@ else echo "FAIL: tests failed" rc=1 fi - diff --git a/continuousintegration/orchestration/tests/simple_repack.sh b/continuousintegration/orchestration/tests/simple_repack.sh index 29d6855cae3e2795d6feebe3c80f2eb9e355ab0d..8cf8c2e075a9b27e10bd78747e003d16e5d511ff 100755 --- a/continuousintegration/orchestration/tests/simple_repack.sh +++ b/continuousintegration/orchestration/tests/simple_repack.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF @@ -28,7 +43,7 @@ if [ ! -z "${error}" ]; then fi echo -echo "Launching a round trip repack request" +echo "Launching a round trip repack request" kubectl -n ${NAMESPACE} cp repack_systemtest.sh client:/root/repack_systemtest.sh source ./repack_helper.sh @@ -38,13 +53,13 @@ kubectl -n ${NAMESPACE} exec ctaeos -- eos mkdir ${REPACK_BUFFER_URL} kubectl -n ${NAMESPACE} exec ctaeos -- eos chmod 1777 ${REPACK_BUFFER_URL} VID_TO_REPACK=$(getFirstVidContainingFiles) -if [ "$VID_TO_REPACK" != "null" ] +if [ "$VID_TO_REPACK" != "null" ] then echo echo "Marking the tape ${VID_TO_REPACK} as full" kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape ch --vid ${VID_TO_REPACK} -f true echo "Launching the repack test on VID ${VID_TO_REPACK}" - kubectl -n ${NAMESPACE} exec client -- bash /root/repack_systemtest.sh -v ${VID_TO_REPACK} -b ${REPACK_BUFFER_URL} -n ctasystest + kubectl -n ${NAMESPACE} exec client -- bash /root/repack_systemtest.sh -v ${VID_TO_REPACK} -b ${REPACK_BUFFER_URL} -n ctasystest else echo "No vid found to repack" exit 1 @@ -54,13 +69,13 @@ echo "Reclaiming tape ${VID_TO_REPACK}" kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape reclaim --vid ${VID_TO_REPACK} VID_TO_REPACK=$(getFirstVidContainingFiles) -if [ "$VID_TO_REPACK" != "null" ] +if [ "$VID_TO_REPACK" != "null" ] then echo echo "Marking the tape ${VID_TO_REPACK} as full" kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape ch --vid ${VID_TO_REPACK} -f true echo "Launching the repack test on VID ${VID_TO_REPACK}" - kubectl -n ${NAMESPACE} exec client -- bash /root/repack_systemtest.sh -v ${VID_TO_REPACK} -b ${REPACK_BUFFER_URL} -n ctasystest + kubectl -n ${NAMESPACE} exec client -- bash /root/repack_systemtest.sh -v ${VID_TO_REPACK} -b ${REPACK_BUFFER_URL} -n ctasystest else echo "No vid found to repack" exit 1 diff --git a/continuousintegration/orchestration/tests/simpletest.cli.sh b/continuousintegration/orchestration/tests/simpletest.cli.sh index f7b44dd7eb6969f0836db8243e3ced8f282e97bf..c9cc7180614ae62b162edc0fcb5f94e98f302cf0 100755 --- a/continuousintegration/orchestration/tests/simpletest.cli.sh +++ b/continuousintegration/orchestration/tests/simpletest.cli.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + cta bs -u root --hostname $(hostname -i) -m "docker cli" cta logicallibrary add --name VLSTK --comment "ctasystest" diff --git a/continuousintegration/orchestration/tests/simpletest.mgm.sh b/continuousintegration/orchestration/tests/simpletest.mgm.sh index a3b582593101acb6e9dcddc5f328440b199c2b1a..756b4b4d5fe64f6b7169fc54cacdab8c81995ffd 100644 --- a/continuousintegration/orchestration/tests/simpletest.mgm.sh +++ b/continuousintegration/orchestration/tests/simpletest.mgm.sh @@ -1,5 +1,20 @@ # example test +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + kubectl --namespace ${NAMESPACE} exec mgm xrdcp /etc/group root://localhost//eos/mgm/cta/toto kubectl --namespace ${NAMESPACE} exec mgm eos file workflow /eos/mgm/cta/toto default closew diff --git a/continuousintegration/orchestration/tests/systest.sh b/continuousintegration/orchestration/tests/systest.sh index 5da9ae0a3e328db80af24b58fe849aa62583a047..bc62fe097e66504a173f989fedce0fb059c3b60e 100755 --- a/continuousintegration/orchestration/tests/systest.sh +++ b/continuousintegration/orchestration/tests/systest.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF @@ -61,12 +76,12 @@ echo "Preparing CTA for tests" kubectl --namespace ${NAMESPACE} exec ctafrontend -- cta-catalogue-admin-user-create /etc/cta/cta-catalogue.conf --username admin1 -m "docker cli" kubectl --namespace ${NAMESPACE} exec ctacli -- cta logicallibrary add \ --name ${LIBRARYNAME} \ - --comment "ctasystest" + --comment "ctasystest" kubectl --namespace ${NAMESPACE} exec ctacli -- cta tapepool add \ --name ctasystest \ --partialtapesnumber 5 \ --encrypted false \ - --comment "ctasystest" + --comment "ctasystest" # add all tapes for ((i=0; i<${#TAPES[@]}; i++)); do VID=${TAPES[${i}]} @@ -152,7 +167,7 @@ echo "Preparing CTA for tests" kubectl --namespace ${NAMESPACE} exec ctaeos -- eos info /eos/ctaeos/cta/${TEST_FILE_NAME} echo echo "trigger EOS retrieve workflow" - echo "xrdfs localhost prepare -s /eos/ctaeos/cta/${TEST_FILE_NAME}" + echo "xrdfs localhost prepare -s /eos/ctaeos/cta/${TEST_FILE_NAME}" kubectl --namespace ${NAMESPACE} exec ctaeos -- xrdfs localhost prepare -s /eos/ctaeos/cta/${TEST_FILE_NAME} # Wait for the copy to appear on disk @@ -191,4 +206,3 @@ echo "Preparing CTA for tests" rm -fr ${tempdir} exit $rc - diff --git a/continuousintegration/orchestration/tests/systest_xrdcp_many_concurrent_files.sh b/continuousintegration/orchestration/tests/systest_xrdcp_many_concurrent_files.sh index e93e03349bccf24c799af23ad5e684264fa91b87..07fcc0a0c1e9250152d3a0be242de6ff20b293a2 100755 --- a/continuousintegration/orchestration/tests/systest_xrdcp_many_concurrent_files.sh +++ b/continuousintegration/orchestration/tests/systest_xrdcp_many_concurrent_files.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF @@ -61,12 +76,12 @@ echo "Preparing CTA for tests" kubectl --namespace ${NAMESPACE} exec ctafrontend -- cta-catalogue-admin-user-create /etc/cta/cta-catalogue.conf --username admin1 -m "docker cli" kubectl --namespace ${NAMESPACE} exec ctacli -- cta logicallibrary add \ --name ${LIBRARYNAME} \ - --comment "ctasystest" + --comment "ctasystest" kubectl --namespace ${NAMESPACE} exec ctacli -- cta tapepool add \ --name ctasystest \ --partialtapesnumber 5 \ --encrypted false \ - --comment "ctasystest" + --comment "ctasystest" # add all tapes for ((i=0; i<${#TAPES[@]}; i++)); do VID=${TAPES[${i}]} @@ -193,4 +208,3 @@ rc=0 rm -fr ${tempdir} exit $rc - diff --git a/continuousintegration/orchestration/tests/systest_xrdcp_many_files.sh b/continuousintegration/orchestration/tests/systest_xrdcp_many_files.sh index 45a0b2f92c6217229e2e441526602cd18a92307d..fdc82858876262a3593439f74f6168f423cba53f 100755 --- a/continuousintegration/orchestration/tests/systest_xrdcp_many_files.sh +++ b/continuousintegration/orchestration/tests/systest_xrdcp_many_files.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF @@ -61,12 +76,12 @@ echo "Preparing CTA for tests" kubectl --namespace ${NAMESPACE} exec ctafrontend -- cta-catalogue-admin-user-create /etc/cta/cta-catalogue.conf --username admin1 -m "docker cli" kubectl --namespace ${NAMESPACE} exec ctacli -- cta logicallibrary add \ --name ${LIBRARYNAME} \ - --comment "ctasystest" + --comment "ctasystest" kubectl --namespace ${NAMESPACE} exec ctacli -- cta tapepool add \ --name ctasystest \ --partialtapesnumber 5 \ --encrypted false \ - --comment "ctasystest" + --comment "ctasystest" # add all tapes for ((i=0; i<${#TAPES[@]}; i++)); do VID=${TAPES[${i}]} @@ -160,7 +175,7 @@ for I in `seq 1 ${NB_FILES}`; do echo echo echo "trigger EOS retrieve workflow" - echo "xrdfs localhost prepare -s /eos/ctaeos/cta/${TEST_FILE_NAME}" + echo "xrdfs localhost prepare -s /eos/ctaeos/cta/${TEST_FILE_NAME}" kubectl --namespace ${NAMESPACE} exec ctaeos -- xrdfs localhost prepare -s /eos/ctaeos/cta/${TEST_FILE_NAME} done @@ -212,4 +227,3 @@ rc=0 rm -fr ${tempdir} exit $rc - diff --git a/continuousintegration/orchestration/tests/test_nightly1.sh b/continuousintegration/orchestration/tests/test_nightly1.sh index 4db5066f899adb7b450d1bb5b9428eef23ae7fbf..79f46e7fb6a1b55d6dbca49cd34b08b7be94f5f8 100755 --- a/continuousintegration/orchestration/tests/test_nightly1.sh +++ b/continuousintegration/orchestration/tests/test_nightly1.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + usage() { cat <<EOF 1>&2 Usage: $0 -n <namespace> EOF diff --git a/continuousintegration/orchestration/tests/upgrade-eos.sh b/continuousintegration/orchestration/tests/upgrade-eos.sh index e8d047aee8b73c90352e624856f5a4e3aa41db82..e2b33e11443d22ce42d6da2cc854b346fc797c55 100755 --- a/continuousintegration/orchestration/tests/upgrade-eos.sh +++ b/continuousintegration/orchestration/tests/upgrade-eos.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # Which EOS repos should be enabled? (enable only one of these 2) COMMIT_REPO_ENABLED=0 # enable commit repo? (0 -> no, 1-> yes) TAG_REPO_ENABLED=1 # enable tag repo? (0 -> no, 1-> yes) diff --git a/disk/CMakeLists.txt b/disk/CMakeLists.txt index 8e0fc7b97d1607d11b7b9c5a844f3527b0348ec1..993988b26d39e998500b5c42d91ec4d270951702 100644 --- a/disk/CMakeLists.txt +++ b/disk/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) diff --git a/disk/CryptoPPTest.cpp b/disk/CryptoPPTest.cpp index 3537b6e1e27cc1f4b426de24f22e331e649f7d18..14941ef254d539d101858de947e1731af618719f 100644 --- a/disk/CryptoPPTest.cpp +++ b/disk/CryptoPPTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <gtest/gtest.h> #include "common/threading/Thread.hpp" diff --git a/disk/DiskFile.cpp b/disk/DiskFile.cpp index 81a65b65a3fd68b1e9a26ce55079e4cdbb270405..9fe1161122836c6fc99601b3be60982c8042473a 100644 --- a/disk/DiskFile.cpp +++ b/disk/DiskFile.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <sys/types.h> #include <sys/stat.h> diff --git a/disk/DiskFile.hpp b/disk/DiskFile.hpp index 663175eec2f2b6a946e1c7a35881a39c240fcc50..8d07f80a1d0f00c3b52e7771572fcc5f59794443 100644 --- a/disk/DiskFile.hpp +++ b/disk/DiskFile.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/disk/DiskFileImplementations.hpp b/disk/DiskFileImplementations.hpp index e5a3d0e28a7293b4449f28a0fb84291074227d7b..3b8a56050315991e72357b199db82de90db67f7f 100644 --- a/disk/DiskFileImplementations.hpp +++ b/disk/DiskFileImplementations.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/disk/DiskReporter.cpp b/disk/DiskReporter.cpp index 98dedb1251bbd36c33fbe22aa62e01a0c2835ced..7d17bcb78cb3bc933fd2da28d3764949c34670ba 100644 --- a/disk/DiskReporter.cpp +++ b/disk/DiskReporter.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DiskReporter.hpp" \ No newline at end of file diff --git a/disk/DiskReporter.hpp b/disk/DiskReporter.hpp index 0983dc6c60f352d881474daa8051557d58f6b766..24629b44bded4f94227cafb2b340675ff34a40b4 100644 --- a/disk/DiskReporter.hpp +++ b/disk/DiskReporter.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/disk/DiskReporterFactory.cpp b/disk/DiskReporterFactory.cpp index 11908c76f9953f057818dae2be248b36b8749a8c..9da29a2e749a150f4e5bf69f840ef15ad8cef928 100644 --- a/disk/DiskReporterFactory.cpp +++ b/disk/DiskReporterFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DiskReporterFactory.hpp" diff --git a/disk/DiskReporterFactory.hpp b/disk/DiskReporterFactory.hpp index f63c98cc6b80e3f635ae02bc19f9bf81c4b64785..5fcf959d57f219f8ef889ee8825fa03c6c31777a 100644 --- a/disk/DiskReporterFactory.hpp +++ b/disk/DiskReporterFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/disk/DiskSystem.cpp b/disk/DiskSystem.cpp index 906a2cdbbb75180b08b501fc004c718283fdc73b..a908937e8f6d0e30c123e19d11ded068f97ccc10 100644 --- a/disk/DiskSystem.cpp +++ b/disk/DiskSystem.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DiskSystem.hpp" diff --git a/disk/DiskSystem.hpp b/disk/DiskSystem.hpp index ad3e072cb9b8149dcda727ae0d265b9cb89011e3..a7ff0e3373be41673b0a07d44cf25c1aae64f762 100644 --- a/disk/DiskSystem.hpp +++ b/disk/DiskSystem.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/disk/DiskSystemTest.cpp b/disk/DiskSystemTest.cpp index d28b2536f14a24e8f3b287bd2213a01488a7cf55..3b74963c16ad1472e92195295e351ff8bdd92fc7 100644 --- a/disk/DiskSystemTest.cpp +++ b/disk/DiskSystemTest.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/disk/EOSReporter.cpp b/disk/EOSReporter.cpp index a352102773bb6004456ec48fe4d036e19acf99b3..333fd633f64cf287135d6977126c23c86597d689 100644 --- a/disk/EOSReporter.cpp +++ b/disk/EOSReporter.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <future> diff --git a/disk/EOSReporter.hpp b/disk/EOSReporter.hpp index 5e616e355797652f452983585f07a64528d786a3..501cf351023c0005ecb011d3c2ccd64a26f38d4c 100644 --- a/disk/EOSReporter.hpp +++ b/disk/EOSReporter.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/disk/JSONDiskSystem.cpp b/disk/JSONDiskSystem.cpp index d6a23fc578e9fb261fdf354ddc25f229701993c8..25a841736dad664fc357e0edf3c2d3dcfbd5a3ac 100644 --- a/disk/JSONDiskSystem.cpp +++ b/disk/JSONDiskSystem.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "JSONDiskSystem.hpp" diff --git a/disk/JSONDiskSystem.hpp b/disk/JSONDiskSystem.hpp index fe97df0db4c3a80dc114ba55a35bfd7cac3481a8..dec93bd650185d22ea25805d4fa7d6148e299cb9 100644 --- a/disk/JSONDiskSystem.hpp +++ b/disk/JSONDiskSystem.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/disk/JSONFreeSpace.cpp b/disk/JSONFreeSpace.cpp index eb71b64a3a7cda68ccf45342dc5e042c9562e6a6..888de5081909b8e18d14f7a0fdc762c1a622161a 100644 --- a/disk/JSONFreeSpace.cpp +++ b/disk/JSONFreeSpace.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "JSONFreeSpace.hpp" diff --git a/disk/JSONFreeSpace.hpp b/disk/JSONFreeSpace.hpp index a139332c933f4f1219ec7df5936a72ad073e5b38..a2198bec4aac6ea3948f06be9a8331861898c3a4 100644 --- a/disk/JSONFreeSpace.hpp +++ b/disk/JSONFreeSpace.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/disk/NullReporter.hpp b/disk/NullReporter.hpp index a84f9c4a557e49a460894e0a54e875106b8f91cf..817c72658332fc87af345b4a3cb485edc1f291a0 100644 --- a/disk/NullReporter.hpp +++ b/disk/NullReporter.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/disk/RadosStriperPool.cpp b/disk/RadosStriperPool.cpp index 00ad0ecf65f72b8821ea2d60606668c063f33ae7..ef60025d8366abcf2ad9a98e0bb4856894868232 100644 --- a/disk/RadosStriperPool.cpp +++ b/disk/RadosStriperPool.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RadosStriperPool.hpp" diff --git a/disk/RadosStriperPool.hpp b/disk/RadosStriperPool.hpp index 0a4c6ea44bc5da5775e8b008331e2de58a286010..d4b2e3cc67a84a30332d31facce93c8034aeffb1 100644 --- a/disk/RadosStriperPool.hpp +++ b/disk/RadosStriperPool.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/eos_cta/CMakeLists.txt b/eos_cta/CMakeLists.txt index d6a1b5149ae360d56f9bcbf14f57ce8492ba1b36..151f5e34a27c03afede75311e9ddb4f3bbcdd145 100644 --- a/eos_cta/CMakeLists.txt +++ b/eos_cta/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright 2019 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2019-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required(VERSION 2.6) find_package(Protobuf3 REQUIRED) diff --git a/mediachanger/CMakeLists.txt b/mediachanger/CMakeLists.txt index 876d9870320f4f8d87b08dbfce4ec39489745b19..7790288d6a70ccbe41c3b21df29e6977a434cda0 100644 --- a/mediachanger/CMakeLists.txt +++ b/mediachanger/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) add_subdirectory(castorrmc) diff --git a/mediachanger/CmdLine.cpp b/mediachanger/CmdLine.cpp index 22971bc160a8b4b260cd50568a956ee4c6e5b6c5..a6a0407e18fce231deb07f9bc8add7ecbaea5257 100644 --- a/mediachanger/CmdLine.cpp +++ b/mediachanger/CmdLine.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/CmdLine.hpp" diff --git a/mediachanger/CmdLine.hpp b/mediachanger/CmdLine.hpp index ebbd0d7049b63e4b2bce183a3893b20f03125680..a3ec4990c926ad6d6a8b27e290d107ec2157646b 100644 --- a/mediachanger/CmdLine.hpp +++ b/mediachanger/CmdLine.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/CmdLineTool.cpp b/mediachanger/CmdLineTool.cpp index 61c3c19b1b39d579307f2e4edfbfe942c199f01b..10abbf951a3ba197eb8bbbe96cb093fddf67a37f 100644 --- a/mediachanger/CmdLineTool.cpp +++ b/mediachanger/CmdLineTool.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/CmdLineTool.hpp" diff --git a/mediachanger/CmdLineTool.hpp b/mediachanger/CmdLineTool.hpp index 8fb438644f8e863fbfc780335408409e861ea0ce..27e9adc54b4876bd1eaa38820a42bb540b64421a 100644 --- a/mediachanger/CmdLineTool.hpp +++ b/mediachanger/CmdLineTool.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/CommonMarshal.cpp b/mediachanger/CommonMarshal.cpp index 069c696bc9b19d48334a2f12f3abef7d11c777bc..8c76d0fb347d9da41ef04fca9db8dbaeb3614031 100644 --- a/mediachanger/CommonMarshal.cpp +++ b/mediachanger/CommonMarshal.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/io.hpp" diff --git a/mediachanger/CommonMarshal.hpp b/mediachanger/CommonMarshal.hpp index 08e921a83e6ef9142db7b45c33cd0fd63872d94a..b774392bcf521e3f9dd49dbb8e6fdc5c0e0b6bcc 100644 --- a/mediachanger/CommonMarshal.hpp +++ b/mediachanger/CommonMarshal.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/Constants.hpp b/mediachanger/Constants.hpp index 8d5a5675a98e974c21636afc5944596933ce3b4d..532cabb851e2fd33cb6e1d959b5b5a5d1cf9bd0b 100644 --- a/mediachanger/Constants.hpp +++ b/mediachanger/Constants.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/DebugBuf.cpp b/mediachanger/DebugBuf.cpp index 852e677a8bcc5d9207134be7c0cf27e3998fe484..ec2eec07336874adf459931be9af503bc52070bc 100644 --- a/mediachanger/DebugBuf.cpp +++ b/mediachanger/DebugBuf.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/DebugBuf.hpp" diff --git a/mediachanger/DebugBuf.hpp b/mediachanger/DebugBuf.hpp index d145c87ff0a953ee188d3adb8ca81dd012564cc3..5e48107d6b1fb5e86ea9e27188a8d626b1c4ad0b 100644 --- a/mediachanger/DebugBuf.hpp +++ b/mediachanger/DebugBuf.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/DismountCmd.cpp b/mediachanger/DismountCmd.cpp index 3e0dbe93cf4e9aba5ce634bd1fe63466d98491e0..a76ff4bc566d0d0d1816920aee7b935d967ec55a 100644 --- a/mediachanger/DismountCmd.cpp +++ b/mediachanger/DismountCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/DismountCmd.hpp" diff --git a/mediachanger/DismountCmd.hpp b/mediachanger/DismountCmd.hpp index f93f2663b20c7bdf599ec03b672e641ddf657477..a38ef82e6f05efaa86b9264977503e0c40809880 100644 --- a/mediachanger/DismountCmd.hpp +++ b/mediachanger/DismountCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/DismountCmdLine.cpp b/mediachanger/DismountCmdLine.cpp index 634b76e56ebeed1eb06b427c70afa05dd7c5dc21..665c961ca02ddce757945bce2ca2951619aec276 100644 --- a/mediachanger/DismountCmdLine.cpp +++ b/mediachanger/DismountCmdLine.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/MissingOperand.hpp" diff --git a/mediachanger/DismountCmdLine.hpp b/mediachanger/DismountCmdLine.hpp index 3872398eef73079b40320e150a492ed213e0f1a5..79a074281b1b5876bab299cf1aca00ba7ff7204b 100644 --- a/mediachanger/DismountCmdLine.hpp +++ b/mediachanger/DismountCmdLine.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/DismountCmdLineTest.cpp b/mediachanger/DismountCmdLineTest.cpp index d73cd8789ab80ee7a20c88c3aaf45a59426ef270..16fe9a370749949f57f65839d9e506a43d4a1544 100644 --- a/mediachanger/DismountCmdLineTest.cpp +++ b/mediachanger/DismountCmdLineTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/DismountCmdMain.cpp b/mediachanger/DismountCmdMain.cpp index af7dcd301b2ed92a1db294b60f24595831743a44..fb0c089d98d667e50a072fae8da6c7f1db2827c4 100644 --- a/mediachanger/DismountCmdMain.cpp +++ b/mediachanger/DismountCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/IoTest.cpp b/mediachanger/IoTest.cpp index 2e5fc8c7317f9562caa20bf8dfccc6d8c0edd682..d0e622d83f36ce58676a635638d7f0bd538f2a03 100644 --- a/mediachanger/IoTest.cpp +++ b/mediachanger/IoTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Errnum.hpp" diff --git a/mediachanger/IpAndPort.cpp b/mediachanger/IpAndPort.cpp index 377f2f6a20a49264b5c49c22c4ee488db5b543a1..553ceb2340fda19978f32f9e5247483b66bc55e8 100644 --- a/mediachanger/IpAndPort.cpp +++ b/mediachanger/IpAndPort.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/IpAndPort.hpp" diff --git a/mediachanger/IpAndPort.hpp b/mediachanger/IpAndPort.hpp index d9752afd4cd8c93a4fb7ead5198fbf44cf30b1a7..2cd395fae3537a4eb8adc38a54aa4879d358c3fd 100644 --- a/mediachanger/IpAndPort.hpp +++ b/mediachanger/IpAndPort.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/LibrarySlot.cpp b/mediachanger/LibrarySlot.cpp index f6eddb8e599b246524c177857179ddfe9156cba6..9002caca3a33c8d2078769370d134005b29ba8c6 100644 --- a/mediachanger/LibrarySlot.cpp +++ b/mediachanger/LibrarySlot.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/LibrarySlot.hpp" diff --git a/mediachanger/LibrarySlot.hpp b/mediachanger/LibrarySlot.hpp index e8eaa3b6e9c643be389832593f8da6952f56f4a1..964d2aacf9cc7ac3e3e574e55e58895f8efa12d0 100644 --- a/mediachanger/LibrarySlot.hpp +++ b/mediachanger/LibrarySlot.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/LibrarySlotParser.cpp b/mediachanger/LibrarySlotParser.cpp index edeec616a0089291d0905f2d98412a3bd9dc21d6..f0999cca3cdc0fac9076b9427764ecc055813509 100644 --- a/mediachanger/LibrarySlotParser.cpp +++ b/mediachanger/LibrarySlotParser.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/LibrarySlotParser.hpp b/mediachanger/LibrarySlotParser.hpp index 091a99963bbd58989fde1f53d8936ae945825750..0ff865e9df95ef7177425d072126db4879016e28 100644 --- a/mediachanger/LibrarySlotParser.hpp +++ b/mediachanger/LibrarySlotParser.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/LibrarySlotParserTest.cpp b/mediachanger/LibrarySlotParserTest.cpp index fc4720709a4d5587e8888a066d648c1bff2ac568..b4a3ac48a11acd2dd36144e30d6a13deddd500aa 100644 --- a/mediachanger/LibrarySlotParserTest.cpp +++ b/mediachanger/LibrarySlotParserTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/ManualLibrarySlot.cpp b/mediachanger/ManualLibrarySlot.cpp index 88040705ecf36c33aa39c5352168c35378c0e5de..38dd53595407e2ae623fb671362384222fbd9e00 100644 --- a/mediachanger/ManualLibrarySlot.cpp +++ b/mediachanger/ManualLibrarySlot.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/ManualLibrarySlot.hpp" diff --git a/mediachanger/ManualLibrarySlot.hpp b/mediachanger/ManualLibrarySlot.hpp index 11cda85e0b5611be9813c99d7c08cf8b2785e226..895eabe09142e32047b3f65e8c9acd82af0d3cc1 100644 --- a/mediachanger/ManualLibrarySlot.hpp +++ b/mediachanger/ManualLibrarySlot.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/ManualLibrarySlotTest.cpp b/mediachanger/ManualLibrarySlotTest.cpp index e94318404e7efda9aac8b9bb8d0522caf00886cc..bcce6f30168bddff90cb660c299b504b2fd5226a 100644 --- a/mediachanger/ManualLibrarySlotTest.cpp +++ b/mediachanger/ManualLibrarySlotTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/MediaChangerFacade.cpp b/mediachanger/MediaChangerFacade.cpp index 1add0b4cbbaa67b2ffd9dfa29b4c7b71a471b66d..31f05049bf6ddebe8e4b5e63888013c2b9bbcbb9 100644 --- a/mediachanger/MediaChangerFacade.cpp +++ b/mediachanger/MediaChangerFacade.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/MediaChangerFacade.hpp b/mediachanger/MediaChangerFacade.hpp index 9a47b132c798f818ce827e2fe9f1d005f5e046fc..26a665e6a9b47395be46a2bee9e503190f076599 100644 --- a/mediachanger/MediaChangerFacade.hpp +++ b/mediachanger/MediaChangerFacade.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/MediaChangerProxy.cpp b/mediachanger/MediaChangerProxy.cpp index d3105be15ed789ac1d4a216324f7d14814431390..2faf2adb45ccbf0adf64fc4e3760748b909e685a 100644 --- a/mediachanger/MediaChangerProxy.cpp +++ b/mediachanger/MediaChangerProxy.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/MediaChangerProxy.hpp" diff --git a/mediachanger/MediaChangerProxy.hpp b/mediachanger/MediaChangerProxy.hpp index d649e7be5da0977b71a166ad553b79bd01ece2f7..4c5722b83840677970dc2c253d72cccc173bbae9 100644 --- a/mediachanger/MediaChangerProxy.hpp +++ b/mediachanger/MediaChangerProxy.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/MessageHeader.cpp b/mediachanger/MessageHeader.cpp index 1511fc2c27015989eae967eb674d844de47de49b..fc6f4ca48f4c05052b0735d0415ee93b1e36d5e3 100644 --- a/mediachanger/MessageHeader.cpp +++ b/mediachanger/MessageHeader.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/MessageHeader.hpp" diff --git a/mediachanger/MessageHeader.hpp b/mediachanger/MessageHeader.hpp index 8a9e119c6dfd62783ea22d363e95f07b4a3607e0..a0b60e9857bdbfd9e100427b31f3202ae5c92781 100644 --- a/mediachanger/MessageHeader.hpp +++ b/mediachanger/MessageHeader.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/MmcProxy.cpp b/mediachanger/MmcProxy.cpp index 924e57db0962affc7fd9d50bbb2ecd95c734def9..47b269cd1f749320151d343dcc0384e9ef416d6c 100644 --- a/mediachanger/MmcProxy.cpp +++ b/mediachanger/MmcProxy.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/ManualLibrarySlot.hpp" diff --git a/mediachanger/MmcProxy.hpp b/mediachanger/MmcProxy.hpp index 7dbaf8ea1be82941781c57048c5902e6516d481f..0d3819e1065a28046bfdc7a830f05fa05db1315c 100644 --- a/mediachanger/MmcProxy.hpp +++ b/mediachanger/MmcProxy.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/MountCmd.cpp b/mediachanger/MountCmd.cpp index 942778da52c174f6aeb64770797e94264a975f17..589f82272842ab51e7a4de1c1ed8ea5e11d5b1c4 100644 --- a/mediachanger/MountCmd.cpp +++ b/mediachanger/MountCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/MountCmd.hpp" diff --git a/mediachanger/MountCmd.hpp b/mediachanger/MountCmd.hpp index cf9449dd170b1ec3f37e76b075c351a9be16eaa5..0d84008631605bf46e0bda559da051c06d43ec59 100644 --- a/mediachanger/MountCmd.hpp +++ b/mediachanger/MountCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/MountCmdLine.cpp b/mediachanger/MountCmdLine.cpp index 8f6a1e8afe43032e32dbdf51b524da6d9d119184..7efbaf4dd0292e0fca0878f002aa94c1a86c1985 100644 --- a/mediachanger/MountCmdLine.cpp +++ b/mediachanger/MountCmdLine.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/MissingOperand.hpp" diff --git a/mediachanger/MountCmdLine.hpp b/mediachanger/MountCmdLine.hpp index 4d8b5c5b4381ac73a647ccf0a3c21de398162e19..536117397b2e1e49cf4807bf056d637d06e4f77f 100644 --- a/mediachanger/MountCmdLine.hpp +++ b/mediachanger/MountCmdLine.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/MountCmdLineTest.cpp b/mediachanger/MountCmdLineTest.cpp index 8977692add55916d178ef7f9139ed4b0cae6591c..c91264d2dd774eebd1ded85266a7b97f7c1b7c90 100644 --- a/mediachanger/MountCmdLineTest.cpp +++ b/mediachanger/MountCmdLineTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/MountCmdMain.cpp b/mediachanger/MountCmdMain.cpp index cab8f62b1e5f6d92460e569ea39e00fcee6803bb..5ca7334dcbf352f1f1795c56f2120cf4a14b261f 100644 --- a/mediachanger/MountCmdMain.cpp +++ b/mediachanger/MountCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/RmcMarshal.cpp b/mediachanger/RmcMarshal.cpp index 1be09251e5b8938992c50889e6355e920c7edb93..84f06d80e95bc49a93684e653a22c8fa250ed337 100644 --- a/mediachanger/RmcMarshal.cpp +++ b/mediachanger/RmcMarshal.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/Constants.hpp" diff --git a/mediachanger/RmcMarshal.hpp b/mediachanger/RmcMarshal.hpp index a7be8dcccae641105f03772971162170185c3cce..ab341ea1d009deff6f5040e929b74731de5f2574 100644 --- a/mediachanger/RmcMarshal.hpp +++ b/mediachanger/RmcMarshal.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/RmcMountMsgBody.cpp b/mediachanger/RmcMountMsgBody.cpp index e011623e287709bfb7d92b2e5726c78a1e42a399..8f54841c770f714b94c905a790192ec63d329316 100644 --- a/mediachanger/RmcMountMsgBody.cpp +++ b/mediachanger/RmcMountMsgBody.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/RmcMountMsgBody.hpp" diff --git a/mediachanger/RmcMountMsgBody.hpp b/mediachanger/RmcMountMsgBody.hpp index dc4097bda009b4f79bb33a80a2042284056dfde3..4bae22c5c7bf24801eefc9d1838fda0505c78e13 100644 --- a/mediachanger/RmcMountMsgBody.hpp +++ b/mediachanger/RmcMountMsgBody.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/RmcProxy.cpp b/mediachanger/RmcProxy.cpp index 7776fcf35285b7ca87ec9df68895f347186aed5a..0a9f4a9d39873f4a243ca7a2f574794225373819 100644 --- a/mediachanger/RmcProxy.cpp +++ b/mediachanger/RmcProxy.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/utils/utils.hpp" diff --git a/mediachanger/RmcProxy.hpp b/mediachanger/RmcProxy.hpp index 7efb1b4956d5e32e8aa288617337a123bb29c8bb..6f306fccde1e05f0bef029401350fe72ba7bf1c7 100644 --- a/mediachanger/RmcProxy.hpp +++ b/mediachanger/RmcProxy.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/RmcUnmountMsgBody.cpp b/mediachanger/RmcUnmountMsgBody.cpp index ce7a58d07aedaa3dd44a647378efa483f206294e..505a67d8f51e3254971547fd167ea6c25eda92b5 100644 --- a/mediachanger/RmcUnmountMsgBody.cpp +++ b/mediachanger/RmcUnmountMsgBody.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/RmcUnmountMsgBody.hpp" diff --git a/mediachanger/RmcUnmountMsgBody.hpp b/mediachanger/RmcUnmountMsgBody.hpp index 0fb86a19468215da17fafab40605e670bef7106f..25eb40b18283627c5eaf4a2e5dd7cb0fefbb01f6 100644 --- a/mediachanger/RmcUnmountMsgBody.hpp +++ b/mediachanger/RmcUnmountMsgBody.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/ScsiLibrarySlot.cpp b/mediachanger/ScsiLibrarySlot.cpp index 9f94b463227d35f4d5244b3c88296a06b97d85ee..1ad49a025e79b53bfad8732b1014938cc5e718ac 100644 --- a/mediachanger/ScsiLibrarySlot.cpp +++ b/mediachanger/ScsiLibrarySlot.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/ScsiLibrarySlot.hpp" diff --git a/mediachanger/ScsiLibrarySlot.hpp b/mediachanger/ScsiLibrarySlot.hpp index 535e8416a7b272c6b1fea46739fb43d74c9d77f8..3eab981f7c47092555d0ac7f75c54e1d3d2aacdc 100644 --- a/mediachanger/ScsiLibrarySlot.hpp +++ b/mediachanger/ScsiLibrarySlot.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/ScsiLibrarySlotTest.cpp b/mediachanger/ScsiLibrarySlotTest.cpp index b095e5ad024f7671d4e8373e185352c6cb713101..e443558b3fefe4e83cace134d10a5c03d7d607da 100644 --- a/mediachanger/ScsiLibrarySlotTest.cpp +++ b/mediachanger/ScsiLibrarySlotTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/mediachanger/TapeLibraryType.cpp b/mediachanger/TapeLibraryType.cpp index 1b5166463faf877ca020186217efce2b5e861f1c..66466fc58e9ff09102045254bd3a6655b1ae6888 100644 --- a/mediachanger/TapeLibraryType.cpp +++ b/mediachanger/TapeLibraryType.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "mediachanger/TapeLibraryType.hpp" diff --git a/mediachanger/TapeLibraryType.hpp b/mediachanger/TapeLibraryType.hpp index be7d1fd1c2993a0307aff0eff68bd4c32e57d13c..8ae05b5d31f34d095a376d71a5db93038374157b 100644 --- a/mediachanger/TapeLibraryType.hpp +++ b/mediachanger/TapeLibraryType.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/castorrmc/CMakeLists.txt b/mediachanger/castorrmc/CMakeLists.txt index 44891b47497b48e1fa6774b77cf7346f074daef1..e673ebaa15563ef355595daaa23659aaeef8b259 100644 --- a/mediachanger/castorrmc/CMakeLists.txt +++ b/mediachanger/castorrmc/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) add_subdirectory(common) diff --git a/mediachanger/castorrmc/common/CMakeLists.txt b/mediachanger/castorrmc/common/CMakeLists.txt index eb7c5ae303dc50ab6dfaf7c95c376e3734e1c5ff..4861b76f7403a39c254794aedd6a89a360c26f63 100644 --- a/mediachanger/castorrmc/common/CMakeLists.txt +++ b/mediachanger/castorrmc/common/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories (${PROJECT_SOURCE_DIR}/mediachanger/castorrmc/h) diff --git a/mediachanger/castorrmc/common/Cdomainname.c b/mediachanger/castorrmc/common/Cdomainname.c index f335746cac7f3253e66cedbd16581739165c8279..d23e35b08d736c0bb0c010ab73eaa64651c82b26 100644 --- a/mediachanger/castorrmc/common/Cdomainname.c +++ b/mediachanger/castorrmc/common/Cdomainname.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2002 by CERN/IT/DS/HSM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <sys/types.h> diff --git a/mediachanger/castorrmc/common/Cglobals.c b/mediachanger/castorrmc/common/Cglobals.c index 031eee427d476af3320ae5e8ffe9c446f7a40230..f6fd6250c04948175085281a89ab3188a0e6799f 100644 --- a/mediachanger/castorrmc/common/Cglobals.c +++ b/mediachanger/castorrmc/common/Cglobals.c @@ -1,10 +1,18 @@ /* - * $Id: Cglobals.c,v 1.18 2007/12/06 14:24:46 sponcec3 Exp $ - */ - -/* - * Copyright (C) 1990-1999 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* @@ -87,7 +95,7 @@ int *C__Coptreset (void); char **C__Coptarg (void); /* - * Cglobals_init() - assing routines to provide thread local storage. + * Cglobals_init() - assing routines to provide thread local storage. * Globals that existed prior to this call are all re-assigned as * thread-specific to calling thread (normally the main thread). */ @@ -133,8 +141,8 @@ void Cglobals_init(int (*getspec) (int *, void **), single_thread_globals = NULL; } - return; -} + return; +} /* * Cglobals_get() - simulate keyed accessed global storage in @@ -219,15 +227,15 @@ int Cglobals_get(int *key, * environment Tid = -1 will always refer to main thread since * Cthread_self() returns an error for the main thread (the main * thread has *NOT* been created with a Cthread_create()). - * - */ + * + */ void Cglobals_getTid(int *Tid) { if ( Tid == NULL ) return; if ( local_getTid == NULL ) *Tid = -1; else *Tid = local_getTid(); return; -} +} int *C__serrno() { int rc; diff --git a/mediachanger/castorrmc/common/Cglobals.man b/mediachanger/castorrmc/common/Cglobals.man index a29d49dbf524460892d5c8fd8e0ff15ad4ca46c1..685c33cedaccc4d505d54f0452acd979b5093087 100644 --- a/mediachanger/castorrmc/common/Cglobals.man +++ b/mediachanger/castorrmc/common/Cglobals.man @@ -1,6 +1,17 @@ +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2001-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" $Id: Cglobals.man,v 1.6 2001/10/26 11:56:31 jdurand Exp $ +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH CGLOBALS "3castor" "$Date: 2001/10/26 11:56:31 $" "CASTOR" "Common Library Functions" .SH NAME \fBCglobals\fP \- \fBC\fPASTOR thread-specific \fBglobal\fP variable\fBs\fP interface @@ -65,31 +76,31 @@ The following description of \fBCglobals_init\fP function is explaining internal .RS a .I getspec -function address that, given a static +function address that, given a static .I key adress, returns the adress of a Thread-Specific memory into .I addr content. This uses an internal structure inside \fBCthread\fP, allocated on the heap, that is associated bijectively to .I key -address. \fBCthread\fP always explicitely allocates such internal structure to any +address. \fBCthread\fP always explicitely allocates such internal structure to any .I key address if it is unknown at the moment of the call to .I getspec. .br -In such a case it will return a NULL value into +In such a case it will return a NULL value into .I addr -, and it will be the responsability of \fBCglobals\fP to allocate memory on the heap and to say to \fBCthread\fP that this newly allocated memory is the one to associate with +, and it will be the responsability of \fBCglobals\fP to allocate memory on the heap and to say to \fBCthread\fP that this newly allocated memory is the one to associate with .I key -address, using +address, using .I setspec. .br If the internal structure in \fBCthread\fP associated bijectively to .I key -yet exists, +yet exists, .I getspec only returns what it knows about the thread-specific memory associated with it, which is a \fBvoid *\fP member inside the same internal structure mentionned above. .P -a +a .I setspec function address that, given the .I key @@ -109,17 +120,17 @@ function address that returns an unique integer identifier associated with any t .P \fBCglobals_get\fP returns in .I addr -content the address of a thread-specific memory, e.g. thread-safe, that is bijectively associated with the address of a *static*, e.g. constant, address +content the address of a thread-specific memory, e.g. thread-safe, that is bijectively associated with the address of a *static*, e.g. constant, address .I key , that is automatically created and filled with zeros if necessary, up to .I size bytes. .br -If the +If the .I addr -content, at return of \fBCglobals_get\fP, is not NULL, you can safely fill this memory with any value, provided you does not exceed the +content, at return of \fBCglobals_get\fP, is not NULL, you can safely fill this memory with any value, provided you does not exceed the .I size -bytes length speficied in your previous call to \fBCglobals_get\fP. Because of applications that are \fBnot\fP multi-threaded, the initial value of +bytes length speficied in your previous call to \fBCglobals_get\fP. Because of applications that are \fBnot\fP multi-threaded, the initial value of .I key has then an importance, that's why it is necessary to always declare it with an initial value of -1. .P @@ -130,11 +141,11 @@ key .I key. This allows to distinguish when Cglobals_get() initialize the memory with zeros (return code 1) and not (return code 0). .P -\fBCglobals_getTid\fP uses the third function address, +\fBCglobals_getTid\fP uses the third function address, .I getTid , given as an argument to \fBCglobals_init\fP, and will return in .I Tid -content the value returned by +content the value returned by .I getTid. .P \fBC__serrno\fP, \fBC__rfio_errno\fP, \fBC__Copterr\fP, \fBC__Coptind\fP, \fBC__Coptopt\fP, \fBC__Coptreset\fP, \fBC__Coptarg\fP and \fBC__h_errno\fP are all the internal functions that return the address of the thread-specific memory hosting the value of the 'global' variables serrno, rfio_errno, Copterr, Coptind, Coptopt, Coptreset, Coptarg and h_errno, respectively. @@ -285,7 +296,7 @@ void *doit(arg) } - + .ft .LP .SH SEE ALSO @@ -293,4 +304,3 @@ void *doit(arg) .SH AUTHOR \fBCASTOR\fP Team <castor.support@cern.ch> - diff --git a/mediachanger/castorrmc/common/Cgrp.c b/mediachanger/castorrmc/common/Cgrp.c index da28aebb8ae0888260324f6883e9b8a878aaa92c..fbb01c4e472b6f08536efb3020a4dae7078b9b1f 100644 --- a/mediachanger/castorrmc/common/Cgrp.c +++ b/mediachanger/castorrmc/common/Cgrp.c @@ -1,13 +1,23 @@ - /* - * Copyright (C) 2000-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2000-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - /* * Cgrp.c - CASTOR MT-safe wrappers on some grp routines. - */ + */ #include <stdio.h> #include <sys/types.h> @@ -80,4 +90,3 @@ gid_t gid; } return(result); } - diff --git a/mediachanger/castorrmc/common/Cgrp.man b/mediachanger/castorrmc/common/Cgrp.man index c25b2412e8d1f84f971890278c7b13b3292f9cdc..88b3e1492e762c7edf63f37aed3d19d9f29ae305 100644 --- a/mediachanger/castorrmc/common/Cgrp.man +++ b/mediachanger/castorrmc/common/Cgrp.man @@ -1,5 +1,17 @@ -.\" $Id: Cgrp.man,v 1.2 2001/09/26 09:13:48 jdurand Exp $ +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2001-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH CGRP "3castor" "$Date: 2001/09/26 09:13:48 $" "CASTOR" "Common Library Functions" .SH NAME \fBCgrp\fP \- \fBCASTOR\fP \fBGr\fPou\fBp\fP file Thread-Safe inferface diff --git a/mediachanger/castorrmc/common/Cinitdaemon.c b/mediachanger/castorrmc/common/Cinitdaemon.c index b56565bb4aefbfb114413431d8cb9dca7ec80ab1..348f861c0733c0933cba79b843fabf733d18c582 100644 --- a/mediachanger/castorrmc/common/Cinitdaemon.c +++ b/mediachanger/castorrmc/common/Cinitdaemon.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2000 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2000-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* @@ -10,7 +22,7 @@ #include <unistd.h> #include <stdlib.h> #include <stdio.h> -#include <signal.h> +#include <signal.h> #include <errno.h> #include <osdep.h> #include <string.h> diff --git a/mediachanger/castorrmc/common/Cmutex.man b/mediachanger/castorrmc/common/Cmutex.man index 63adc08611007af66c19d5ede777a7235a1666bc..b76d713b3d7a79c116dd8471ed0a311fc932d470 100644 --- a/mediachanger/castorrmc/common/Cmutex.man +++ b/mediachanger/castorrmc/common/Cmutex.man @@ -1,5 +1,17 @@ -.\" $Id: Cmutex.man,v 1.6 2002/01/09 13:25:25 jdurand Exp $ +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH CMUTEX "3castor" "$Date: 2002/01/09 13:25:25 $" "CASTOR" "Common Library Functions" .SH NAME \fBCmutex\fP \- \fBCASTOR\fP \fBMutex\fP inferface @@ -15,7 +27,7 @@ .SH DESCRIPTION -\fBCmutex\fP is a common API interface for application compiled or not with the multithread flag. If the application do never initialize the \fBCmutex\fP package, using \fBCmutex_init\fP, and two arguments that are the addresses of the mutex lock and unlock functions, +\fBCmutex\fP is a common API interface for application compiled or not with the multithread flag. If the application do never initialize the \fBCmutex\fP package, using \fBCmutex_init\fP, and two arguments that are the addresses of the mutex lock and unlock functions, .BI lockfunction and .BI unlockfunction diff --git a/mediachanger/castorrmc/common/Cnetdb.c b/mediachanger/castorrmc/common/Cnetdb.c index c47e07563b6d8237b68e017c3eed3ecca89c8a1b..76ff5c1be52439136337dcc7ccaadb237884a091 100644 --- a/mediachanger/castorrmc/common/Cnetdb.c +++ b/mediachanger/castorrmc/common/Cnetdb.c @@ -1,13 +1,23 @@ - /* - * Copyright (C) 1999-2003 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - /* * Cnetdb.c - CASTOR MT-safe wrappers on netdb routines. - */ + */ #include <sys/types.h> #include <stddef.h> @@ -134,4 +144,3 @@ const char *proto; return(NULL); #endif } - diff --git a/mediachanger/castorrmc/common/Cpwd.man b/mediachanger/castorrmc/common/Cpwd.man index 812caeae82f77edee15804262e995266515a0867..cd9c94fffd18d62f8c5d0dfa1fc7beec71d26624 100644 --- a/mediachanger/castorrmc/common/Cpwd.man +++ b/mediachanger/castorrmc/common/Cpwd.man @@ -1,5 +1,17 @@ -.\" $Id: Cpwd.man,v 1.4 2001/09/26 09:13:48 jdurand Exp $ +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2001-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH CPWD "3castor" "$Date: 2001/09/26 09:13:48 $" "CASTOR" "Common Library Functions" .SH NAME \fBCpwd\fP \- \fBCASTOR\fP \fBP\fPass\fBw\fPor\fBd\fP file Thread-Safe inferface diff --git a/mediachanger/castorrmc/common/Csnprintf.c b/mediachanger/castorrmc/common/Csnprintf.c index 0f7d8cd953bff98d64887e5773fabd648317ee7f..0ca1d0bbba94a5244d0067cce886cc5e38415c4b 100644 --- a/mediachanger/castorrmc/common/Csnprintf.c +++ b/mediachanger/castorrmc/common/Csnprintf.c @@ -1,5 +1,18 @@ /* - * $Id: Csnprintf.c,v 1.2 2007/12/07 11:40:52 sponcec3 Exp $ + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2007-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Csnprintf.h" @@ -24,4 +37,3 @@ int Cvsnprintf(char *str, size_t size, const char *format, va_list args) { return(vsnprintf(str, size, format, args)); } - diff --git a/mediachanger/castorrmc/common/Cthread.man b/mediachanger/castorrmc/common/Cthread.man index a36cebaae72685af1cd7d0f0aebca3d98d2b9ee6..6d44419e48095fb92e9be69128f46188b047dd81 100644 --- a/mediachanger/castorrmc/common/Cthread.man +++ b/mediachanger/castorrmc/common/Cthread.man @@ -1,5 +1,17 @@ -.\" $Id: Cthread.man,v 1.13 2007/09/10 10:42:34 obarring Exp $ +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2007-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH CTHREAD "3castor" "$Date: 2007/09/10 10:42:34 $" "CASTOR" "Common Library Functions" .SH NAME \fBCthread\fP \- \fBCASTOR\fP \fBThread\fP inferface @@ -111,7 +123,7 @@ address. The second parameter is the eventual .I "timeout" in seconds. If this parameter is < 0, the calling thread is suspended until it is granted access to .I "addr" -, if it is zero, the calling thread will try to gain the lock, and if it is greater than zero the calling thread will wait up to +, if it is zero, the calling thread will try to gain the lock, and if it is greater than zero the calling thread will wait up to .I timeout seconds. .P @@ -293,7 +305,7 @@ void testit() { fprintf(stderr,"[%d] --> old 0x%x\\n", Cthread_self(),addr); } - + sprintf(addr,"[%d] Print with TSD buffer : Cthread ID=%d\\n", Cthread_self(),Cthread_self()); diff --git a/mediachanger/castorrmc/common/Cuuid.man b/mediachanger/castorrmc/common/Cuuid.man index 155b3c89dfdbc2a9726b56a2a73126a9ebd83c04..4980457467d2b57fd2834df61645ebba0d834362 100644 --- a/mediachanger/castorrmc/common/Cuuid.man +++ b/mediachanger/castorrmc/common/Cuuid.man @@ -1,7 +1,17 @@ -.\" $Id: Cuuid.man,v 1.2 2003/12/08 12:06:22 obarring Exp $ +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2003-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" Man page for the CASTOR's Universally Unique IDentifier (UUID) +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH CUUID "3castor" "$Date: 2003/12/08 12:06:22 $" "CASTOR" "Common Library Functions" .SH NAME \fBCuuid\fP \- \fBCASTOR\fP \fBUUID\fP inferface diff --git a/mediachanger/castorrmc/common/castor1compat.c b/mediachanger/castorrmc/common/castor1compat.c index ba1b9a41ff51fab856f44d0365d0d0948f7f3415..5da22b7ca91f6adfd3c8f088d88dbe616def9af9 100644 --- a/mediachanger/castorrmc/common/castor1compat.c +++ b/mediachanger/castorrmc/common/castor1compat.c @@ -1,29 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * This file only exists so that applications that were using concurrently - * CASTOR1 and CASTOR2, using use_castor2_api to decide which can - * still run. - * It should be removed as soon as possible - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <stage_api.h> @@ -31,7 +21,7 @@ int use_castor2_api() { return 1; } -int stage_setoutbuf(char* buffer, int buflen) { +int stage_setoutbuf(char* buffer, int buflen) { (void)buffer; (void)buflen; return -1; diff --git a/mediachanger/castorrmc/common/compat.c b/mediachanger/castorrmc/common/compat.c index 68069a793a7c4e266f4ad6e9a2a59dc8994cd5e7..2f8ea5e3d1d4055278a3d586bf5cb3004a45f174 100644 --- a/mediachanger/castorrmc/common/compat.c +++ b/mediachanger/castorrmc/common/compat.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 1990-2000 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* compat.c Compatibility library */ diff --git a/mediachanger/castorrmc/common/getconfent.c b/mediachanger/castorrmc/common/getconfent.c index 018749e7e8505013671e751af04e75178f84dfa7..4a038468f7d953a297b00de045d6084e8bd921eb 100644 --- a/mediachanger/castorrmc/common/getconfent.c +++ b/mediachanger/castorrmc/common/getconfent.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 1991-1999 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1991-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdio.h> @@ -135,12 +147,12 @@ int getconfent_parser(char **conf_val, /* Saving the index information to pass on later */ *count = i; - + /* Allocating the necessary space and parsing the string */ if ((p = strdup(*conf_val)) == NULL) { return -1; } (*result) = (char **)calloc((i+1), sizeof(char *)); if (result == NULL) { return -1; } - + i = 0 ; for (q = strtok(p," \t");q != NULL; q = strtok(NULL," \t")) { (*result)[i++] = strdup(q); } free(p); @@ -157,12 +169,12 @@ int getconfent_multi_fromfile(const char *filename, { char *conf_val; - if((conf_val = getconfent_fromfile(filename,category,name,flags)) == NULL){ + if((conf_val = getconfent_fromfile(filename,category,name,flags)) == NULL){ *result = NULL; *count = 0; - return 0; + return 0; } - + if ( getconfent_parser(&conf_val, result, count) == -1 ) {return -1;} return 0; @@ -177,13 +189,13 @@ int getconfent_multi(const char *category, int *count) { char *conf_val; - - if((conf_val = getconfent(category,name,flags)) == NULL) { + + if((conf_val = getconfent(category,name,flags)) == NULL) { *result = NULL; *count = 0; - return 0; + return 0; } - + if( getconfent_parser(&conf_val, result, count) == -1 ) {return -1;} return 0; diff --git a/mediachanger/castorrmc/common/getconfent.man b/mediachanger/castorrmc/common/getconfent.man index 0de97b559fd78663f255c4bb66287801591e46a1..ec83eb4935508a16a001832a5cee6b1328a893e5 100644 --- a/mediachanger/castorrmc/common/getconfent.man +++ b/mediachanger/castorrmc/common/getconfent.man @@ -1,7 +1,17 @@ -.\" @(#)@(#)$RCSfile: getconfent.man,v $ $Revision: 1.9 $ $Date: 2009/07/23 12:22:02 $ CERN IT-PDP/DC Frederic Hemmer -.\" Copyright (C) 1990-2000 by CERN/IT/PDP/DC -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2009-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH GETCONFENT 3 "$Date: 2009/07/23 12:22:02 $" CASTOR "Common Library Functions" .SH NAME getconfent, getconfent_r \- Get configuration entry @@ -10,9 +20,9 @@ getconfent, getconfent_r \- Get configuration entry .LP .BI "char * getconfent (" .br -.BI " const char *" category , +.BI " const char *" category , .br -.BI " const char *" name , +.BI " const char *" name , .br .BI " int " flags ); .PP @@ -22,7 +32,7 @@ getconfent, getconfent_r \- Get configuration entry .br .BI " const char *" name , .br -.BI " int " flags , +.BI " int " flags , .br .BI " char ***" result , .br @@ -77,7 +87,7 @@ internally using a buffer allocated in thread local storage. .B getconfent_multi(\|) returns the .I result -in the form of an array associated with a +in the form of an array associated with a .I count of the number of results. .PP @@ -114,7 +124,7 @@ return 0 if successful, -1 if failed. .PP If the .B getconfent(\|), getconfent_r(\|) -function fail, +function fail, .B serrno may be set to one of the following values: .TP diff --git a/mediachanger/castorrmc/common/log.man b/mediachanger/castorrmc/common/log.man index 8b824a37feeecbaee5ffeb1f5891d5483271a909..334ebf509b36241de8f13955314ca6bcd4bb09b6 100644 --- a/mediachanger/castorrmc/common/log.man +++ b/mediachanger/castorrmc/common/log.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 1990-2000 by CERN/IT/PDP/DC -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2001-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH LOG "3castor" "$Date: 2001/09/26 10:03:15 $" CASTOR "Common Library Functions" .SH NAME log, initlog \- log messages @@ -79,7 +90,7 @@ is a indicating the level logging. .SH COMMENT The total line length printed should not exceed \fBBUFSIZ\fP-1 characters. When you provide a format string and arguments to .B log(\|) -function, you have to be aware that +function, you have to be aware that .B log(\|) function prepend each line with a string that have the format .ft CW diff --git a/mediachanger/castorrmc/common/marshall.c b/mediachanger/castorrmc/common/marshall.c index 88b516b15c9a85d03032dc91ec76409f68334b3f..2c1638ddca6bb294ec07da98a7a5f87ceda29714 100644 --- a/mediachanger/castorrmc/common/marshall.c +++ b/mediachanger/castorrmc/common/marshall.c @@ -1,13 +1,25 @@ /* - * Copyright (C) 2000-2001 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2000-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* * marshall.c - wrappers on top of marshall macros */ -#include <string.h> +#include <string.h> #include "marshall.h" #include "osdep.h" diff --git a/mediachanger/castorrmc/common/netread.man b/mediachanger/castorrmc/common/netread.man index f85cb9e928402a6f44188374d462c0fca721b602..e2683ee90a7f940661a30d8d87ae3503e83804f5 100644 --- a/mediachanger/castorrmc/common/netread.man +++ b/mediachanger/castorrmc/common/netread.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 1991-2001 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2008-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH NETREAD "3castor" "$Date: 2008/05/07 14:53:22 $" CASTOR "Common Library Functions" .SH NAME netread \- receive a message from a socket diff --git a/mediachanger/castorrmc/common/netwrite.man b/mediachanger/castorrmc/common/netwrite.man index 1315330f622dbac7700ac3918e69f55b7db27406..026775b6921ba6c1116915da4d51d6140c664b3d 100644 --- a/mediachanger/castorrmc/common/netwrite.man +++ b/mediachanger/castorrmc/common/netwrite.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 1991-2001 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2008-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH NETWRITE "3castor" "$Date: 2008/05/07 14:53:22 $" CASTOR "Common Library Functions" .SH NAME netwrite \- send a message on a socket diff --git a/mediachanger/castorrmc/common/readc.c b/mediachanger/castorrmc/common/readc.c index 05d97f15122cea815950a57c033dbc9c93e01df5..5f866e3263fa99bc50558b3bed5177f712a31c09 100644 --- a/mediachanger/castorrmc/common/readc.c +++ b/mediachanger/castorrmc/common/readc.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 1990-2000 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* readc.c Fortran callable C I/O functions */ @@ -39,13 +51,13 @@ void read_s_(FILE **stream, /* * Reading the record length. - */ + */ rcode= fread(&size,sizeof(size),1,*stream) ; if ( rcode == 0 ) { /* * End of file. */ - *count = 0 ; + *count = 0 ; *status= 2 ; return ; } @@ -54,17 +66,17 @@ void read_s_(FILE **stream, /* * Error. */ - *status= 5 ; + *status= 5 ; return ; } /* * Reading the record. */ if ( *count > size ) { - rcode= fread(buff,size,1,*stream) ; + rcode= fread(buff,size,1,*stream) ; if ( rcode != 1 ) { - *status= 5 ; - return ; + *status= 5 ; + return ; } /* * Number of bytes read. @@ -72,34 +84,34 @@ void read_s_(FILE **stream, *count= size ; } else { - rcode= fread(buff,*count,1,*stream) ; + rcode= fread(buff,*count,1,*stream) ; if ( rcode != 1 ) { - *status= 5 ; - return ; + *status= 5 ; + return ; } } /* - * Skipping the record's end if it + * Skipping the record's end if it * was only partially read. */ if ( *count < size ) { - *status= -1 ; + *status= -1 ; if ( fseek(*stream,size-(*count),1) == -1 ) { - *status= 5 ; + *status= 5 ; return ; - } + } } /* - * Reading the trailing record length. + * Reading the trailing record length. */ rcode= fread(&size,sizeof(size),1,*stream) ; if ( rcode != 1 ) { - *status= 5 ; - return ; + *status= 5 ; + return ; } } @@ -113,7 +125,7 @@ void read_d_(FILE **stream, /* * Initialization. */ - *status= 0 ; + *status= 0 ; /* * Reading the record. @@ -124,7 +136,7 @@ void read_d_(FILE **stream, * End of file. */ *count = 0 ; - *status= 2 ; + *status= 2 ; return ; } @@ -132,8 +144,8 @@ void read_d_(FILE **stream, /* * Error */ - *status= 5 ; + *status= 5 ; return ; - } + } } diff --git a/mediachanger/castorrmc/common/remote.c b/mediachanger/castorrmc/common/remote.c index de54665fffd4c75b51aa6392f7985909fed4ca2c..b580e37da626c0f69ad97ea3a288a519e2057158 100644 --- a/mediachanger/castorrmc/common/remote.c +++ b/mediachanger/castorrmc/common/remote.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 1990-2000 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdlib.h> @@ -18,7 +30,7 @@ #include <net/if.h> /* Network interfaces */ #include <sys/ioctl.h> /* ioctl() definitions */ #include <Castor_limits.h> -#include <log.h> +#include <log.h> #include <net.h> #include <serrno.h> #include <Cnetdb.h> @@ -41,7 +53,7 @@ int isremote(struct in_addr from_host, int s_s; struct ifconf ifc; /* ifconf structure */ struct ifreq *ifr; /* Pointer on ifreq structure */ - int n ; + int n ; union adr { u_long adr_i; unsigned char adr_c[4]; @@ -68,7 +80,7 @@ int isremote(struct in_addr from_host, * getting local IP number */ gethostname(local, CA_MAXHOSTNAMELEN+1); - + if ( (h=(struct hostent *)Cgethostbyname(local))==NULL) { (*logfunc)(LOG_ERR,"isremote(): gethostbyname() error\n"); return -1 ; @@ -127,7 +139,7 @@ int isremote(struct in_addr from_host, } if ( isdigit(cp[0]) ) { strcpy(ent,cp) ; - if ( strtok_r(cp,".",&last) == NULL || + if ( strtok_r(cp,".",&last) == NULL || strtok_r(NULL,".",&last) == NULL ) (*logfunc)(LOG_DEBUG,"%s ignored: IP specification too short \n", ent); else { @@ -151,7 +163,7 @@ int isremote(struct in_addr from_host, (*logfunc)(LOG_ERR, "socket: %s\n",strerror(errno)); return -1; } - + ifc.ifc_len = sizeof(buf); ifc.ifc_buf = buf; ifr = ifc.ifc_req; @@ -160,8 +172,8 @@ int isremote(struct in_addr from_host, (*logfunc)(LOG_ERR, "ioctl(SIOCGIFCONF): %s\n",strerror(errno)); close(s_s); return -1; - } - else + } + else { for (n = ifc.ifc_len/sizeof(struct ifreq); --n >= 0; ifr++) { memcpy (&addr, &ifr->ifr_addr, sizeof(struct sockaddr_in)); @@ -213,7 +225,7 @@ int CDoubleDnsLookup(int s, char *host) { (*logfunc)(LOG_ERR,"CDoubleDnsLookup() isremote(): %s\n",neterror()); errno = save_errno; return(-1); - } + } if ( (i==0) && (p = strchr(tmphost,'.')) != NULL ) *p = '\0'; if ( host != NULL ) strcpy(host,tmphost); @@ -247,7 +259,7 @@ int isadminhost(int s, char *peerhost) { if ( admin_hosts == NULL ) admin_hosts = getenv("ADMIN_HOSTS"); if ( admin_hosts == NULL ) admin_hosts = getconfent("ADMIN","HOSTS",1); - if ( (admin_hosts != NULL) && + if ( (admin_hosts != NULL) && ((admin_host = strstr(admin_hosts,peerhost)) != NULL) ) { i = strlen(peerhost); if ( (admin_host[i] == '\0' || diff --git a/mediachanger/castorrmc/common/serror.c b/mediachanger/castorrmc/common/serror.c index d48556b5aa17123ad9968bbcd693cfe74e815138..c05f7a7cf4490578bd4e3f7248683979cc7924dc 100644 --- a/mediachanger/castorrmc/common/serror.c +++ b/mediachanger/castorrmc/common/serror.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 1990-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* serror.c Global error reporting routines */ @@ -588,7 +600,7 @@ int sstrerror_r(const int n, char *const buf, const size_t buflen) { } else { tmpstr = strerror_r_buf; } - + } if ( tmpstr != NULL ) { diff --git a/mediachanger/castorrmc/common/socket.c b/mediachanger/castorrmc/common/socket.c index 93a892fa2ea47af241fbb412e21ddc51bde533a8..7f8b795d51dd4d5609ddd58a730060fd92d8a7e6 100644 --- a/mediachanger/castorrmc/common/socket.c +++ b/mediachanger/castorrmc/common/socket.c @@ -1,23 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <sys/types.h> #include <sys/socket.h> @@ -45,7 +41,7 @@ int netread(int s, char *buf, int nbytes) { } return nbytes; } - + int netwrite (const int s, const char *buf, const int nbytes) { int n, nb; if (nbytes < 0) { diff --git a/mediachanger/castorrmc/common/socket_timeout.c b/mediachanger/castorrmc/common/socket_timeout.c index 586925e2e56bd02f7cc4d650fb05371c4bc4bd77..17ea4f785353f0ee2aaaecb7791431d6b49d1274 100644 --- a/mediachanger/castorrmc/common/socket_timeout.c +++ b/mediachanger/castorrmc/common/socket_timeout.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 1990-2003 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdlib.h> @@ -46,7 +58,7 @@ int netconnect_timeout(int fd, rc = ioctl(fd,FIONBIO,&nonblocking); if ( rc == -1 ) { serrno = 0; - } + } } else { nonblocking = 0; } @@ -316,11 +328,11 @@ int _net_isclosed(int fd) { struct pollfd pollit; char buf[1]; - + pollit.fd = fd; pollit.events = POLLIN; pollit.revents = 0; - + /* Will return > 0 if the descriptor is closed */ if (poll(&pollit, 1, 0) > 0) { if (recv(fd, buf, sizeof(buf), MSG_PEEK | MSG_DONTWAIT) == 0) { @@ -335,7 +347,7 @@ int _net_writable(int fd, int timeout) { struct pollfd pollit; - + pollit.fd = fd; pollit.events = POLLOUT; pollit.revents = 0; @@ -348,7 +360,7 @@ int _net_readable(int fd, int timeout) { struct pollfd pollit; - + pollit.fd = fd; pollit.events = POLLIN; pollit.revents = 0; @@ -392,8 +404,8 @@ int _net_connectable(int fd, * are reported through socket layer errors since the connect is * non-blocking. In this case, select() has returned a positive * value indicating that a socket was ready for writing. Note that - * most systems seem to require that one always checks the socket - * error for the connect() completion. Some systems (Windows) sets + * most systems seem to require that one always checks the socket + * error for the connect() completion. Some systems (Windows) sets * the exception set to indicate that there was an error. */ errval_len = (socklen_t) sizeof(errval); diff --git a/mediachanger/castorrmc/common/strerror_r_wrapper.cpp b/mediachanger/castorrmc/common/strerror_r_wrapper.cpp index f5316a59ed3cf376fbff18f685f738dac2e3f291..4f21e14e556cf154ab6fb35ddef7515cb9424c35 100644 --- a/mediachanger/castorrmc/common/strerror_r_wrapper.cpp +++ b/mediachanger/castorrmc/common/strerror_r_wrapper.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "strerror_r_wrapper.h" diff --git a/mediachanger/castorrmc/common/util.c b/mediachanger/castorrmc/common/util.c index f9fedd645a9b07d9fe21fcd3c2edcb036da28cb0..1f259efe34d1da3120fc41b6932f0a3f53423750 100644 --- a/mediachanger/castorrmc/common/util.c +++ b/mediachanger/castorrmc/common/util.c @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <ctype.h> #include <osdep.h> @@ -63,7 +56,7 @@ int check_for_strutou64(char *str) { if (*(p+2) == '\0') return(1); /* Ok with power of 2 unit */ else - return(-1); /* Unit followed by anything, not valid */ + return(-1); /* Unit followed by anything, not valid */ default: return(-1); /* Unit followed by anything, not valid */ } @@ -71,4 +64,3 @@ int check_for_strutou64(char *str) { return(-1); /* Unknown unit */ } } - diff --git a/mediachanger/castorrmc/h/Castor_limits.h b/mediachanger/castorrmc/h/Castor_limits.h index be7c898a4fd88278265f117e4ece4d2f4715f932..e227e551df7b75ee2219e245078a0e5e3b2f6034 100644 --- a/mediachanger/castorrmc/h/Castor_limits.h +++ b/mediachanger/castorrmc/h/Castor_limits.h @@ -1,14 +1,18 @@ /* - * Castor_limits.h,v 1.27 2004/02/12 15:38:08 obarring Exp - */ - -/* - * Copyright (C) 1999-2003 by CERN/IT/PDP/DM - * All rights reserved - */ - -/* - * @(#)Castor_limits.h,v 1.27 2004/02/12 15:38:08 CERN IT-PDP/DM Jean-Philippe Baud + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1999-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/mediachanger/castorrmc/h/Castor_limits.man b/mediachanger/castorrmc/h/Castor_limits.man index 59b2ecb8dde06a85f68837d672558d782d20c23c..cceffda6ea544c22601ca3d898e2ad7f16d6a0b4 100644 --- a/mediachanger/castorrmc/h/Castor_limits.man +++ b/mediachanger/castorrmc/h/Castor_limits.man @@ -1,7 +1,17 @@ -.\" $Id: Castor_limits.man,v 1.15 2004/02/12 15:40:32 obarring Exp $ +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2004-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" Man page for the CASTOR's limits header file Castor_limits.h +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH CASTOR_LIMITS "4" "$Date: 2004/02/12 15:40:32 $" "CASTOR" "File Formats" .SH NAME \fBCastor_limits\fP \- CASTOR internal limits @@ -125,7 +135,7 @@ maximum length for a pool name .br Default value: 15 .TP -.B CA_MAXRBTNAMELEN +.B CA_MAXRBTNAMELEN maximum length for a robot name .br Default value: 17 diff --git a/mediachanger/castorrmc/h/Cdomainname.h b/mediachanger/castorrmc/h/Cdomainname.h index e5c863ec44954b3299fc3fb9ee88fb13bf8a86ff..5b57ba881de58f84173ca639b9fc747b4f5ac2dc 100644 --- a/mediachanger/castorrmc/h/Cdomainname.h +++ b/mediachanger/castorrmc/h/Cdomainname.h @@ -1,28 +1,20 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1999-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once EXTERN_C int Cdomainname (char*, int); - diff --git a/mediachanger/castorrmc/h/Cglobals.h b/mediachanger/castorrmc/h/Cglobals.h index 4dec853f1f0859dc013b55c358a4773126737785..91d158768799a989da2ceacd3a66e8c14b61947a 100644 --- a/mediachanger/castorrmc/h/Cglobals.h +++ b/mediachanger/castorrmc/h/Cglobals.h @@ -1,10 +1,18 @@ /* - * $Id: Cglobals.h,v 1.9 2001/06/29 05:04:23 baud Exp $ - */ - -/* - * Copyright (C) 1999-2001 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1999-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -17,4 +25,3 @@ EXTERN_C void Cglobals_init (int (*) (int *, void **), int (*) (void)); EXTERN_C int Cglobals_get (int *, void **, size_t size); EXTERN_C void Cglobals_getTid (int *); - diff --git a/mediachanger/castorrmc/h/Cinit.h b/mediachanger/castorrmc/h/Cinit.h index 51c7c784788e29acf53afbadfd46fe686980b0dc..1dbef413a915e30210c1f6d9b0b65f2d6877ca06 100644 --- a/mediachanger/castorrmc/h/Cinit.h +++ b/mediachanger/castorrmc/h/Cinit.h @@ -1,13 +1,18 @@ /* - * $Id: Cinit.h,v 1.3 2001/06/21 11:41:19 jdurand Exp $ - */ - -/* - * Copyright (C) 2000 by CERN/IT/PDP/DM - * All rights reserved - */ - -/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2000-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -22,4 +27,3 @@ struct main_args { }; EXTERN_C int Cinitdaemon (const char *const name, void (*const wait4child) (int)); - diff --git a/mediachanger/castorrmc/h/Cnetdb.h b/mediachanger/castorrmc/h/Cnetdb.h index d5ba1da635d2ffed7580ed9a0a38ea81464981ed..fc59b0829b5625498aa01097c8a94c5009de7cb7 100644 --- a/mediachanger/castorrmc/h/Cnetdb.h +++ b/mediachanger/castorrmc/h/Cnetdb.h @@ -1,12 +1,20 @@ /* - * Copyright (C) 1999 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1999-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/* - */ - - #pragma once #include <osdep.h> @@ -15,4 +23,3 @@ EXTERN_C struct hostent *Cgethostbyname (const char *); EXTERN_C struct hostent *Cgethostbyaddr (const void *, size_t, int); EXTERN_C struct servent *Cgetservbyname (const char *, const char *); - diff --git a/mediachanger/castorrmc/h/Csnprintf.h b/mediachanger/castorrmc/h/Csnprintf.h index 989656e8e0c3e1c3f81122beec9d3c338f6be246..bf9fe16cc7e860ffac409e6038400a99aa22982a 100644 --- a/mediachanger/castorrmc/h/Csnprintf.h +++ b/mediachanger/castorrmc/h/Csnprintf.h @@ -1,5 +1,18 @@ /* - * $Id: Csnprintf.h,v 1.2 2007/12/07 11:40:53 sponcec3 Exp $ + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2007-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __Csnprintf_h diff --git a/mediachanger/castorrmc/h/getconfent.h b/mediachanger/castorrmc/h/getconfent.h index 4d0b0859370bb42aeedae3abc7b5811aed6eab46..3c41e86c4fbd98d5ce28c5a2bb777fd7607841e7 100644 --- a/mediachanger/castorrmc/h/getconfent.h +++ b/mediachanger/castorrmc/h/getconfent.h @@ -1,5 +1,18 @@ /* - * $Id: getconfent.h,v 1.5 2007/12/07 11:40:53 sponcec3 Exp $ + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2007-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __getconfent_h diff --git a/mediachanger/castorrmc/h/marshall.h b/mediachanger/castorrmc/h/marshall.h index e549877e3ca5018901ab419a4597cbd6c9335b49..18332e774498ab373957eb2762b9e9515d581d4a 100644 --- a/mediachanger/castorrmc/h/marshall.h +++ b/mediachanger/castorrmc/h/marshall.h @@ -1,17 +1,20 @@ /* - * $Id: marshall.h,v 1.15 2005/02/22 13:28:13 jdurand Exp $ + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/* - */ - -/* - * Copyright (C) 1990-2002 by CERN/IT/PDP/DM - * All rights reserved - */ - -/* marshall.h - marshalling/unmarshalling definitions */ - #pragma once #include <osdep.h> /* Operating system dependencies */ @@ -24,7 +27,7 @@ #define SHORTADDR WORDADDR #define marshall_WORD marshall_SHORT -#define unmarshall_WORD unmarshall_SHORT +#define unmarshall_WORD unmarshall_SHORT #define INC_PTR(ptr,n) (ptr) = (char*)(ptr) + (n) #define DIFF_PTR(ptr,base) (char*)(ptr) - (char*)(base) @@ -77,13 +80,13 @@ typedef char* bitvct; /* bit vector type definition */ #define marshall_BYTE(ptr,n) { BYTE n_ = n; \ (void) memcpy((ptr),BYTEADDR(n_),BYTESIZE); \ INC_PTR(ptr,BYTESIZE); \ - } + } #define unmarshall_BYTE(ptr,n) { BYTE n_ = 0; \ (void) memcpy(BYTEADDR(n_),(ptr),BYTESIZE); \ n = n_; \ INC_PTR(ptr,BYTESIZE); \ - } + } /* * S H O R T @@ -93,7 +96,7 @@ typedef char* bitvct; /* bit vector type definition */ (void) memcpy((ptr),SHORTADDR(n_),SHORTSIZE); \ INC_PTR(ptr,SHORTSIZE); \ } - + #define unmarshall_SHORT(ptr,n) { SHORT n_ = 0; \ (void) memcpy(SHORTADDR(n_),(ptr),SHORTSIZE); \ n = ntohs((unsigned short)(n_)); \ @@ -110,7 +113,7 @@ typedef char* bitvct; /* bit vector type definition */ (void) memcpy((ptr),LONGADDR(n_),LONGSIZE); \ INC_PTR(ptr,LONGSIZE); \ } - + #define unmarshall_LONG(ptr,n) { LONG n_ = 0; \ (void) memcpy(LONGADDR(n_),(ptr),LONGSIZE); \ n = ntohl((unsigned long)(n_)); \ @@ -194,4 +197,3 @@ EXTERN_C int _unmarshall_STRINGN (char **, char*, int); unmarshall_HYPER(ptr,_unmarshall_time_dummy); \ n = (time_t) _unmarshall_time_dummy; \ } - diff --git a/mediachanger/castorrmc/h/net.h b/mediachanger/castorrmc/h/net.h index a45131cd5ebb605b3a34c1828c468ea414dc3e33..21ca21b9491f91bac194ab2c20c9202d1cc5d8a0 100644 --- a/mediachanger/castorrmc/h/net.h +++ b/mediachanger/castorrmc/h/net.h @@ -1,23 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once @@ -33,4 +29,3 @@ EXTERN_C char* neterror(void); /* Network error function */ EXTERN_C ssize_t netread_timeout (int, void *, ssize_t, int); EXTERN_C ssize_t netwrite_timeout (int, void *, ssize_t, int); EXTERN_C int netconnect_timeout (int, struct sockaddr *, size_t, int); - diff --git a/mediachanger/castorrmc/h/osdep.h b/mediachanger/castorrmc/h/osdep.h index c73a9d222f6c7d01938ea4c75b0f6738f68c2177..5f0f0e54a5c5aca034a51ea98cdb11289626eacf 100644 --- a/mediachanger/castorrmc/h/osdep.h +++ b/mediachanger/castorrmc/h/osdep.h @@ -1,13 +1,18 @@ /* - * $Id: osdep.h,v 1.22 2009/05/13 10:06:27 sponcec3 Exp $ - */ - -/* - * Copyright (C) 1990-2002 by CERN/IT/PDP/IP - * All rights reserved - */ - -/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* osdep.h Operating system dependencies */ @@ -63,7 +68,7 @@ typedef U_HYPER TIME_T; #define NETERROR perror #define OSERROR perror - + /* Macros for externalization (UNIX) (J.-D.Durand) */ #ifdef EXTERN_C #undef EXTERN_C @@ -77,4 +82,3 @@ typedef U_HYPER TIME_T; #if defined(__APPLE__) #define off64_t off_t #endif - diff --git a/mediachanger/castorrmc/h/patchlevel.h.in b/mediachanger/castorrmc/h/patchlevel.h.in index 4e12bc8f634b932335a0e388068944f9d516c527..ddf36962e4a1fe3a11a1eb7cc8ef8f490e629b69 100644 --- a/mediachanger/castorrmc/h/patchlevel.h.in +++ b/mediachanger/castorrmc/h/patchlevel.h.in @@ -1,17 +1,20 @@ /* - * $Id: patchlevel.h,v 1.8 2007/12/07 17:19:31 itglp Exp $ + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/* - */ - -/* - * Copyright (C) 1990-2000 by CERN IT-PDP/CS - * All rights reserved - */ - -/* patchlevel.h Patch level */ - #pragma once #define MAJORVERSION @MAJOR_CASTOR_VERSION_TOP@ @@ -21,4 +24,3 @@ #define BASEVERSION "@CASTOR_VERSION@" #define PATCHLEVEL MINORRELEASE - diff --git a/mediachanger/castorrmc/h/rbtsubr_constants.h b/mediachanger/castorrmc/h/rbtsubr_constants.h index 9cce18c281994db51c59bf83f7a65df4c97f02b2..fd940a642ff37eaf92fe8449e8b28b51e4fc67b0 100644 --- a/mediachanger/castorrmc/h/rbtsubr_constants.h +++ b/mediachanger/castorrmc/h/rbtsubr_constants.h @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once @@ -36,4 +29,3 @@ #define RBT_OMSG_SLOW_R 7 /* Ops msg (nowait) + release drive + slow retry */ #define RBT_OMSGR 8 /* Should send a msg to operator and wait */ #define RBT_UNLD_DMNT 9 /* Should unload the tape and retry demount */ - diff --git a/mediachanger/castorrmc/h/rmc_api.h b/mediachanger/castorrmc/h/rmc_api.h index 93fc1d9f00a982f13397e141a0e44b00df53bae9..7c819e149b8f74581f8040b00c4e7b50f5345237 100644 --- a/mediachanger/castorrmc/h/rmc_api.h +++ b/mediachanger/castorrmc/h/rmc_api.h @@ -1,13 +1,18 @@ /* - * $Id: rmc_api.h,v 1.2 2003/10/29 12:37:27 baud Exp $ - */ - -/* - * Copyright (C) 2002-2003 by CERN/IT/DS/HSM - * All rights reserved - */ - -/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -27,4 +32,3 @@ EXTERN_C int rmc_mount(const char *const server, const char *const vid, const in EXTERN_C int rmc_read_elem_status(const char *const server, const int type, const int startaddr, const int nbelem, struct smc_element_info *const element_info); EXTERN_C void rmc_seterrbuf(const char *const buffer, const int buflen); EXTERN_C int send2rmc(const char *const host, const char *const reqp, const int reql, char *const user_repbuf, const int user_repbuf_len); - diff --git a/mediachanger/castorrmc/h/rmc_constants.h b/mediachanger/castorrmc/h/rmc_constants.h index 684b45dddaf2ecb599dcf8216add6fb85a43d9c1..d5690e29b91ffd431d4fed65e0d7921be7442f9c 100644 --- a/mediachanger/castorrmc/h/rmc_constants.h +++ b/mediachanger/castorrmc/h/rmc_constants.h @@ -1,13 +1,18 @@ /* - * $Id: rmc_constants.h,v 1.1 2002/12/01 07:31:57 baud Exp $ - */ - -/* - * Copyright (C) 2001 by CERN/IT/PDP/DM - * All rights reserved - */ - -/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -63,4 +68,3 @@ #define RMC46 "RMC46 - request too large (max. %d)\n" #define RMC92 "RMC92 - %s request by %d,%d from %s\n" #define RMC98 "RMC98 - %s\n" - diff --git a/mediachanger/castorrmc/h/rmc_logit.h b/mediachanger/castorrmc/h/rmc_logit.h index c97a15ab990751e83a3acc9528227463762206b0..d638cdf8701e231c56d3680beefe64a46f61eb9e 100644 --- a/mediachanger/castorrmc/h/rmc_logit.h +++ b/mediachanger/castorrmc/h/rmc_logit.h @@ -1,6 +1,18 @@ /* - * Copyright (C) 2001 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -8,4 +20,3 @@ #include "osdep.h" EXTERN_C int rmc_logit(const char *const func, const char *const msg, ...); - diff --git a/mediachanger/castorrmc/h/rmc_logreq.h b/mediachanger/castorrmc/h/rmc_logreq.h index aeafa2eb72a471df8f063ea4db70b72e1e40a7dd..5a0952a359f0d5cd354feb035d2646ede767345c 100644 --- a/mediachanger/castorrmc/h/rmc_logreq.h +++ b/mediachanger/castorrmc/h/rmc_logreq.h @@ -1,6 +1,18 @@ /* - * Copyright (C) 2001 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -8,4 +20,3 @@ #include "osdep.h" EXTERN_C void rmc_logreq(const char *const func, char *const logbuf); - diff --git a/mediachanger/castorrmc/h/rmc_marshall_element.h b/mediachanger/castorrmc/h/rmc_marshall_element.h index b403772daba65e1bfb5093b75e88ad56a12e0fed..a3453c352facaa055764165115375851f6a48a0c 100644 --- a/mediachanger/castorrmc/h/rmc_marshall_element.h +++ b/mediachanger/castorrmc/h/rmc_marshall_element.h @@ -1,6 +1,18 @@ /* - * Copyright (C) 2001 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -9,4 +21,3 @@ #include "smc_struct.h" EXTERN_C int rmc_marshall_element (char **const sbpp, const struct smc_element_info *const element_info); - diff --git a/mediachanger/castorrmc/h/rmc_procreq.h b/mediachanger/castorrmc/h/rmc_procreq.h index 0cea59fed78853f1d3d3fa541ed6e15376ac5d06..1409d22da4943b8453981961f91505473a4fb11f 100644 --- a/mediachanger/castorrmc/h/rmc_procreq.h +++ b/mediachanger/castorrmc/h/rmc_procreq.h @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/mediachanger/castorrmc/h/rmc_send_scsi_cmd.h b/mediachanger/castorrmc/h/rmc_send_scsi_cmd.h index eef6a01d20790c346035c95f9fb8aa22d12e7ddc..7f56ec236b4c03cbafb14481aa7c059719d43056 100644 --- a/mediachanger/castorrmc/h/rmc_send_scsi_cmd.h +++ b/mediachanger/castorrmc/h/rmc_send_scsi_cmd.h @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once @@ -39,4 +32,3 @@ EXTERN_C int rmc_send_scsi_cmd ( const int flags, int *const nb_sense_ret, const char **const msgaddr); - diff --git a/mediachanger/castorrmc/h/rmc_sendrep.h b/mediachanger/castorrmc/h/rmc_sendrep.h index 41b10363f2a5460e8f7343a925f4b1a1f69d8356..cd92d4563010007c78c1e5e311a7559cdbbc3dd7 100644 --- a/mediachanger/castorrmc/h/rmc_sendrep.h +++ b/mediachanger/castorrmc/h/rmc_sendrep.h @@ -1,6 +1,18 @@ /* - * Copyright (C) 1998-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1998-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -8,4 +20,3 @@ #include "osdep.h" EXTERN_C int rmc_sendrep(const int rpfd, const int rep_type, ...); - diff --git a/mediachanger/castorrmc/h/rmc_smcsubr.h b/mediachanger/castorrmc/h/rmc_smcsubr.h index bed55dcdad55c02b8b38d308e7d682378ae22afb..24228c43a0916f747be56a57ef20f3022f3f53db 100644 --- a/mediachanger/castorrmc/h/rmc_smcsubr.h +++ b/mediachanger/castorrmc/h/rmc_smcsubr.h @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once @@ -67,4 +61,3 @@ EXTERN_C int smc_move_medium( const int from, const int to, const int invert); - diff --git a/mediachanger/castorrmc/h/rmc_smcsubr2.h b/mediachanger/castorrmc/h/rmc_smcsubr2.h index 5bb6e1d1058e1da909e890cf4b4aaefbc6d20f09..4f48281c4a87ebeef09242a63427c731e55e05fa 100644 --- a/mediachanger/castorrmc/h/rmc_smcsubr2.h +++ b/mediachanger/castorrmc/h/rmc_smcsubr2.h @@ -1,6 +1,18 @@ /* - * Copyright (C) 1998-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1998-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -38,4 +50,3 @@ EXTERN_C int smc_mount ( const int drvord, const char *const vid, const int invert); - diff --git a/mediachanger/castorrmc/h/scsictl.h b/mediachanger/castorrmc/h/scsictl.h index e5e15e1e3741ca5ff58bfa9ca191cb6050738b2f..c8b4a100c5f6c9ee332fe4d3ec4553d93aa3326d 100644 --- a/mediachanger/castorrmc/h/scsictl.h +++ b/mediachanger/castorrmc/h/scsictl.h @@ -1,14 +1,18 @@ /* - * $Id: scsictl.h,v 1.2 1999/12/09 13:46:22 jdurand Exp $ - */ - -/* - * Copyright (C) 1995-1996 by CERN/CN/SW/SC - * All rights reserved - */ - -/* - * @(#)scsictl.h 1.1 12/10/96 CERN CN-SW/SC Fabien Collin + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1995-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -20,7 +24,7 @@ #define SCSI_OUT 2 #define SCSI_IN_OUT 4 #define SCSI_NONE 8 -#define SCSI_SEL_WITH_ATN 16 +#define SCSI_SEL_WITH_ATN 16 #define SCSI_SYNC 32 #define SCSI_WIDE 64 @@ -74,4 +78,3 @@ #define SCSI_PERIPH_ASC2 11 #define SCSI_PERIPH_RAID 12 #define SCSI_PERIPH_UNKNOWN 31 - diff --git a/mediachanger/castorrmc/h/serrno.h b/mediachanger/castorrmc/h/serrno.h index e90e2dbb9e3b379d43a9e7298d215521416dee77..48866943c06f6025484ad53c9dea5c4e45d1f5e1 100644 --- a/mediachanger/castorrmc/h/serrno.h +++ b/mediachanger/castorrmc/h/serrno.h @@ -1,14 +1,20 @@ /* - * Copyright (C) 1990-2002 by CERN/IT/PDP/DM - * All rights reserved - */ - -/* - * serrno.h,v 1.65 2002/11/27 14:45:53 + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1990-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/* serrno.h Special error numbers - not in errno.h */ - #pragma once #ifndef _SHIFT_H_INCLUDED_ @@ -514,4 +520,3 @@ EXTERN_C const char *sstrerror (const int n); EXTERN_C void sperror (char *); extern const char *sys_serrlist[]; /* Error text array */ - diff --git a/mediachanger/castorrmc/h/serrno.man b/mediachanger/castorrmc/h/serrno.man index a0d6b0bef765108a67209b783351900c813f4625..2d565c9e38e81baf11698a7d21c6058250033e5a 100644 --- a/mediachanger/castorrmc/h/serrno.man +++ b/mediachanger/castorrmc/h/serrno.man @@ -1,7 +1,17 @@ -.\" serrno.man,v 1.3 2004/12/03 10:19:30 obarring Exp +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2004-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" Man page for the CASTOR's error variable serrno +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH SERRNO "3castor" "2004/12/03 10:19:30" "CASTOR" "Castor Library Functions" .SH NAME \fBserrno\fP \- CASTOR internal error variable diff --git a/mediachanger/castorrmc/h/smc_constants.h b/mediachanger/castorrmc/h/smc_constants.h index 86cdf71600c28269ad465867a4d3adbd5b914a0f..88dc58cf6ebe9ff506bb0909485578d844d8e294 100644 --- a/mediachanger/castorrmc/h/smc_constants.h +++ b/mediachanger/castorrmc/h/smc_constants.h @@ -1,6 +1,18 @@ /* - * Copyright (C) 1998-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1998-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -28,4 +40,3 @@ #define SR019 "SR019 - %s : %s error : %s\n" #define SR020 "SR020 - %s failed : %s\n" #define SR021 "SR021 - specify source slot and target slot\n" - diff --git a/mediachanger/castorrmc/h/smc_struct.h b/mediachanger/castorrmc/h/smc_struct.h index 4d518908a0734e2a175a2a827fd2e92742e25117..9eb60951b32dbbc09a7977e94b731aaf611ede38 100644 --- a/mediachanger/castorrmc/h/smc_struct.h +++ b/mediachanger/castorrmc/h/smc_struct.h @@ -1,6 +1,18 @@ /* - * Copyright (C) 1998-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1998-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -44,4 +56,3 @@ struct smc_status { unsigned char sensekey; int skvalid; /* sense key is valid */ }; - diff --git a/mediachanger/castorrmc/h/strerror_r_wrapper.h b/mediachanger/castorrmc/h/strerror_r_wrapper.h index 12619a10e420871e28f7896be59255cdb8446536..b9add0527ca3e9a40b9aac89d5d5e012bd231d62 100644 --- a/mediachanger/castorrmc/h/strerror_r_wrapper.h +++ b/mediachanger/castorrmc/h/strerror_r_wrapper.h @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2003-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once @@ -52,7 +46,7 @@ * 'int'. A C compiler may allow the strerror_r() function to return a * 'char *' and have that 'char *' assigned to an 'int'. A C++ compiler * usually gives an error if this is tried. - * + * * @param errnum The error number. * @param buf The buffer. * @param buflen The length of the buffer. @@ -61,4 +55,3 @@ * indicate the supplied error buffer is not large enough. */ EXTERN_C int strerror_r_wrapper(int errnum, char *buf, size_t buflen); - diff --git a/mediachanger/castorrmc/rmc/CMakeLists.txt b/mediachanger/castorrmc/rmc/CMakeLists.txt index ee15ad6e9813f66b1faedfdcff0502ffbfcc32a3..63e53e84d66553a2fed1239cff30e528f8f73e8f 100644 --- a/mediachanger/castorrmc/rmc/CMakeLists.txt +++ b/mediachanger/castorrmc/rmc/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories (${PROJECT_SOURCE_DIR}/mediachanger/castorrmc/h) @@ -35,7 +34,7 @@ if(CMAKE_COMPILER_IS_GNUCC) endif (GCC_VERSION VERSION_EQUAL 7 OR GCC_VERSION VERSION_GREATER 7) endif(CMAKE_COMPILER_IS_GNUCC) -add_executable(cta-rmcd ${RMCD_SRC_FILES}) +add_executable(cta-rmcd ${RMCD_SRC_FILES}) target_link_libraries(cta-rmcd ctarmccommon) install (FILES cta-rmcd.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta) install (FILES cta-smc.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/cta) @@ -57,7 +56,7 @@ set (SMC_SRC_FILES rmc_read_elem_status.c send2rmc.c smc.c) -add_executable(cta-smc ${SMC_SRC_FILES}) +add_executable(cta-smc ${SMC_SRC_FILES}) target_link_libraries(cta-smc ctarmccommon) install (TARGETS cta-smc DESTINATION /usr/bin) install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/cta-smc.1cta DESTINATION /usr/share/man/man1) diff --git a/mediachanger/castorrmc/rmc/cta-rmcd.1cta b/mediachanger/castorrmc/rmc/cta-rmcd.1cta index 9ec6272c9ab6213dade957efec898c5bfd6249f5..518789fde9b20ab282db02f0e1116580bd8e845e 100644 --- a/mediachanger/castorrmc/rmc/cta-rmcd.1cta +++ b/mediachanger/castorrmc/rmc/cta-rmcd.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2021 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-RMCD "1cta" "$Date: 2021/03/11 14:44:00 $" CTA "CTA" .SH NAME cta-rmcd \- Media changer daemon @@ -34,7 +34,7 @@ The installation RPM for the \fBrmcd\fP daemon and its manual page is: The \fBcta-rmcd\fP daemon can be started, stopped and its status queried using the usual service commands: .LP -\fBservice cta-rmcd start /device/file/of/the/tape/library\fP +\fBservice cta-rmcd start /device/file/of/the/tape/library\fP .br \fBservice cta-rmcd status\fP .br @@ -105,4 +105,4 @@ Here is a small log: 12/06 11:42:48 7971 rmc_srv_unmount: returns 0 .fi .SH AUTHOR -CERN CTA Team, https://cta.web.cern.ch +\fBCTA\fP Team diff --git a/mediachanger/castorrmc/rmc/cta-smc.1cta b/mediachanger/castorrmc/rmc/cta-smc.1cta index b72afc7a5120d7ade1a27a4c911f10376836aa6b..d9cabffac306f589f92d21529c6e2a1446005515 100644 --- a/mediachanger/castorrmc/rmc/cta-smc.1cta +++ b/mediachanger/castorrmc/rmc/cta-smc.1cta @@ -1,20 +1,18 @@ - -.\"The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN -.\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. -.\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2017-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH SMC "1cta" "$Date: 2017/12/30 09:43:12 $" CTA "Ctape User Commands" .SH NAME cta-smc \- command line interface to drive robotic devices through SCSI @@ -24,7 +22,7 @@ cta-smc \- command line interface to drive robotic devices through SCSI .BI -D " drive_ordinal" [ .BI -V " vid" -] +] .br .B cta-smc .BI -e @@ -34,7 +32,7 @@ cta-smc \- command line interface to drive robotic devices through SCSI .BI -i [ .BI -V " vid" -] +] .br .B cta-smc .BI -m diff --git a/mediachanger/castorrmc/rmc/rmc_dismount.c b/mediachanger/castorrmc/rmc/rmc_dismount.c index 076c381f4d7ecde1545a919040b083b1a00aec8d..3ccec4f134dfd1e3f20aff073212d4734f906c5d 100644 --- a/mediachanger/castorrmc/rmc/rmc_dismount.c +++ b/mediachanger/castorrmc/rmc/rmc_dismount.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2002 by CERN/IT/DS/HSM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* rmc_dismount - dismount a cartridge from a drive */ diff --git a/mediachanger/castorrmc/rmc/rmc_dismount.man b/mediachanger/castorrmc/rmc/rmc_dismount.man index a52247bb361e9a233bfe9892611c3883e41a9f6d..f968c1e2b90e42ebeee3b52baea10502e70f1a35 100644 --- a/mediachanger/castorrmc/rmc/rmc_dismount.man +++ b/mediachanger/castorrmc/rmc/rmc_dismount.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 2002 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH RMC_DISMOUNT "3castor" "$Date: 2002/12/06 15:58:31 $" CASTOR "rmc Library Functions" .SH NAME rmc_dismount \- send a request to the Remote Media Changer daemon to have a volume dismounted diff --git a/mediachanger/castorrmc/rmc/rmc_errmsg.c b/mediachanger/castorrmc/rmc/rmc_errmsg.c index d4975fb2066608961475a888708f739be86b9c3b..8692b0d7431ac040364c4067d901028a87a62081 100644 --- a/mediachanger/castorrmc/rmc/rmc_errmsg.c +++ b/mediachanger/castorrmc/rmc/rmc_errmsg.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2001 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> diff --git a/mediachanger/castorrmc/rmc/rmc_export.c b/mediachanger/castorrmc/rmc/rmc_export.c index 0876b6f2c1ecdabe5a76fae16656027821ab8770..9288ef00d29cd801c1fa002d586003b619cd1233 100644 --- a/mediachanger/castorrmc/rmc/rmc_export.c +++ b/mediachanger/castorrmc/rmc/rmc_export.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2002 by CERN/IT/DS/HSM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* rmc_export - export/eject a cartridge from the robot */ diff --git a/mediachanger/castorrmc/rmc/rmc_export.man b/mediachanger/castorrmc/rmc/rmc_export.man index d4c96bdb04eb249b31a3d25d3a8513c3ab10f29c..47f2c306a40bd4f43086515cd0aac6f86a625df1 100644 --- a/mediachanger/castorrmc/rmc/rmc_export.man +++ b/mediachanger/castorrmc/rmc/rmc_export.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 2002 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH RMC_EXPORT "3castor" "$Date: 2002/12/06 15:58:32 $" CASTOR "rmc Library Functions" .SH NAME rmc_export \- send a request to the Remote Media Changer daemon to have a volume exported/ejected from the robot diff --git a/mediachanger/castorrmc/rmc/rmc_find_cartridge.c b/mediachanger/castorrmc/rmc/rmc_find_cartridge.c index ae73374abbe6999b0c6c86a2cb52315b911a7a9c..06d7be1b4a5f5182a2a288651764999bde37a5e7 100644 --- a/mediachanger/castorrmc/rmc/rmc_find_cartridge.c +++ b/mediachanger/castorrmc/rmc/rmc_find_cartridge.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2002-2003 by CERN/IT/DS/HSM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* rmc_find_cartridge - find cartridge(s) in a remote SCSI robot */ diff --git a/mediachanger/castorrmc/rmc/rmc_find_cartridge.man b/mediachanger/castorrmc/rmc/rmc_find_cartridge.man index 48fbb62c2534b12847aa331df92cd4a41ae340ef..4df51be16170d5116adbad9fdb20d53d5794aa06 100644 --- a/mediachanger/castorrmc/rmc/rmc_find_cartridge.man +++ b/mediachanger/castorrmc/rmc/rmc_find_cartridge.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 2002 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH RMC_FIND_CARTRIDGE "3castor" "$Date: 2002/12/06 15:58:32 $" CASTOR "rmc Library Functions" .SH NAME rmc_find_cartridge \- send a request to the Remote Media Changer daemon to find volume(s) in the robot diff --git a/mediachanger/castorrmc/rmc/rmc_get_geometry.c b/mediachanger/castorrmc/rmc/rmc_get_geometry.c index 14bf2871a143f809214cba3a46645329fe8abde8..68f9dcf8cec1034d90388e6584f4c3926d16674e 100644 --- a/mediachanger/castorrmc/rmc/rmc_get_geometry.c +++ b/mediachanger/castorrmc/rmc/rmc_get_geometry.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2002 by CERN/IT/DS/HSM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* rmc_get_geometry - get the remote SCSI robot geometry */ diff --git a/mediachanger/castorrmc/rmc/rmc_get_geometry.man b/mediachanger/castorrmc/rmc/rmc_get_geometry.man index 4cf743c6f1046cf23d5d83dcfe171467ab3d683d..cbb86f0d5c6e7863233c7c945b09c6b65f49e617 100644 --- a/mediachanger/castorrmc/rmc/rmc_get_geometry.man +++ b/mediachanger/castorrmc/rmc/rmc_get_geometry.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 2002 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH RMC_GET_GEOMETRY "3castor" "$Date: 2002/12/06 15:58:33 $" CASTOR "rmc Library Functions" .SH NAME rmc_get_geometry \- send a request to the Remote Media Changer daemon to get the robot geometry diff --git a/mediachanger/castorrmc/rmc/rmc_import.c b/mediachanger/castorrmc/rmc/rmc_import.c index 7e383f11b2097cbfd6d5b6955eb06711f6de63b3..40dd76048dbea1dfc91d888758764d1adba6867e 100644 --- a/mediachanger/castorrmc/rmc/rmc_import.c +++ b/mediachanger/castorrmc/rmc/rmc_import.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2002 by CERN/IT/DS/HSM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* rmc_import - import/inject a cartridge into the robot */ diff --git a/mediachanger/castorrmc/rmc/rmc_import.man b/mediachanger/castorrmc/rmc/rmc_import.man index b18a205b85a4acea17daae8f3befbcf07dfa648a..8a455386d31398f2a99c9ac1b8a746af6971943d 100644 --- a/mediachanger/castorrmc/rmc/rmc_import.man +++ b/mediachanger/castorrmc/rmc/rmc_import.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 2002 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH RMC_IMPORT "3castor" "$Date: 2002/12/06 15:58:33 $" CASTOR "rmc Library Functions" .SH NAME rmc_import \- send a request to the Remote Media Changer daemon to have a volume imported/injected into the robot diff --git a/mediachanger/castorrmc/rmc/rmc_logit.c b/mediachanger/castorrmc/rmc/rmc_logit.c index c17e02eb0fec0fb3b9197119b72fd1ebff52cb6e..24d9693529aa711fd193dc3141f66f9f2ced3ecc 100644 --- a/mediachanger/castorrmc/rmc/rmc_logit.c +++ b/mediachanger/castorrmc/rmc/rmc_logit.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2001 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdio.h> @@ -33,7 +45,7 @@ int rmc_logit(const char *const func, const char *const msg, ...) vsprintf (prtbuf+strlen(prtbuf), msg, args); va_end (args); fd_log = open("/var/log/cta/cta-rmcd.log", O_WRONLY | O_CREAT | O_APPEND, 0664); - if (fd_log < 0) return -1; + if (fd_log < 0) return -1; write (fd_log, prtbuf, strlen(prtbuf)); close (fd_log); errno = save_errno; diff --git a/mediachanger/castorrmc/rmc/rmc_logreq.c b/mediachanger/castorrmc/rmc/rmc_logreq.c index 816a0d98b9b215cd7ed44b98169cc49104148e1a..32dd5451fabeb207612f65ce7aeac26b632f0189 100644 --- a/mediachanger/castorrmc/rmc/rmc_logreq.c +++ b/mediachanger/castorrmc/rmc/rmc_logreq.c @@ -1,14 +1,26 @@ /* - * Copyright (C) 2001-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - + #include "rmc_constants.h" #include "rmc_logit.h" #include "rmc_logreq.h" #include <string.h> - + /* rmc_logreq - log a request */ /* Split the message into lines so they don't exceed LOGBUFSZ-1 characters diff --git a/mediachanger/castorrmc/rmc/rmc_marshall_element.c b/mediachanger/castorrmc/rmc/rmc_marshall_element.c index f9adde88e1dfa5da752f8fec68541025a272c636..303850b4d7e7289e98713788b09a516bd8b9b061 100644 --- a/mediachanger/castorrmc/rmc/rmc_marshall_element.c +++ b/mediachanger/castorrmc/rmc/rmc_marshall_element.c @@ -1,11 +1,23 @@ /* - * Copyright (C) 2001-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - + #include "marshall.h" #include "rmc_marshall_element.h" - + int rmc_marshall_element ( char **const sbpp, const struct smc_element_info *const element_info) diff --git a/mediachanger/castorrmc/rmc/rmc_mount.c b/mediachanger/castorrmc/rmc/rmc_mount.c index cfb20ef8070d1f767c00d20b03193603cbbed80c..696442211c04c855de069c6f0815b1bb98b8f6f5 100644 --- a/mediachanger/castorrmc/rmc/rmc_mount.c +++ b/mediachanger/castorrmc/rmc/rmc_mount.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2002 by CERN/IT/DS/HSM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* rmc_mount - mount a cartridge on a drive */ diff --git a/mediachanger/castorrmc/rmc/rmc_mount.man b/mediachanger/castorrmc/rmc/rmc_mount.man index 075127264cf29a15d1656ee78f5974579b2c2816..e812333c596f83ceed0fa926aea3d6330da6011d 100644 --- a/mediachanger/castorrmc/rmc/rmc_mount.man +++ b/mediachanger/castorrmc/rmc/rmc_mount.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 2002 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH RMC_MOUNT "3castor" "$Date: 2002/12/06 15:58:33 $" CASTOR "rmc Library Functions" .SH NAME rmc_mount \- send a request to the Remote Media Changer daemon to have a volume mounted diff --git a/mediachanger/castorrmc/rmc/rmc_procreq.c b/mediachanger/castorrmc/rmc/rmc_procreq.c index 7ecfd2d9843a5a9a4e433b658f05f39037193c9d..aa8298fae49d7ccf9d216ecee50d9f748c539a0d 100644 --- a/mediachanger/castorrmc/rmc/rmc_procreq.c +++ b/mediachanger/castorrmc/rmc/rmc_procreq.c @@ -1,8 +1,20 @@ /* - * Copyright (C) 2001-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - + #include <stdlib.h> #include <stdio.h> #include <errno.h> @@ -24,7 +36,7 @@ #include "rmc_sendrep.h" #include <string.h> extern struct extended_robot_info extended_robot_info; - + /* rmc_srv_export - export/eject a cartridge from the robot */ int rmc_srv_export(const struct rmc_srv_rqst_context *const rqst_context) { diff --git a/mediachanger/castorrmc/rmc/rmc_read_elem_status.c b/mediachanger/castorrmc/rmc/rmc_read_elem_status.c index 22c016532c4795bff5adc325a48f895758e3c139..32115dd1f901432e6cf5ab1187dbc89ee90bd590 100644 --- a/mediachanger/castorrmc/rmc/rmc_read_elem_status.c +++ b/mediachanger/castorrmc/rmc/rmc_read_elem_status.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2002 by CERN/IT/DS/HSM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2002-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* rmc_read_elem_status - read element status in a remote SCSI robot */ diff --git a/mediachanger/castorrmc/rmc/rmc_read_elem_status.man b/mediachanger/castorrmc/rmc/rmc_read_elem_status.man index f298b0fb7180790134ebe4266506629e96cc7795..59fcaf04e35600a96ac1b80f8f11c7a867f6656c 100644 --- a/mediachanger/castorrmc/rmc/rmc_read_elem_status.man +++ b/mediachanger/castorrmc/rmc/rmc_read_elem_status.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 2002 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH RMC_READ_ELEM_STATUS "3castor" "$Date: 2002/12/06 15:58:33 $" CASTOR "rmc Library Functions" .SH NAME rmc_read_elem_status \- send a request to the Remote Media Changer daemon to read element(s) status in the robot diff --git a/mediachanger/castorrmc/rmc/rmc_send_scsi_cmd.c b/mediachanger/castorrmc/rmc/rmc_send_scsi_cmd.c index f383c97b46e925fabefe4a74b8246b1d89d85311..39b922c5f3f4d1139cea82d776d4ed994f6bc368 100644 --- a/mediachanger/castorrmc/rmc/rmc_send_scsi_cmd.c +++ b/mediachanger/castorrmc/rmc/rmc_send_scsi_cmd.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 1996-2000 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1996-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* rmc_send_scsi_cmd - Send a SCSI command to a device */ @@ -55,15 +67,15 @@ static const char *sk_msg[] = { }; static void find_sgpath(char *const sgpath, const int maj, const int min) { - + /* Find the sg device for a pair of major and minor device IDs of a tape device. The match is done by - + . identifying the tape's st device node . getting the device's unique ID from sysfs . searching the sg device with the same ID (in sysfs) - + If no match is found, the returned sg path will be an empty string. */ @@ -75,7 +87,7 @@ static void find_sgpath(char *const sgpath, const int maj, const int min) { char tlink[256]; char glink[256]; - int match = 0; + int match = 0; DIR *dir_tape, *dir_gen; struct dirent *dirent; char st_dev[64]; @@ -85,13 +97,13 @@ static void find_sgpath(char *const sgpath, const int maj, const int min) { sgpath[0] = '\0'; /* find the st sysfs entry */ - if (!(dir_tape = opendir(systape))) return; + if (!(dir_tape = opendir(systape))) return; while ((dirent = readdir(dir_tape))) { - + if (0 == strcmp(".", dirent->d_name)) continue; if (0 == strcmp("..", dirent->d_name)) continue; - sprintf(st_dev, "/dev/%s", dirent->d_name); + sprintf(st_dev, "/dev/%s", dirent->d_name); stat(st_dev, &sbuf); if (maj == (int)major(sbuf.st_rdev) && min == (int)minor(sbuf.st_rdev)) { sprintf(syspath, "%s/%s/device", systape, dirent->d_name); @@ -109,15 +121,15 @@ static void find_sgpath(char *const sgpath, const int maj, const int min) { /* find the corresponding sg sysfs entry */ if (!(dir_gen = opendir(sysgen))) return; while ((dirent = readdir(dir_gen))) { - + if (0 == strcmp(".", dirent->d_name)) continue; if (0 == strcmp("..", dirent->d_name)) continue; sprintf(syspath, "%s/%s/device", sysgen, dirent->d_name); - + memset(glink, 0, 256); readlink(syspath, glink, 256); - + if (0 == strcmp(glink, tlink)) { sprintf(sgpath, "/dev/%s", dirent->d_name); goto out; @@ -220,7 +232,7 @@ int rmc_send_scsi_cmd ( if (major(sbuf.st_rdev) == major(sbufa.st_rdev)) { strcpy (sgpath, path); } else { - find_sgpath(sgpath, major(sbuf.st_rdev), minor(sbuf.st_rdev)); + find_sgpath(sgpath, major(sbuf.st_rdev), minor(sbuf.st_rdev)); } if ((fd = open (sgpath, O_RDWR)) < 0) { diff --git a/mediachanger/castorrmc/rmc/rmc_sendrep.c b/mediachanger/castorrmc/rmc/rmc_sendrep.c index fa8070efa1bf998c593614dc07173cb92069ba3f..630920dc86220be95af378fd2409368451727dc7 100644 --- a/mediachanger/castorrmc/rmc/rmc_sendrep.c +++ b/mediachanger/castorrmc/rmc/rmc_sendrep.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2001-2003 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> diff --git a/mediachanger/castorrmc/rmc/rmc_serv.c b/mediachanger/castorrmc/rmc/rmc_serv.c index b31b9668e91c66b77dada6b3e5d2cba24a582c29..b0b39461fef5beea42ca9713e678342d1e3e539b 100644 --- a/mediachanger/castorrmc/rmc/rmc_serv.c +++ b/mediachanger/castorrmc/rmc/rmc_serv.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2001-2002 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> @@ -70,7 +82,7 @@ int rmc_main(const char *const robot) jid = getpid(); rmc_logit (func, "started\n"); - + gethostname (localhost, CA_MAXHOSTNAMELEN+1); if (strchr (localhost, '.') == NULL) { if (Cdomainname (domainname, sizeof(domainname)) < 0) { diff --git a/mediachanger/castorrmc/rmc/rmc_seterrbuf.man b/mediachanger/castorrmc/rmc/rmc_seterrbuf.man index 0eae37fbab3a72d0c985036f4362c7c715de562c..a091946f85e7f3311bd987f3a3f9c4b493d64c2b 100644 --- a/mediachanger/castorrmc/rmc/rmc_seterrbuf.man +++ b/mediachanger/castorrmc/rmc/rmc_seterrbuf.man @@ -1,6 +1,17 @@ -.\" Copyright (C) 2002 by CERN/IT/PDP/DM -.\" All rights reserved +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2002-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. .TH RMC_SETERRBUF "3castor" "$Date: 2002/12/06 15:58:33 $" CASTOR "rmc Library Functions" .SH NAME rmc_seterrbuf \- set receiving buffer for error messages diff --git a/mediachanger/castorrmc/rmc/rmc_smcsubr.c b/mediachanger/castorrmc/rmc/rmc_smcsubr.c index 21e557019fe3c526902d2b3585006ca7ab42aba0..0d8d5b8740e69244c057503e89dc25928fa31d1c 100644 --- a/mediachanger/castorrmc/rmc/rmc_smcsubr.c +++ b/mediachanger/castorrmc/rmc/rmc_smcsubr.c @@ -1,8 +1,19 @@ /* - * Copyright (C) 1998-2003 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1998-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - #include <errno.h> #include <stdarg.h> @@ -99,7 +110,7 @@ static int get_element_size( cdb[5] = 1; /* we only need one element */ cdb[9] = 128; /* limit for the report */ - /* IBM library in pause mode */ + /* IBM library in pause mode */ while (pause_mode && nretries <= 900) { rc = rmc_send_scsi_cmd (fd, rbtdev, 0, cdb, 12, buf, 128, sense, 38, SCSI_IN, &nb_sense_ret, &msgaddr); @@ -108,7 +119,7 @@ static int get_element_size( sleep(60); pause_mode = 1; } else { - pause_mode = 0; + pause_mode = 0; } } else { pause_mode = 0; @@ -187,7 +198,7 @@ static int get_element_info( cdb[8] = (len >> 8) & 0xFF; cdb[9] = len & 0xFF; - /* IBM library in pause mode */ + /* IBM library in pause mode */ while (pause_mode && nretries <= 900) { rc = rmc_send_scsi_cmd (fd, rbtdev, 0, cdb, 12, data, len, sense, 38, SCSI_IN, &nb_sense_ret, &msgaddr); @@ -261,8 +272,8 @@ int smc_get_geometry( int nb_sense_ret; int rc; char sense[MAXSENSE]; - int pause_mode = 1; - int nretries = 0; + int pause_mode = 1; + int nretries = 0; strncpy(func, "get_geometry", sizeof(func)); func[sizeof(func) - 1] = '\0'; @@ -271,8 +282,8 @@ int smc_get_geometry( cdb[0] = 0x12; /* inquiry */ cdb[4] = 36; - /* IBM library in pause mode */ - while (pause_mode && nretries <= 900) { + /* IBM library in pause mode */ + while (pause_mode && nretries <= 900) { rc = rmc_send_scsi_cmd (fd, rbtdev, 0, cdb, 6, buf, 36, sense, 38, SCSI_IN, &nb_sense_ret, &msgaddr); if (rc < 0) { @@ -302,8 +313,8 @@ int smc_get_geometry( pause_mode = 1; nretries = 0; - /* IBM library in pause mode */ - while (pause_mode && nretries<=900) { + /* IBM library in pause mode */ + while (pause_mode && nretries<=900) { rc = rmc_send_scsi_cmd (fd, rbtdev, 0, cdb, 6, buf, 24, sense, 38, SCSI_IN, &nb_sense_ret, &msgaddr); if (rc < 0) { @@ -363,7 +374,7 @@ int smc_find_cartridgeWithoutSendVolumeTag ( int nbFound = 0; char func[16]; int i; - struct smc_element_info *inventory_info; + struct smc_element_info *inventory_info; char *msgaddr; const int patternMatching = strchr (find_template, '*') || strchr (find_template, '?'); struct robot_info robot_info; @@ -441,7 +452,7 @@ int smc_find_cartridge( strncpy(func, "findWithVT", sizeof(func)); func[sizeof(func) - 1] = '\0'; - + /* Skip the 0xB6 cdb command if the tape library is Spectra like */ smcLibraryType = getconfent_fromfile(PATH_CONF,"SMC","LIBRARY_TYPE",0); if (NULL != smcLibraryType && @@ -450,7 +461,7 @@ int smc_find_cartridge( element_info); if (rc >= 0) return (rc); - return (-1); + return (-1); } memset (cdb, 0, sizeof(cdb)); @@ -462,8 +473,8 @@ int smc_find_cartridge( cdb[9] = 40; memset (plist, 0, sizeof(plist)); strcpy (plist, find_template); - - /* IBM library in pause mode */ + + /* IBM library in pause mode */ while (pause_mode && nretries <= 900) { rc = rmc_send_scsi_cmd (fd, rbtdev, 0, cdb, 12, (unsigned char*)plist, 40, sense, 38, SCSI_OUT, &nb_sense_ret, &msgaddr); @@ -472,7 +483,7 @@ int smc_find_cartridge( sleep(60); pause_mode = 1; } else { - pause_mode = 0; + pause_mode = 0; } } else { pause_mode = 0; @@ -611,7 +622,7 @@ int smc_move_medium( int rc; char sense[MAXSENSE]; int pause_mode = 1; - int nretries = 0; + int nretries = 0; strncpy(func, "move_medium", sizeof(func)); func[sizeof(func) - 1] = '\0'; @@ -623,7 +634,7 @@ int smc_move_medium( cdb[6] = to >> 8; cdb[7] = to & 0xFF; cdb[10] = invert; - + while (pause_mode) { rc = rmc_send_scsi_cmd (fd, rbtdev, 0, cdb, 12, NULL, 0, sense, 38, SCSI_NONE, &nb_sense_ret, &msgaddr); @@ -694,7 +705,7 @@ int smc_dismount ( char func[16]; const char *msgaddr = 0; struct smc_status smc_status; - + strncpy (func, "smc_dismount", sizeof(func)); func[sizeof(func) - 1] = '\0'; @@ -744,16 +755,16 @@ int smc_dismount ( return (smc_error); } /* check that the vid is in a slot before returning */ - while (1) { + while (1) { struct smc_element_info vol_element_info; if (0 > smc_find_cartridge (fd, loader, drive_element_info.name, 0, 0, 1, &vol_element_info)) { const int smc_error = smc_lasterror (&smc_status, &msgaddr); rmc_usrmsg ( rpfd, func, SR017, "find_cartridge", drive_element_info.name, msgaddr); return (smc_error); } - - /* vid is in a storage slot */ - if (vol_element_info.element_type == 2) break; + + /* vid is in a storage slot */ + if (vol_element_info.element_type == 2) break; /* give time for the tape enter the slot */ sleep (2); } @@ -775,7 +786,7 @@ int smc_export ( const char *msgaddr = NULL; int nbelem = 0; struct smc_status smc_status; - + strncpy (func, "smc_export", sizeof(func)); func[sizeof(func) - 1] = '\0'; @@ -858,7 +869,7 @@ int smc_import ( int port_start; int slot_start; struct smc_status smc_status; - + strncpy (func, "smc_import", sizeof(func)); func[sizeof(func) - 1] = '\0'; @@ -943,7 +954,7 @@ int smc_mount ( char func[16]; const char *msgaddr; struct smc_status smc_status; - + strncpy (func, "smc_mount", sizeof(func)); func[sizeof(func) - 1] = '\0'; @@ -959,29 +970,29 @@ int smc_mount ( if (element_info.element_type != 2) { /* compare requested and replied vid */ - rmc_usrmsg ( rpfd, func, "Asked for %s, got reply for %s\n", + rmc_usrmsg ( rpfd, func, "Asked for %s, got reply for %s\n", vid, element_info.name ); /* detail on a tape's current location */ switch (element_info.element_type) { case 1: - rmc_usrmsg ( rpfd, func, "Location: medium transport element (0x%x)\n", + rmc_usrmsg ( rpfd, func, "Location: medium transport element (0x%x)\n", element_info.element_type ); break; - case 2: + case 2: /* normal case: in its home slot, not possible inside the if */ break; case 3: - rmc_usrmsg ( rpfd, func, "Location: import/export element (0x%x)\n", + rmc_usrmsg ( rpfd, func, "Location: import/export element (0x%x)\n", element_info.element_type ); break; case 4: - rmc_usrmsg ( rpfd, func, "Location: data transfer element (0x%x)\n", + rmc_usrmsg ( rpfd, func, "Location: data transfer element (0x%x)\n", element_info.element_type ); break; default: - rmc_usrmsg ( rpfd, func, "Location: unknown (0x%x)\n", + rmc_usrmsg ( rpfd, func, "Location: unknown (0x%x)\n", element_info.element_type ); } diff --git a/mediachanger/castorrmc/rmc/send2rmc.c b/mediachanger/castorrmc/rmc/send2rmc.c index 5ef5bfc2429706651eded987d84b06687df3f61c..13dd1dde3faf2a8feeb6295301b7f6da44987d47 100644 --- a/mediachanger/castorrmc/rmc/send2rmc.c +++ b/mediachanger/castorrmc/rmc/send2rmc.c @@ -1,6 +1,18 @@ /* - * Copyright (C) 2001-2003 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2001-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> diff --git a/mediachanger/castorrmc/rmc/smc.c b/mediachanger/castorrmc/rmc/smc.c index 5eb77fe05c7b7f71c9f2c4e76e6a20bc822b6713..2058a6dbf8917d8d23e8af4f54928ab93c4fcb9f 100644 --- a/mediachanger/castorrmc/rmc/smc.c +++ b/mediachanger/castorrmc/rmc/smc.c @@ -1,8 +1,20 @@ /* - * Copyright (C) 1998-2003 by CERN/IT/PDP/DM - * All rights reserved + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1998-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ - + #include <errno.h> #include <fcntl.h> #include <stdio.h> @@ -51,7 +63,7 @@ static void smc_usage(const char *const cmd) } void smc_qdrive_humanPrint(const struct robot_info *const robot_info, - const struct smc_element_info *const element_info, const int numberOfElements, + const struct smc_element_info *const element_info, const int numberOfElements, const int useSpectraLib) { char *pstatus; int i; @@ -96,9 +108,9 @@ void smc_qdrive_jsonPrint(const struct robot_info *const robot_info, (element_info+i)->element_address-robot_info->device_start, (element_info+i)->element_address, pstatus, - (element_info+i)->name); + (element_info+i)->name); } - printf ("]"); + printf ("]"); } static int smc_qdrive ( const char *const rmchost, @@ -112,7 +124,7 @@ static int smc_qdrive ( int nbelem; char *smcLibraryType; char useSpectraLib; - + if (drvord < 0) { drvord = 0; nbelem = robot_info->device_count; @@ -130,7 +142,7 @@ static int smc_qdrive ( } useSpectraLib=0; smcLibraryType = getconfent_fromfile(PATH_CONF,"SMC","LIBRARY_TYPE",0); - if (NULL != smcLibraryType && + if (NULL != smcLibraryType && 0 == strcasecmp(smcLibraryType,"SPECTRA")) { useSpectraLib = 1; } @@ -138,7 +150,7 @@ static int smc_qdrive ( smc_qdrive_jsonPrint(robot_info, element_info, c, useSpectraLib); } else { smc_qdrive_humanPrint(robot_info, element_info, c, useSpectraLib); - } + } free (element_info); return (0); } @@ -164,7 +176,7 @@ void smc_qlib_jsonPrint(const struct robot_info *const robot_info) { memcpy(prodId, robot_info->inquiry + 8, 16); prodId[16] = '\0'; memcpy(prodRevLvl,robot_info->inquiry + 8 + 16, 4); - prodRevLvl[4] = '\0'; + prodRevLvl[4] = '\0'; printf ("["); printf ("{\"inquiry\":{\"vendor\":\"%s\",\"product\":\"%s\",\"revision\":\"%s\"},", T10Vendor, prodId, prodRevLvl); @@ -175,7 +187,7 @@ void smc_qlib_jsonPrint(const struct robot_info *const robot_info) { printf ("\"port\":{\"count\":%d,\"start\":%d},", robot_info->port_count, robot_info->port_start); printf ("\"device\":{\"count\":%d,\"start\":%d}", - robot_info->device_count, robot_info->device_start); + robot_info->device_count, robot_info->device_start); printf ("}]"); } @@ -228,7 +240,7 @@ void smc_qport_jsonPrint(const struct smc_element_info *const element_info, "\"state\":\"%s\"}", (element_info+i)->element_address, (element_info+i)->name, - pstatus); + pstatus); } printf ("]"); } @@ -271,7 +283,7 @@ void smc_qslot_humanPrint(const struct smc_element_info *element_info, printf (" %4d\t%s\n", element_info[i].element_address, element_info[i].name); } -} +} void smc_qslot_jsonPrint(const struct smc_element_info *element_info, const int numberOfElements) { @@ -283,8 +295,8 @@ void smc_qslot_jsonPrint(const struct smc_element_info *element_info, } printf ("{\"elementAddress\":%4d," "\"vid\":\"%s\"}", - element_info[i].element_address, - element_info[i].name); + element_info[i].element_address, + element_info[i].name); } printf ("]"); } @@ -299,7 +311,7 @@ static int smc_qslot ( { int c; struct smc_element_info *element_info; - + if (nbelem == 0) { if (slotaddr < 0) nbelem = robot_info->slot_count; @@ -387,7 +399,7 @@ static int smc_qvid ( int c; struct smc_element_info *element_info; const char *vid; - + if (*reqvid) vid = reqvid; else @@ -410,8 +422,8 @@ static int smc_qvid ( return (serrno - ERMCRBTERR); } if (isJsonEnabled) { - smc_qvid_jsonPrint(element_info, c); - } else { + smc_qvid_jsonPrint(element_info, c); + } else { smc_qvid_humanPrint(element_info, c); } free (element_info); @@ -572,7 +584,7 @@ int main(const int argc, if ((c = rmc_dismount (rmchost, vid, drvord, 0)) < 0) { c = (serrno == SECOMERR) ? RBT_FAST_RETRY : serrno - ERMCRBTERR; } - break; + break; case 'e': if ((c = rmc_export (rmchost, vid)) < 0) { c = (serrno == SECOMERR) ? RBT_FAST_RETRY : serrno - ERMCRBTERR; @@ -587,7 +599,7 @@ int main(const int argc, if ((c = rmc_mount (rmchost, vid, invert, drvord)) < 0) { c = (serrno == SECOMERR) ? RBT_FAST_RETRY : serrno - ERMCRBTERR; } - break; + break; case 'q': switch (qry_type) { case 'D': diff --git a/mediachanger/cta-mediachanger-dismount.1cta b/mediachanger/cta-mediachanger-dismount.1cta index bf15f080c686bba611b49dca28a6f14394161858..392e64011186bf89897fdc8f5c2ccfd5727e414d 100644 --- a/mediachanger/cta-mediachanger-dismount.1cta +++ b/mediachanger/cta-mediachanger-dismount.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2016-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-MEDIACHANGER-DISMOUNT 1CTA "August 2016" CTA CTA .SH NAME cta-mediachanger-dismount \- dismount a volume diff --git a/mediachanger/cta-mediachanger-mount.1cta b/mediachanger/cta-mediachanger-mount.1cta index f6f1e9cba19ae0b4f160f94804b0a5c16f33cfce..df87e422f836b72af46610c904e3813f9ac87db0 100644 --- a/mediachanger/cta-mediachanger-mount.1cta +++ b/mediachanger/cta-mediachanger-mount.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2016-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-MEDIACHANGER-MOUNT 1CTA "August 2016" CTA CTA .SH NAME cta-mediachanger-mount \- mount a volume diff --git a/mediachanger/io.cpp b/mediachanger/io.cpp index b275eeeac694a42a72d03b48e07e25a93a10e41c..9258591dc25494a0b613bec0336c6c8113ef5365 100644 --- a/mediachanger/io.cpp +++ b/mediachanger/io.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/InvalidArgument.hpp" diff --git a/mediachanger/io.hpp b/mediachanger/io.hpp index a201b61b882db7f6b3c496120e55f0ed8d8194a9..21685b83e0c8b88f8ef0a7766487cf7763fd68b0 100644 --- a/mediachanger/io.hpp +++ b/mediachanger/io.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/Agent.cpp b/objectstore/Agent.cpp index e1cc23b168f62693afa41a79cd86c1f2e43ab7fe..e7fe95439ba660d27e520e739550392d1e024ee5 100644 --- a/objectstore/Agent.cpp +++ b/objectstore/Agent.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Agent.hpp" diff --git a/objectstore/Agent.hpp b/objectstore/Agent.hpp index de371d1134ab34c6db3dafb780011164a185f627..08a197ae2e86a5864bfbff12a6b07528f1091eb3 100644 --- a/objectstore/Agent.hpp +++ b/objectstore/Agent.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/AgentHeartbeatThread.cpp b/objectstore/AgentHeartbeatThread.cpp index 358be90625aa4a20635bf6dd5e657d95345eeeb7..ba0f2562d3f6db42f31f54692102d4497c136487 100644 --- a/objectstore/AgentHeartbeatThread.cpp +++ b/objectstore/AgentHeartbeatThread.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "AgentHeartbeatThread.hpp" diff --git a/objectstore/AgentHeartbeatThread.hpp b/objectstore/AgentHeartbeatThread.hpp index 6c94483f6e6923b0fdaa4a505cd0247c7c0765b1..e15bff3bc18f25b5dbd3af348e34082338749f01 100644 --- a/objectstore/AgentHeartbeatThread.hpp +++ b/objectstore/AgentHeartbeatThread.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/AgentReference.cpp b/objectstore/AgentReference.cpp index df92d50a0bc249cd05f76fc24522b1de5c0b84bc..163917e8b043973db4bf093469227b1767024ab9 100644 --- a/objectstore/AgentReference.cpp +++ b/objectstore/AgentReference.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/helgrind_annotator.hpp" diff --git a/objectstore/AgentReference.hpp b/objectstore/AgentReference.hpp index a1550e3df6efa76f36987e94ef5dc4333b3ebd5e..7006679ae594ff6faa7d15a987620b581071ebef 100644 --- a/objectstore/AgentReference.hpp +++ b/objectstore/AgentReference.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/AgentReferenceInterface.cpp b/objectstore/AgentReferenceInterface.cpp index 1c7a5d9dba9b93b7bb234c94377f12572be02177..0fafdd8e2494945acdcab071cbf21dba3862e8db 100644 --- a/objectstore/AgentReferenceInterface.cpp +++ b/objectstore/AgentReferenceInterface.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "AgentReferenceInterface.hpp" diff --git a/objectstore/AgentReferenceInterface.hpp b/objectstore/AgentReferenceInterface.hpp index 1535e8c636dc5ee744d8dbae7b4faa19a87d0919..0387e7be9d92e541b0d9153a8ca6dd9c94ebda1a 100644 --- a/objectstore/AgentReferenceInterface.hpp +++ b/objectstore/AgentReferenceInterface.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef AGENTREFERENCEDECORATOR_HPP diff --git a/objectstore/AgentRegister.cpp b/objectstore/AgentRegister.cpp index 433006ce5eb82fe12b30b9b5319aa254d1a58bcb..642a2388370eb3a039581125dd698c96c77c91f5 100644 --- a/objectstore/AgentRegister.cpp +++ b/objectstore/AgentRegister.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "AgentRegister.hpp" diff --git a/objectstore/AgentRegister.hpp b/objectstore/AgentRegister.hpp index 2fe565d6a24f93f8053bc841aca99099c35d6959..bf8f1db1353572faf81fc1fdaa6f06b7e165d7c9 100644 --- a/objectstore/AgentRegister.hpp +++ b/objectstore/AgentRegister.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/AgentWatchdog.cpp b/objectstore/AgentWatchdog.cpp index 7a03ccb6106dcac639b48ed766e2da76fe33f860..a9def5881156e4264eb215f3206d70274f3ce340 100644 --- a/objectstore/AgentWatchdog.cpp +++ b/objectstore/AgentWatchdog.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "AgentWatchdog.hpp" diff --git a/objectstore/AgentWatchdog.hpp b/objectstore/AgentWatchdog.hpp index 0ae9af672bb34e8dd8980078e158c48cd70b43ab..31888666d010de1345da7529fdfa26ac77892b38 100644 --- a/objectstore/AgentWatchdog.hpp +++ b/objectstore/AgentWatchdog.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/AgentWrapper.cpp b/objectstore/AgentWrapper.cpp index b34c2e2bc0fc8908c62047fe994557bb4699235b..7ca6cf72149e37d417f5833f38421636031d391e 100644 --- a/objectstore/AgentWrapper.cpp +++ b/objectstore/AgentWrapper.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "AgentWrapper.hpp" diff --git a/objectstore/AgentWrapper.hpp b/objectstore/AgentWrapper.hpp index 2aca1a369d68163047e59598e791b998a627ca10..e8d053db87e7fdd871c8903bbf59c0f4c048cb6f 100644 --- a/objectstore/AgentWrapper.hpp +++ b/objectstore/AgentWrapper.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef AGENTWRAPPER_HPP diff --git a/objectstore/Algorithms.hpp b/objectstore/Algorithms.hpp index 0e72d4e9471c65e69f6d4819659e8221beaa31fe..a1860b6c9f511e1f9f90ea2ba9a4b1bee1de7ae4 100644 --- a/objectstore/Algorithms.hpp +++ b/objectstore/Algorithms.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/AlgorithmsTest.cpp b/objectstore/AlgorithmsTest.cpp index 8dfd318e384ec56668d2b5aee27a190794325d1a..9a05b679e141be5abf5337c12fdb895e3875ab48 100644 --- a/objectstore/AlgorithmsTest.cpp +++ b/objectstore/AlgorithmsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RootEntry.hpp" diff --git a/objectstore/ArchiveFileSerDeser.hpp b/objectstore/ArchiveFileSerDeser.hpp index a404aee75cee3a3deda2cf880e13fa3df54cd570..13ee4c2765c69097ba5ec878f75a71caea932233 100644 --- a/objectstore/ArchiveFileSerDeser.hpp +++ b/objectstore/ArchiveFileSerDeser.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/ArchiveQueue.cpp b/objectstore/ArchiveQueue.cpp index 917a51b0feb72bc022fe118129ce2abdcaac7c3f..9888c2112152f540fdc51aec4dd2c23f7fc59af0 100644 --- a/objectstore/ArchiveQueue.cpp +++ b/objectstore/ArchiveQueue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueue.hpp" diff --git a/objectstore/ArchiveQueue.hpp b/objectstore/ArchiveQueue.hpp index 456f7ea1992d14c684aa4b70fad7faa2464fdcae..d35f13336d2ad88fe15580ec87f691972792f9f8 100644 --- a/objectstore/ArchiveQueue.hpp +++ b/objectstore/ArchiveQueue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/ArchiveQueueAlgorithms.cpp b/objectstore/ArchiveQueueAlgorithms.cpp index d8dad18c45252d88f878f348a840b7e2044ca92c..8091cdaf303f174ab6f1f9a1e41d579dc21095ff 100644 --- a/objectstore/ArchiveQueueAlgorithms.cpp +++ b/objectstore/ArchiveQueueAlgorithms.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueueAlgorithms.hpp" diff --git a/objectstore/ArchiveQueueAlgorithms.hpp b/objectstore/ArchiveQueueAlgorithms.hpp index eeaf82d8c69e761696313fe8bcacf417a1bfe30c..050e13d882fd75300a1da3de4db86e318da9e17b 100644 --- a/objectstore/ArchiveQueueAlgorithms.hpp +++ b/objectstore/ArchiveQueueAlgorithms.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/ArchiveQueueFailedAlgorithms.cpp b/objectstore/ArchiveQueueFailedAlgorithms.cpp index 6b97634b6b30408c35aaa30b1e2c28a981b23560..6c87cc97f08f41b9b3dd5847b1b2ec14deb80a89 100644 --- a/objectstore/ArchiveQueueFailedAlgorithms.cpp +++ b/objectstore/ArchiveQueueFailedAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueueAlgorithms.hpp" diff --git a/objectstore/ArchiveQueueShard.cpp b/objectstore/ArchiveQueueShard.cpp index 8e566238fa5e2979f326c095df6c1f2748ff3304..ca2fbccc52708bded538603ae001ad6ddb3d767d 100644 --- a/objectstore/ArchiveQueueShard.cpp +++ b/objectstore/ArchiveQueueShard.cpp @@ -1,20 +1,19 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueueShard.hpp" diff --git a/objectstore/ArchiveQueueShard.hpp b/objectstore/ArchiveQueueShard.hpp index 977b34b1d4fda9fc16af7b4e03c948c4da0d6d9d..2b248847c5cd95e3fc44b1ba30651eb6001bf6be 100644 --- a/objectstore/ArchiveQueueShard.hpp +++ b/objectstore/ArchiveQueueShard.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/ArchiveQueueToReportAlgorithms.cpp b/objectstore/ArchiveQueueToReportAlgorithms.cpp index c51c2d76d884b9dc574395e0f3b76baacda59197..537ad7cc9d23668b49a8e6d52c49747ff8a3001e 100644 --- a/objectstore/ArchiveQueueToReportAlgorithms.cpp +++ b/objectstore/ArchiveQueueToReportAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueueAlgorithms.hpp" diff --git a/objectstore/ArchiveQueueToReportToRepackForFailureAlgorithms.cpp b/objectstore/ArchiveQueueToReportToRepackForFailureAlgorithms.cpp index 0ba55b576bf9b452994d7eed91f9ab68a20d6dcd..8c68771a3e76182fd9c10c621d40b5c9ff865d9f 100644 --- a/objectstore/ArchiveQueueToReportToRepackForFailureAlgorithms.cpp +++ b/objectstore/ArchiveQueueToReportToRepackForFailureAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueueAlgorithms.hpp" diff --git a/objectstore/ArchiveQueueToReportToRepackForSuccessAlgorithms.cpp b/objectstore/ArchiveQueueToReportToRepackForSuccessAlgorithms.cpp index d36b5cb5d6d17537efe1a07ca84a4d96d2970bcd..2915da732adb6e429ba96284f1d9f58d7c99681e 100644 --- a/objectstore/ArchiveQueueToReportToRepackForSuccessAlgorithms.cpp +++ b/objectstore/ArchiveQueueToReportToRepackForSuccessAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueueAlgorithms.hpp" diff --git a/objectstore/ArchiveQueueToTransferAlgorithms.cpp b/objectstore/ArchiveQueueToTransferAlgorithms.cpp index 378d853eb84282e76078f8b1adeb04b4056c2afb..e124789f0d1a3e28a9938c4c38d325e1f54fd8c3 100644 --- a/objectstore/ArchiveQueueToTransferAlgorithms.cpp +++ b/objectstore/ArchiveQueueToTransferAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueueAlgorithms.hpp" diff --git a/objectstore/ArchiveQueueToTransferForRepackAlgorithms.cpp b/objectstore/ArchiveQueueToTransferForRepackAlgorithms.cpp index d8b1046a89f6f4b1d30ba3823841c69bceadc745..6b75933d1e6132ab83f37ac87744bf1b05d1facd 100644 --- a/objectstore/ArchiveQueueToTransferForRepackAlgorithms.cpp +++ b/objectstore/ArchiveQueueToTransferForRepackAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveQueueAlgorithms.hpp" diff --git a/objectstore/ArchiveRequest.cpp b/objectstore/ArchiveRequest.cpp index b4a89fa242c6f5980128f3fbb8bd203d5c0f6f6e..5211ffc57d7697aa94087a8a77896f7db2bb3b1b 100644 --- a/objectstore/ArchiveRequest.cpp +++ b/objectstore/ArchiveRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ArchiveRequest.hpp" diff --git a/objectstore/ArchiveRequest.hpp b/objectstore/ArchiveRequest.hpp index 5740795e31ea2db7cf262767136f01f93342b0c4..a8185b2ba290b9cacf04a7824b86d83dfd4fe8de 100644 --- a/objectstore/ArchiveRequest.hpp +++ b/objectstore/ArchiveRequest.hpp @@ -1,20 +1,19 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/Backend.hpp b/objectstore/Backend.hpp index a629be12e5db4aa3e3cb186176ba22e30d158532..35468e48a6646030a1fbebbf5dcc8f070e247c1d 100644 --- a/objectstore/Backend.hpp +++ b/objectstore/Backend.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/BackendFactory.cpp b/objectstore/BackendFactory.cpp index f96dae143b2b45cae567141755e5d8b4b1c71fb6..fdf6e230a389ee975995db63b10b5d4027725eaa 100644 --- a/objectstore/BackendFactory.cpp +++ b/objectstore/BackendFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "BackendFactory.hpp" diff --git a/objectstore/BackendFactory.hpp b/objectstore/BackendFactory.hpp index d4ac004ded9524bc6da44d740a711fa7498a22bd..294f90b3a8f48ba1c8c83eab11a2fcf442b58cd9 100644 --- a/objectstore/BackendFactory.hpp +++ b/objectstore/BackendFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/BackendPopulator.cpp b/objectstore/BackendPopulator.cpp index 7ccecc4b8c17d6e2e30f13f100ed6838eed261c8..f3f0dd7e843781bfcff12d52d00e8ecfeffe0256 100644 --- a/objectstore/BackendPopulator.cpp +++ b/objectstore/BackendPopulator.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "objectstore/BackendVFS.hpp" diff --git a/objectstore/BackendPopulator.hpp b/objectstore/BackendPopulator.hpp index 8efb8fb42e68993e5561cca7b8dd03e3bdd97142..1f8c4e35dc34c92b361ab9d348e6888191b746a9 100644 --- a/objectstore/BackendPopulator.hpp +++ b/objectstore/BackendPopulator.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/BackendRados.cpp b/objectstore/BackendRados.cpp index 464f374b1e6525171df3e0a1349d599aec04614b..0d615b200d3906ebeae01271b72d03b9d0596961 100644 --- a/objectstore/BackendRados.cpp +++ b/objectstore/BackendRados.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "BackendRados.hpp" diff --git a/objectstore/BackendRados.hpp b/objectstore/BackendRados.hpp index c773a33978ac72736a8bdaabf63020493dfcbaec..bc2fc4d368f70cc304a58ce1ef9305f13d6e264c 100644 --- a/objectstore/BackendRados.hpp +++ b/objectstore/BackendRados.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/BackendRadosTestSwitch.hpp b/objectstore/BackendRadosTestSwitch.hpp index b3ccde80128827a71f4ac370d19c5a9ca8762994..717f273ad9649bf691df32e1ae49bba0129555d8 100644 --- a/objectstore/BackendRadosTestSwitch.hpp +++ b/objectstore/BackendRadosTestSwitch.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // A central switch to enable/disable RADOS based tests. diff --git a/objectstore/BackendTest.cpp b/objectstore/BackendTest.cpp index 30a8bc77c4a0b4364f0aea748cad901de18a2252..39c77965911822844763ac7e926f11a78fb5515f 100644 --- a/objectstore/BackendTest.cpp +++ b/objectstore/BackendTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "BackendTest.hpp" diff --git a/objectstore/BackendTest.hpp b/objectstore/BackendTest.hpp index 18d0d689e6917fb5ed58d6454be5324012c6693b..5498102fd07f751176e379a16f7389b83bac4e3b 100644 --- a/objectstore/BackendTest.hpp +++ b/objectstore/BackendTest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/BackendVFS.cpp b/objectstore/BackendVFS.cpp index 8b49bc2d0e93f5e16dfc63a3e7dd3ca2df02aa28..0285d684d64c04086618e4e429ad754ffe2f4384 100644 --- a/objectstore/BackendVFS.cpp +++ b/objectstore/BackendVFS.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "BackendVFS.hpp" diff --git a/objectstore/BackendVFS.hpp b/objectstore/BackendVFS.hpp index a50002c38f399a111e7732e066f9e82986c6e15b..d7132d3186e561afa41bcf10817d49caf72f0c59 100644 --- a/objectstore/BackendVFS.hpp +++ b/objectstore/BackendVFS.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/CMakeLists.txt b/objectstore/CMakeLists.txt index 4d10ac3b8d49cb017d3ee6dee8579d28a1d8023e..2597051cb1d7f2df3612738ed9cabe0910d0938b 100644 --- a/objectstore/CMakeLists.txt +++ b/objectstore/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) @@ -29,7 +28,7 @@ set (CTAProtoFiles PROTOBUF3_GENERATE_CPP(CTAProtoSources CTAProtoHeaders ${CTAProtoFiles}) -set (CTAProtoDependants +set (CTAProtoDependants objectstore/Agent.hpp objectstore/ArchiveRequest.hpp objectstore/CreationLog.hpp @@ -50,7 +49,7 @@ set (CTAProtoDependants objectstore/ValueCountMap.hpp) SET_SOURCE_FILES_PROPERTIES(${CTAProtoHeaders} PROPERTIES HEADER_FILE_ONLY TRUE) -SET_SOURCE_FILES_PROPERTIES(${CTAProtoDependants} +SET_SOURCE_FILES_PROPERTIES(${CTAProtoDependants} PROPERTIES OBJECT_DEPENDS ${CTAProtoHeaders}) include_directories (${PROTOBUF3_INCLUDE_DIRS}) @@ -156,6 +155,6 @@ set_property(TARGET cta-objectstore-create-missing-repack-index APPEND PROPERTY target_link_libraries(cta-objectstore-create-missing-repack-index ${PROTOBUF3_LIBRARIES} ctaobjectstore ctacommon) -install(TARGETS cta-objectstore-initialize cta-objectstore-list cta-objectstore-dump-object +install(TARGETS cta-objectstore-initialize cta-objectstore-list cta-objectstore-dump-object cta-objectstore-dereference-removed-queues cta-objectstore-collect-orphaned-object cta-objectstore-create-missing-repack-index DESTINATION usr/bin) diff --git a/objectstore/DiskFileInfoSerDeser.hpp b/objectstore/DiskFileInfoSerDeser.hpp index 9d6ad03556b0afdc8e0e5856701dd77b3e270fcc..aae159e55335e564017e46f9f52ec81dc22e7a61 100644 --- a/objectstore/DiskFileInfoSerDeser.hpp +++ b/objectstore/DiskFileInfoSerDeser.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/DriveRegister.cpp b/objectstore/DriveRegister.cpp index 5fb36acd46b281e94c8e923d3e70eac06cc17713..b0bdb7b2a8a293042539967c931ba3dda7e9eab2 100644 --- a/objectstore/DriveRegister.cpp +++ b/objectstore/DriveRegister.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DriveRegister.hpp" diff --git a/objectstore/DriveRegister.hpp b/objectstore/DriveRegister.hpp index 58cbe002e8c198cb5e65c155d8d6ba5a3a3ea633..c0ce77c26a5a79b0b133c17916affd43ea78707f 100644 --- a/objectstore/DriveRegister.hpp +++ b/objectstore/DriveRegister.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/DriveState.cpp b/objectstore/DriveState.cpp index b9dadcaf255cbf3ad6c893e26e91a019905cac2c..46bc99cb9c156698310119cf65864fbeb23789f7 100644 --- a/objectstore/DriveState.cpp +++ b/objectstore/DriveState.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DriveState.hpp" diff --git a/objectstore/DriveState.hpp b/objectstore/DriveState.hpp index ab405df93a61b9cfc812bfd543f6fdd18ce9c1e0..fafc36eea7d3d4bbe01269b36f2f2f819784a8d3 100644 --- a/objectstore/DriveState.hpp +++ b/objectstore/DriveState.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/EntryLogSerDeser.hpp b/objectstore/EntryLogSerDeser.hpp index e0d9cf701b4931f20b2ea4c9c836d9570b93f1f8..29a4cd8e35f9671f6e65c44fa05ddd91132cb7c7 100644 --- a/objectstore/EntryLogSerDeser.hpp +++ b/objectstore/EntryLogSerDeser.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/GarbageCollector.cpp b/objectstore/GarbageCollector.cpp index 1e372c2095b49bbd1fb054f075ff6bd448a68baf..70b052fe15d2b01f65ea0dedc89d59d303d1cc11 100644 --- a/objectstore/GarbageCollector.cpp +++ b/objectstore/GarbageCollector.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "GarbageCollector.hpp" diff --git a/objectstore/GarbageCollector.hpp b/objectstore/GarbageCollector.hpp index b84a2728ed98bc5ec9034db936aab9024cdcd00e..b7d8d5892e21ffbc17f137b636c183e990096f31 100644 --- a/objectstore/GarbageCollector.hpp +++ b/objectstore/GarbageCollector.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/GarbageCollectorTest.cpp b/objectstore/GarbageCollectorTest.cpp index 64517cfbce3840c6f06b01d28e46a02d8d0d4c89..42a670c075c2248ae31ddda7211c9e91d424c493 100644 --- a/objectstore/GarbageCollectorTest.cpp +++ b/objectstore/GarbageCollectorTest.cpp @@ -1,20 +1,19 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/objectstore/GenericObject.cpp b/objectstore/GenericObject.cpp index c0f6806a2f0d464d61b39f9c67eefd08028b6431..def58032f0a9bcaa3205cc9c921667ac2bda901f 100644 --- a/objectstore/GenericObject.cpp +++ b/objectstore/GenericObject.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "GenericObject.hpp" diff --git a/objectstore/GenericObject.hpp b/objectstore/GenericObject.hpp index 40bdc95fbce2a7c9d28bbfba735364c93d9e9b17..bfcc272aa24e7b919751881c905362457a5af26f 100644 --- a/objectstore/GenericObject.hpp +++ b/objectstore/GenericObject.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/Helpers.cpp b/objectstore/Helpers.cpp index 6fb891ecfdf5dc5d65b324c6976f5dc180624dd3..6a37efd94901e1ebbd0fb54d9837dab6707b9be4 100644 --- a/objectstore/Helpers.cpp +++ b/objectstore/Helpers.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Helpers.hpp" diff --git a/objectstore/Helpers.hpp b/objectstore/Helpers.hpp index a3487e2e4a8512842b90ea2e73fd292d6562d0e6..21a372142723936f0f22a36ab26cd8be0cd91157 100644 --- a/objectstore/Helpers.hpp +++ b/objectstore/Helpers.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/JobQueueType.cpp b/objectstore/JobQueueType.cpp index 0c769e38446fbfbaebafbc8052be60de672e9130..a7378d2aa5831478ed9cfa4e4e747d7061f1dfdd 100644 --- a/objectstore/JobQueueType.cpp +++ b/objectstore/JobQueueType.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "JobQueueType.hpp" diff --git a/objectstore/JobQueueType.hpp b/objectstore/JobQueueType.hpp index 6d229b53eed985fb7a200a27c2216ef63ff42480..9cb8190b2f152f3a38f9ba04ae07430576b6b537 100644 --- a/objectstore/JobQueueType.hpp +++ b/objectstore/JobQueueType.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/LifecycleTimingsSerDeser.hpp b/objectstore/LifecycleTimingsSerDeser.hpp index e15922c84203af2e662f8f6a2697cba56f05ce1e..af2133c99fadb0adaa81e3c31965a64ad5abeff4 100644 --- a/objectstore/LifecycleTimingsSerDeser.hpp +++ b/objectstore/LifecycleTimingsSerDeser.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/MountPolicySerDeser.hpp b/objectstore/MountPolicySerDeser.hpp index d2c1f7060a89dd744e2cb9d3971a70a1a1fd7060..04cf286e8800ef98c1e800e5314cd14561206838 100644 --- a/objectstore/MountPolicySerDeser.hpp +++ b/objectstore/MountPolicySerDeser.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/ObjectOps.cpp b/objectstore/ObjectOps.cpp index 33ebad952f99721b90ac4cb0cd924833d7d9eb84..5ae6bb1538b55122e6a8d333c12cffe3a110a59a 100644 --- a/objectstore/ObjectOps.cpp +++ b/objectstore/ObjectOps.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ObjectOps.hpp" diff --git a/objectstore/ObjectOps.hpp b/objectstore/ObjectOps.hpp index dfa757b2617f5d4bcdcc4376e2a9f39d77200e6e..206c39fc3556d7235b4e0185ebcb9add14bc9a82 100644 --- a/objectstore/ObjectOps.hpp +++ b/objectstore/ObjectOps.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/ProtobufCleaner.cpp b/objectstore/ProtobufCleaner.cpp index 7f17fcc1d908e85e118a0ea716de7df4aacb3a7b..d2c68c5143ee05d9bee196053ef57466b4fa7a99 100644 --- a/objectstore/ProtobufCleaner.cpp +++ b/objectstore/ProtobufCleaner.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <google/protobuf/service.h> diff --git a/objectstore/ProtocolBuffersAlgorithms.cpp b/objectstore/ProtocolBuffersAlgorithms.cpp index 59a6590834416d8d5776ce15720b3452b2ad47a4..c5c75da63607b6ab144212e32fd29098e1c2b882 100644 --- a/objectstore/ProtocolBuffersAlgorithms.cpp +++ b/objectstore/ProtocolBuffersAlgorithms.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ProtocolBuffersAlgorithms.hpp" diff --git a/objectstore/ProtocolBuffersAlgorithms.hpp b/objectstore/ProtocolBuffersAlgorithms.hpp index 66c326fbdded2ca56bb4d547322479d5331aa389..f1097c6fdff457f0627e946677efaac794c48093 100644 --- a/objectstore/ProtocolBuffersAlgorithms.hpp +++ b/objectstore/ProtocolBuffersAlgorithms.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RepackIndex.cpp b/objectstore/RepackIndex.cpp index 35c76804e989409a58284693ae914198962fc6b2..6465035df18eff7d2058ee8aee30072de80c0e6b 100644 --- a/objectstore/RepackIndex.cpp +++ b/objectstore/RepackIndex.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RepackIndex.hpp" diff --git a/objectstore/RepackIndex.hpp b/objectstore/RepackIndex.hpp index 13019848ab0ba03309bbc17e705ade55bc313f67..a5e79fe46561be21a3218d3bed348e43e2640607 100644 --- a/objectstore/RepackIndex.hpp +++ b/objectstore/RepackIndex.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RepackQueue.cpp b/objectstore/RepackQueue.cpp index cff54cf9b951db02157de263c9e1a73f535b7b30..489311878a1ff163d9c93716b74e0aaea7281f90 100644 --- a/objectstore/RepackQueue.cpp +++ b/objectstore/RepackQueue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RepackQueue.hpp" diff --git a/objectstore/RepackQueue.hpp b/objectstore/RepackQueue.hpp index 3dac83cc81e8aea3036ab99a8f547469926e03b8..bf475332c913bcf3ee684aac36c02ef08d5738e1 100644 --- a/objectstore/RepackQueue.hpp +++ b/objectstore/RepackQueue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RepackQueueAlgorithms.hpp b/objectstore/RepackQueueAlgorithms.hpp index 15106ac7c2108065f20a4a07d35baee9bccf75fb..2464cca7a038ed6b8860843dd63a7cc8145d2f93 100644 --- a/objectstore/RepackQueueAlgorithms.hpp +++ b/objectstore/RepackQueueAlgorithms.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RepackQueuePendingAlgorithms.cpp b/objectstore/RepackQueuePendingAlgorithms.cpp index 7a9ed8b4ed22f3b9028d7dd8da46c2bc15069c65..01362900de039f14693ed1fed40c8420cb83c527 100644 --- a/objectstore/RepackQueuePendingAlgorithms.cpp +++ b/objectstore/RepackQueuePendingAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RepackQueueAlgorithms.hpp" diff --git a/objectstore/RepackQueueToExpandAlgorithms.cpp b/objectstore/RepackQueueToExpandAlgorithms.cpp index 476a078e931ae9286acaa7ef09a865173bd2df29..35a09f8f0c146a0b45f6c2f8d385eee1a74f633d 100644 --- a/objectstore/RepackQueueToExpandAlgorithms.cpp +++ b/objectstore/RepackQueueToExpandAlgorithms.cpp @@ -1,3 +1,20 @@ +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include "RepackQueueAlgorithms.hpp" namespace cta { namespace objectstore { diff --git a/objectstore/RepackRequest.cpp b/objectstore/RepackRequest.cpp index 09fc72f28027b26ce8ed75e707d8bfb8fb5c7f6f..0ec9ecd5278c49142bc62b41679e293893a56e9d 100644 --- a/objectstore/RepackRequest.cpp +++ b/objectstore/RepackRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RepackRequest.hpp" diff --git a/objectstore/RepackRequest.hpp b/objectstore/RepackRequest.hpp index b572ce159eb508759a28de73e92508c1fd51f78f..f24ba88cb356d6c0f9f81d90db5f80595d7fd072 100644 --- a/objectstore/RepackRequest.hpp +++ b/objectstore/RepackRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RetrieveActivityCountMap.cpp b/objectstore/RetrieveActivityCountMap.cpp index fc393567f6bd81e2cafd33ebe65bfa58017c0557..4e9800dde8f46b1033d3ccb808dc4585c0fe5c2c 100644 --- a/objectstore/RetrieveActivityCountMap.cpp +++ b/objectstore/RetrieveActivityCountMap.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveActivityCountMap.hpp" diff --git a/objectstore/RetrieveActivityCountMap.hpp b/objectstore/RetrieveActivityCountMap.hpp index 63912143364503b073ea1b5542c006b35c1f7c7a..322347c3da1460ee2c38a74a8ada17404c958144 100644 --- a/objectstore/RetrieveActivityCountMap.hpp +++ b/objectstore/RetrieveActivityCountMap.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RetrieveQueue.cpp b/objectstore/RetrieveQueue.cpp index e20348cee417b32298d22a4c4bfbefc7302c361c..b5ffc6207d07db74b7c479f4d6e2e38cd1dc3be1 100644 --- a/objectstore/RetrieveQueue.cpp +++ b/objectstore/RetrieveQueue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveQueue.hpp" diff --git a/objectstore/RetrieveQueue.hpp b/objectstore/RetrieveQueue.hpp index 314300550bec42a1d4f5a109d17d4dd9b74db8fd..e27381f230795239c843706459c1654cc8fbba85 100644 --- a/objectstore/RetrieveQueue.hpp +++ b/objectstore/RetrieveQueue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RetrieveQueueAlgorithms.hpp b/objectstore/RetrieveQueueAlgorithms.hpp index 8537a7f21b2ebd1b7e2a90606651473824d14e52..75014e57f8e475b84ac63e9b05fac9a497ced895 100644 --- a/objectstore/RetrieveQueueAlgorithms.hpp +++ b/objectstore/RetrieveQueueAlgorithms.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RetrieveQueueFailedAlgorithms.cpp b/objectstore/RetrieveQueueFailedAlgorithms.cpp index b4fba0e2653e171b7675a6c4352c685dd5c63ebc..04b65af011b176e4a97183e8bb9781b638113480 100644 --- a/objectstore/RetrieveQueueFailedAlgorithms.cpp +++ b/objectstore/RetrieveQueueFailedAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveQueueAlgorithms.hpp" diff --git a/objectstore/RetrieveQueueShard.cpp b/objectstore/RetrieveQueueShard.cpp index 6ce01506e06e91621bfdb7c5f1a70a17a4f7dfae..7927474d44577683099d8838b941bc74ece4eef6 100644 --- a/objectstore/RetrieveQueueShard.cpp +++ b/objectstore/RetrieveQueueShard.cpp @@ -1,20 +1,19 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveQueueShard.hpp" diff --git a/objectstore/RetrieveQueueShard.hpp b/objectstore/RetrieveQueueShard.hpp index 42799b5e019ad5e764d1baa0f07efb888da359a1..0eb2ddc388d4e75da2a84c38c9291f2fef755146 100644 --- a/objectstore/RetrieveQueueShard.hpp +++ b/objectstore/RetrieveQueueShard.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RetrieveQueueTest.cpp b/objectstore/RetrieveQueueTest.cpp index 36e33e4188ed75b63a7693e1ed3d736ba15c6d83..118feef4f7127a25f7c3e468c3c181b5c701f1aa 100644 --- a/objectstore/RetrieveQueueTest.cpp +++ b/objectstore/RetrieveQueueTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/objectstore/RetrieveQueueToReportAlgorithms.cpp b/objectstore/RetrieveQueueToReportAlgorithms.cpp index 4fb36c34f016b1e82355a99db6bc1dd51a4e268e..9e2f261b20142ebc15a12f139f7b2992e0cbbbfd 100644 --- a/objectstore/RetrieveQueueToReportAlgorithms.cpp +++ b/objectstore/RetrieveQueueToReportAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveQueueAlgorithms.hpp" diff --git a/objectstore/RetrieveQueueToReportToRepackForFailureAlgorithms.cpp b/objectstore/RetrieveQueueToReportToRepackForFailureAlgorithms.cpp index ecd4fa2fb6d1e685e2e3dd2a88e801555de60eeb..1634e49d016840c5b3eadf169e4395d0b76d7d56 100644 --- a/objectstore/RetrieveQueueToReportToRepackForFailureAlgorithms.cpp +++ b/objectstore/RetrieveQueueToReportToRepackForFailureAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveQueueAlgorithms.hpp" diff --git a/objectstore/RetrieveQueueToReportToRepackForSuccessAlgorithms.cpp b/objectstore/RetrieveQueueToReportToRepackForSuccessAlgorithms.cpp index 5fad8751dde89a7d5f4fdae2092fb8c6cf29387f..d398dc6aa1929d1a09dc705ce7ab169b0245a0c2 100644 --- a/objectstore/RetrieveQueueToReportToRepackForSuccessAlgorithms.cpp +++ b/objectstore/RetrieveQueueToReportToRepackForSuccessAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveQueueAlgorithms.hpp" diff --git a/objectstore/RetrieveQueueToTransferAlgorithms.cpp b/objectstore/RetrieveQueueToTransferAlgorithms.cpp index 679db13a4a74bea3fff25404c189e2a7b8a105f4..54a6ab7befb425c15ec373d31dc8588a61b881e9 100644 --- a/objectstore/RetrieveQueueToTransferAlgorithms.cpp +++ b/objectstore/RetrieveQueueToTransferAlgorithms.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveQueueAlgorithms.hpp" diff --git a/objectstore/RetrieveRequest.cpp b/objectstore/RetrieveRequest.cpp index d17bcecc7bc1b51de68653dfbe95c17e941f8afa..323570c3d34c6a3d8a1b5e0fb53808e0cae12ec8 100644 --- a/objectstore/RetrieveRequest.cpp +++ b/objectstore/RetrieveRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RetrieveRequest.hpp" diff --git a/objectstore/RetrieveRequest.hpp b/objectstore/RetrieveRequest.hpp index 5fa8a872feffece8b955f2ae851e8c7e08f7921c..686cb8b7062a7fbdbcaad1f64837923dbf0a7680 100644 --- a/objectstore/RetrieveRequest.hpp +++ b/objectstore/RetrieveRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RootEntry.cpp b/objectstore/RootEntry.cpp index aee221762e36dcbf105a6fb9f8947e410fbbba7d..126df4e71a38b26f210557a2a8001c3e5946f77f 100644 --- a/objectstore/RootEntry.cpp +++ b/objectstore/RootEntry.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RootEntry.hpp" diff --git a/objectstore/RootEntry.hpp b/objectstore/RootEntry.hpp index 14d90f5d7d9c8e2b904782d9af58ec992af19158..0832b235996db9656cecda9734a5eb448e181892 100644 --- a/objectstore/RootEntry.hpp +++ b/objectstore/RootEntry.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/RootEntryTest.cpp b/objectstore/RootEntryTest.cpp index dc2aaa973690cef3d3c531cd20eb3b2fb186a505..27f8b2865a2e72fcef331c66dfcb8ebfa94f0bc3 100644 --- a/objectstore/RootEntryTest.cpp +++ b/objectstore/RootEntryTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/objectstore/SchedulerGlobalLock.cpp b/objectstore/SchedulerGlobalLock.cpp index e364a4c35193d06328715cdd189c4b791e926550..3d9f1c48a18e783da60d89050016b138aac649c1 100644 --- a/objectstore/SchedulerGlobalLock.cpp +++ b/objectstore/SchedulerGlobalLock.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SchedulerGlobalLock.hpp" diff --git a/objectstore/SchedulerGlobalLock.hpp b/objectstore/SchedulerGlobalLock.hpp index d6fdcecc643add6cb390d9c184eefb81b2066409..69784d3cb827ec606d38cf9e104be6bd6fe4b29a 100644 --- a/objectstore/SchedulerGlobalLock.hpp +++ b/objectstore/SchedulerGlobalLock.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/SerializersExceptions.hpp b/objectstore/SerializersExceptions.hpp index f8ef3731d2b6af2fd4950e1723d93ddcab85850f..defead42257eaaf704001757fd1a466c192772a0 100644 --- a/objectstore/SerializersExceptions.hpp +++ b/objectstore/SerializersExceptions.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/Sorter.cpp b/objectstore/Sorter.cpp index d2e75d7c63bd286f839574889ade0266006d4af1..0b98a4f82fec89ed232ce0e8c0bffd37df33605d 100644 --- a/objectstore/Sorter.cpp +++ b/objectstore/Sorter.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Sorter.hpp" #include "Helpers.hpp" diff --git a/objectstore/Sorter.hpp b/objectstore/Sorter.hpp index d13967be86d0e7716257d71c1c6bcae4ea50dd91..5c57ab3d4c863b157518d08969a1254eeefb219a 100644 --- a/objectstore/Sorter.hpp +++ b/objectstore/Sorter.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SORTER_HPP diff --git a/objectstore/SorterArchiveJob.hpp b/objectstore/SorterArchiveJob.hpp index e9f22c5ea4218301c278e035d521952f6cde480d..4847f556b8e48d82d4889ba77f259bf4eec7c92d 100644 --- a/objectstore/SorterArchiveJob.hpp +++ b/objectstore/SorterArchiveJob.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SORTERARCHIVEJOB_HPP diff --git a/objectstore/SorterTest.cpp b/objectstore/SorterTest.cpp index c41a0cd7aaa5cfc600f60f4f2ae7b9d5d814565f..b13dc1e402f9383e96d54ba156549319f873c5a3 100644 --- a/objectstore/SorterTest.cpp +++ b/objectstore/SorterTest.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/objectstore/TapeFileSerDeser.hpp b/objectstore/TapeFileSerDeser.hpp index a7150e5a9bd614b55d5c1af98ef87e65cd402e7e..42aefd9e0660b5f249e8a75bc19c387c523b263b 100644 --- a/objectstore/TapeFileSerDeser.hpp +++ b/objectstore/TapeFileSerDeser.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/ValueCountMap.cpp b/objectstore/ValueCountMap.cpp index 54d06ea3ff1e4f89404952cad698a3f104eeb959..a9b30f678d3db6e699a5c5e3847071e1472b55c9 100644 --- a/objectstore/ValueCountMap.cpp +++ b/objectstore/ValueCountMap.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/objectstore/ValueCountMap.hpp b/objectstore/ValueCountMap.hpp index 097143ea87880737261d6afeef167dfa3b39624a..06728a5dc530ef1e5ee4a05c31d64ec78ac0228b 100644 --- a/objectstore/ValueCountMap.hpp +++ b/objectstore/ValueCountMap.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/objectstore/cta-objectstore-collect-orphaned-object.cpp b/objectstore/cta-objectstore-collect-orphaned-object.cpp index 2a8cc49c64567d9fae15722a3efe0501cd0547c7..2b8193b6604fd3f2c8824c954222d7c52fafb957 100644 --- a/objectstore/cta-objectstore-collect-orphaned-object.cpp +++ b/objectstore/cta-objectstore-collect-orphaned-object.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /** diff --git a/objectstore/cta-objectstore-create-missing-repack-index.cpp b/objectstore/cta-objectstore-create-missing-repack-index.cpp index 55ccb2d1105a69b2b6edf748f4f568010aa71c26..6deabffdcfc93c4bd50e1ac7d200e3c680543b86 100644 --- a/objectstore/cta-objectstore-create-missing-repack-index.cpp +++ b/objectstore/cta-objectstore-create-missing-repack-index.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /** diff --git a/objectstore/cta-objectstore-dereference-removed-queues.cpp b/objectstore/cta-objectstore-dereference-removed-queues.cpp index f1aa7285d381b676ee4fecef352d04841c0a346e..5ca0b81e6197557164ccd1dbde9cedf3b0df62a8 100644 --- a/objectstore/cta-objectstore-dereference-removed-queues.cpp +++ b/objectstore/cta-objectstore-dereference-removed-queues.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /** diff --git a/objectstore/cta-objectstore-dump-object.cpp b/objectstore/cta-objectstore-dump-object.cpp index c71383f36265e33712989855ce67d17818c6e955..4e244bd3ffe9c33dfdb0bffa8093bea9f60dacc1 100644 --- a/objectstore/cta-objectstore-dump-object.cpp +++ b/objectstore/cta-objectstore-dump-object.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /** diff --git a/objectstore/cta-objectstore-initialize.cpp b/objectstore/cta-objectstore-initialize.cpp index ee9e6193b2951c60b6afa76c91580c4453ba0350..e50192121fe0514b1d06b2e9a764d928ddde89d6 100644 --- a/objectstore/cta-objectstore-initialize.cpp +++ b/objectstore/cta-objectstore-initialize.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /** diff --git a/objectstore/cta-objectstore-list.cpp b/objectstore/cta-objectstore-list.cpp index a433bbd1f9d2b4bade98e487bc6680c7375b86ba..9f948873de832184041d18d4f7d8a7cdb54de5b6 100644 --- a/objectstore/cta-objectstore-list.cpp +++ b/objectstore/cta-objectstore-list.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /** diff --git a/objectstore/cta.proto b/objectstore/cta.proto index 56cad326f349d8e1818f5829784e468c9e0473a3..f581e25987f2d725a20bfcf743055c46b2e392ea 100644 --- a/objectstore/cta.proto +++ b/objectstore/cta.proto @@ -1,18 +1,17 @@ -// The CERN Tape Archive (CTA) project -// Copyright (C) 2015 CERN +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2015-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package cta.objectstore.serializers; @@ -42,7 +41,7 @@ enum ObjectType { // to a dead agent to the right queue or container. // - The type allows automatic management of the content without knowing its // payload. -// - The version allows multi schema to be used at the object level (smooth schema +// - The version allows multi schema to be used at the object level (smooth schema // evolution, on an object by object basis). // - The owner is the authoritative source of ownership for the object. // It allows arbitration of the actual owner in case the object is pointed @@ -212,7 +211,7 @@ message ArchiveFile { // ------------- Drives handling ---------------------------------------------- message DiskSpaceReservation { - // Each drive keeps tabs of its intended + // Each drive keeps tabs of its intended required string disk_system_name = 5100; required uint64 reserved_bytes = 5110; } @@ -305,7 +304,7 @@ message MountPolicy { // ------------- Archive Jobs -------------------------------------------------- -// The status of the individual archive jobs. The jobs are materialised +// The status of the individual archive jobs. The jobs are materialised // by table entries in the ArchiveRequest. // This life cycle represented by the following enum @@ -347,7 +346,7 @@ message ArchiveRequestRepackInfo { required string repack_request_address = 4450; required string file_buffer_url = 4453; required uint64 fseq = 4455; - repeated JobDestinationVid jobs_destination = 4456; + repeated JobDestinationVid jobs_destination = 4456; } message ArchiveRequest { @@ -376,10 +375,10 @@ message ArchiveRequest { // ------------- Retrieve Jobs ------------------------------------------------- -// The status of the individual retrieve jobs. The jobs are materialised +// The status of the individual retrieve jobs. The jobs are materialised // by table entries in the RetrieveRequest. // This life cycle represented by the following enum -// There is no complete state as the completion of one jobs implies the +// There is no complete state as the completion of one jobs implies the // completion of the whole requests, and leads to the immediate deletion // of the request. diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 6ddf4d3aec1154dab7028858cc92809bcc0089e9..c6ecfb6c800b0df247571069cfc61111a1f2c920 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) add_subdirectory(eosfstgcd) diff --git a/python/eosfstgcd/CMakeLists.txt b/python/eosfstgcd/CMakeLists.txt index 9427af1e16ccf04d02d3b7fc103d03baa7440fb2..e287fe609d27f734e2391e7204e8dfecea238520 100644 --- a/python/eosfstgcd/CMakeLists.txt +++ b/python/eosfstgcd/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) install (PROGRAMS ctafstgcd.py DESTINATION usr/bin RENAME cta-fst-gcd) diff --git a/python/eosfstgcd/cta-fst-gcd.1cta b/python/eosfstgcd/cta-fst-gcd.1cta index 227005ed24b909620d0c0542871644a47cd7bd32..4cbc9e31ffa5f49be21e270d0d46dcde3bf89181 100644 --- a/python/eosfstgcd/cta-fst-gcd.1cta +++ b/python/eosfstgcd/cta-fst-gcd.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2016-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-CATALOGUE-SCHEMA-CREATE 1CTA "August 2016" CTA CTA .SH NAME cta-fst-gcd \- Tape aware garbage collector daemon to run on an EOS FST diff --git a/python/eosfstgcd/cta-fst-gcd.conf.example b/python/eosfstgcd/cta-fst-gcd.conf.example index 9b5b659c1117a90bc5a924588e7e9078d0fac5bb..f05d6842b17eced27c13bf5b65c94251bab35de5 100644 --- a/python/eosfstgcd/cta-fst-gcd.conf.example +++ b/python/eosfstgcd/cta-fst-gcd.conf.example @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # This file should contain one and only one connection string. Blank lines and # comments are ignored. diff --git a/python/eosfstgcd/ctafstgcd.py b/python/eosfstgcd/ctafstgcd.py index 4f82a2ba47803cde724f10a839e25ec700012b66..845603653538b6ec13f9ba1648b17b9bdaec2304 100755 --- a/python/eosfstgcd/ctafstgcd.py +++ b/python/eosfstgcd/ctafstgcd.py @@ -1,20 +1,19 @@ #!/bin/python -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import argparse import ConfigParser diff --git a/python/eosfstgcd/test_ctafstgcd.py b/python/eosfstgcd/test_ctafstgcd.py index 6bc3d1d17fa794b60159d0af9362b02d1039fd10..bc1681c7843d4702eac301e3fe2ff51912fd78c7 100755 --- a/python/eosfstgcd/test_ctafstgcd.py +++ b/python/eosfstgcd/test_ctafstgcd.py @@ -1,20 +1,19 @@ #!/bin/python -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import cStringIO import ctafstgcd diff --git a/rdbms/AutoRollback.cpp b/rdbms/AutoRollback.cpp index 9cfb642497c9169ae27cf176f4bdf7e8586636aa..96196204eef06ea520c691e63c38092eece8c2f4 100644 --- a/rdbms/AutoRollback.cpp +++ b/rdbms/AutoRollback.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/AutoRollback.hpp b/rdbms/AutoRollback.hpp index 5d7af16d867e4193688143fff9a832914129adf1..d4dbef909d1ab418a256d6d4c384911ea4dce9be 100644 --- a/rdbms/AutoRollback.hpp +++ b/rdbms/AutoRollback.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/AutocommitMode.hpp b/rdbms/AutocommitMode.hpp index 8c020c6cd24bdbfcf98f94524cbeb25aa8fddb03..6fc2e934afbf1a7cdc352dd30beb4a12479ab8e4 100644 --- a/rdbms/AutocommitMode.hpp +++ b/rdbms/AutocommitMode.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/CMakeLists.txt b/rdbms/CMakeLists.txt index ff41876b4925ae35ca1090f8fe6ae245aca64900..b43037d6bfc12d8dcb4688b29b4b557ef01bfc58 100644 --- a/rdbms/CMakeLists.txt +++ b/rdbms/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) add_subdirectory (wrapper) diff --git a/rdbms/CheckConstraintError.cpp b/rdbms/CheckConstraintError.cpp index f1f9052d561c87368ef13ca13671596dd2bd955e..aff2f31dfbc15a11f41b35c225d9ba7d19579ca8 100644 --- a/rdbms/CheckConstraintError.cpp +++ b/rdbms/CheckConstraintError.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/CheckConstraintError.hpp" diff --git a/rdbms/CheckConstraintError.hpp b/rdbms/CheckConstraintError.hpp index b92f6a579c10187e8e37c3c59a518a9c67118efd..8b33c4baf40edd711ce384c5384851d97eca6cc4 100644 --- a/rdbms/CheckConstraintError.hpp +++ b/rdbms/CheckConstraintError.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/Conn.cpp b/rdbms/Conn.cpp index e459d71b9566b9b5b0416cfbf09f37ed14ef52cd..3a986cc9c1cdb2e32469584c8c4c5505364c3843 100644 --- a/rdbms/Conn.cpp +++ b/rdbms/Conn.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/Conn.hpp b/rdbms/Conn.hpp index 70e13eb1e641ada53688e10d71576e7743065312..9a38a3392045b565b905ec80044a5684c97af023 100644 --- a/rdbms/Conn.hpp +++ b/rdbms/Conn.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/ConnAndStmts.hpp b/rdbms/ConnAndStmts.hpp index 6bdcce2cbe0b704fac5bef6a0c9f783bf086d927..cf303f03ae64d9939057ede7c7b4ee366d04e022 100644 --- a/rdbms/ConnAndStmts.hpp +++ b/rdbms/ConnAndStmts.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/ConnPool.cpp b/rdbms/ConnPool.cpp index d4470bdec6149ed4912b3517cfe55ca9d02b142a..60b1b16cc3b27b6b437f0edabd1f762777b3987d 100644 --- a/rdbms/ConnPool.cpp +++ b/rdbms/ConnPool.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/ConnPool.hpp b/rdbms/ConnPool.hpp index 744b999e8996310bf3bb5dd8c019295988eaee88..6eed834797be980cdba82d3f9d378be2d8423bb4 100644 --- a/rdbms/ConnPool.hpp +++ b/rdbms/ConnPool.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/ConnPoolTest.cpp b/rdbms/ConnPoolTest.cpp index faabdd5ba02a49b112967d4117d71845b2690ac7..ca8be481f146d8841d4f3eac683ab96e5a11a1d3 100644 --- a/rdbms/ConnPoolTest.cpp +++ b/rdbms/ConnPoolTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/ConnTest.cpp b/rdbms/ConnTest.cpp index 6217ee7c178348e045a0a1703812d1ea6e45ded6..16c81913fceeab22301094e13a385689e1f98f58 100644 --- a/rdbms/ConnTest.cpp +++ b/rdbms/ConnTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/ConnTest.hpp b/rdbms/ConnTest.hpp index 221b1b93c889f64e26e90bd708eb1e2cf31d24e1..64cc874fd141f6438d51100669f696988b98d0e7 100644 --- a/rdbms/ConnTest.hpp +++ b/rdbms/ConnTest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/Constants.hpp b/rdbms/Constants.hpp index 6088b8ff1de50bf3d231a0eebe81e73f5020ad00..604630e4a9f08520916d59b267b7417aea32af87 100644 --- a/rdbms/Constants.hpp +++ b/rdbms/Constants.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/ConstraintError.cpp b/rdbms/ConstraintError.cpp index cf39e97d6796c05d5e0474796f7e3617d1c85194..5c35ed2f7d9082bbd637e921d74e162cb461ec88 100644 --- a/rdbms/ConstraintError.cpp +++ b/rdbms/ConstraintError.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/ConstraintError.hpp" diff --git a/rdbms/ConstraintError.hpp b/rdbms/ConstraintError.hpp index 6c3557f6880b6b422c216c86ffc8a6543bb88a32..b291eba59e83caec1e4991dfa68a43dcedcd702b 100644 --- a/rdbms/ConstraintError.hpp +++ b/rdbms/ConstraintError.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/DbConfigVersionOfConnTest.cpp b/rdbms/DbConfigVersionOfConnTest.cpp index a796bdcb39d8dea99189916697be6a31dd7715e6..a68cbed4f65be5cb715cf8dd45d30ecef3d33240 100644 --- a/rdbms/DbConfigVersionOfConnTest.cpp +++ b/rdbms/DbConfigVersionOfConnTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/ConnTest.hpp" diff --git a/rdbms/DbConfigVersionOfStmtTest.cpp b/rdbms/DbConfigVersionOfStmtTest.cpp index f274f726d11a9796ccbb72e650b6230f628ffc36..b8243fb550cf1f6d9916de005ff4d8fff807dd52 100644 --- a/rdbms/DbConfigVersionOfStmtTest.cpp +++ b/rdbms/DbConfigVersionOfStmtTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/StmtTest.hpp" diff --git a/rdbms/InMemoryVersionOfConnTest.cpp b/rdbms/InMemoryVersionOfConnTest.cpp index 2239e9e1e081be2e930d506db192af924c218b9d..94a6e3f64061767ec00a189b054e02545bffd222 100644 --- a/rdbms/InMemoryVersionOfConnTest.cpp +++ b/rdbms/InMemoryVersionOfConnTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/ConnTest.hpp" diff --git a/rdbms/InMemoryVersionOfStmtTest.cpp b/rdbms/InMemoryVersionOfStmtTest.cpp index 46f119449e9c21beb6bbc21e3b9e2f46d45b5791..79b958f66f6fbdfa1ed54983d8e3c8aa012b2d5f 100644 --- a/rdbms/InMemoryVersionOfStmtTest.cpp +++ b/rdbms/InMemoryVersionOfStmtTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/StmtTest.hpp" diff --git a/rdbms/InvalidResultSet.hpp b/rdbms/InvalidResultSet.hpp index 6a6a431e0052f4957555a9e1bd90af116fc7879a..282790894122a4723e80a4f62a5c11c4184a6e01 100644 --- a/rdbms/InvalidResultSet.hpp +++ b/rdbms/InvalidResultSet.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/Login.cpp b/rdbms/Login.cpp index b2771b3e120a9206014817de29770ad583759562..51927ce77656082b7e56f4466cf4aa047190ee2f 100644 --- a/rdbms/Login.cpp +++ b/rdbms/Login.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/Login.hpp b/rdbms/Login.hpp index 2b3ed2170a45f0cc9aa5a40f50be80740b491f45..8d5fcc9f3d8a022d2113eda43a6d0de0e5315935 100644 --- a/rdbms/Login.hpp +++ b/rdbms/Login.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/LoginFactory.cpp b/rdbms/LoginFactory.cpp index b5eeb17b990a2d390736f43c766716c5c48ca7d4..4d163799e8a014334f0d82dd5bddd2a9c416f0dd 100644 --- a/rdbms/LoginFactory.cpp +++ b/rdbms/LoginFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/LoginFactory.hpp" diff --git a/rdbms/LoginFactory.hpp b/rdbms/LoginFactory.hpp index 7795d803301937f89dce0487a84065418a5ac791..441dc631c56b465a1a50247c4be85ccbd6f57824 100644 --- a/rdbms/LoginFactory.hpp +++ b/rdbms/LoginFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/LoginTest.cpp b/rdbms/LoginTest.cpp index 717de9cae51ae5ec59411e0951bd860504802d30..bfd9d9d81aef3c7a2ab2d21caa5d962878412b10 100644 --- a/rdbms/LoginTest.cpp +++ b/rdbms/LoginTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/NullDbValue.cpp b/rdbms/NullDbValue.cpp index 96df7b7b5b19f88c1e16ae48911b3df072d7eb65..877e5e2cc7537131f71056d8ec93132e225b7f50 100644 --- a/rdbms/NullDbValue.cpp +++ b/rdbms/NullDbValue.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "NullDbValue.hpp" diff --git a/rdbms/NullDbValue.hpp b/rdbms/NullDbValue.hpp index 21e4710c8aa60bdf4ff520104337eae8a7fa4ece..da84954b06c5dcd297473fe17870d7c5316a20be 100644 --- a/rdbms/NullDbValue.hpp +++ b/rdbms/NullDbValue.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/PrimaryKeyError.cpp b/rdbms/PrimaryKeyError.cpp index 1d69cedb7aee6878fb434e7388cf1c17c78b94ae..a71d230e20fe1eed8f5e32df0542925867f59afc 100644 --- a/rdbms/PrimaryKeyError.cpp +++ b/rdbms/PrimaryKeyError.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/PrimaryKeyError.hpp" diff --git a/rdbms/PrimaryKeyError.hpp b/rdbms/PrimaryKeyError.hpp index 714c1558ceeecdd6d80b84ac915c78aa7511484b..db75933bd6cddefab106be9041c4b841c59cdc76 100644 --- a/rdbms/PrimaryKeyError.hpp +++ b/rdbms/PrimaryKeyError.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/RdbmsTest.cpp b/rdbms/RdbmsTest.cpp index a057f82009f15838f194f75bec6e2a118504669e..0acfa659b60856202cbd836e4a169144a0fc925e 100644 --- a/rdbms/RdbmsTest.cpp +++ b/rdbms/RdbmsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/rdbms.hpp" diff --git a/rdbms/Rset.cpp b/rdbms/Rset.cpp index 72dfa68d1d3ad1627b9f0c0bd81934dba0261e5e..03eb81d919dd6770ccfb9239c0760e0c5ebf608c 100644 --- a/rdbms/Rset.cpp +++ b/rdbms/Rset.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/InvalidResultSet.hpp" diff --git a/rdbms/Rset.hpp b/rdbms/Rset.hpp index a56432a92661caaeb1cb281ce61b6f0560b77dc2..d679f25f2407ee52c4e76915dd5a26c61bd2c2f4 100644 --- a/rdbms/Rset.hpp +++ b/rdbms/Rset.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/RsetTest.cpp b/rdbms/RsetTest.cpp index 5313c29a228bf1f57de6306b323b949ca4ed0ea2..f993c3e1bffacd5241c5c6d8be8ba47fb0224759 100644 --- a/rdbms/RsetTest.cpp +++ b/rdbms/RsetTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/Stmt.cpp b/rdbms/Stmt.cpp index 8d102bb5ba356b4288c7a014d466ca716964f72b..3c35fb7ae29599492b4b2f086545e602da50f287 100644 --- a/rdbms/Stmt.cpp +++ b/rdbms/Stmt.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/Stmt.hpp b/rdbms/Stmt.hpp index 790e5ae4946ddb01a15c1d869d8343e579f29e69..ce6a892b9cfdc0418855c7290514be3c69fccabd 100644 --- a/rdbms/Stmt.hpp +++ b/rdbms/Stmt.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/StmtPool.cpp b/rdbms/StmtPool.cpp index 87dea14b5b13b2ceba13c67edae1c862b8d96ad8..4a3964ed6d7c512dfbbc6954ff13308e2ca20773 100644 --- a/rdbms/StmtPool.cpp +++ b/rdbms/StmtPool.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/StmtPool.hpp b/rdbms/StmtPool.hpp index e23351ef0ef0412b5c5205aaba1b5087be78b4b9..edae894c911dd08374a1640f6437cd8dd1cb2c27 100644 --- a/rdbms/StmtPool.hpp +++ b/rdbms/StmtPool.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/StmtPoolTest.cpp b/rdbms/StmtPoolTest.cpp index 3674da3f68c0f21420671a1ff3c722355f6e0e9f..6424f16d2d3af3319318eba3ec51aa17dbd8c6f5 100644 --- a/rdbms/StmtPoolTest.cpp +++ b/rdbms/StmtPoolTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/StmtTest.cpp b/rdbms/StmtTest.cpp index 3d38d61907083dea9055ffee1ec5b3ec849a43e7..6b9c975d7f422ac8c86558fe9ce7ef281e0131b6 100644 --- a/rdbms/StmtTest.cpp +++ b/rdbms/StmtTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/StmtTest.hpp b/rdbms/StmtTest.hpp index 46dba5489fc34e4ea26d086c97f21742fa8e467b..cab710ca91f8461563b7553cb05764551defc608 100644 --- a/rdbms/StmtTest.hpp +++ b/rdbms/StmtTest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/UniqueError.cpp b/rdbms/UniqueError.cpp index 5ed7377aaabb484e2b7de79c890bb772baab665d..d8ca4fd834e5e3de5069f31f77d5fbb4f913e9c4 100644 --- a/rdbms/UniqueError.cpp +++ b/rdbms/UniqueError.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/UniqueError.hpp" diff --git a/rdbms/UniqueError.hpp b/rdbms/UniqueError.hpp index a67aa922308b22bb8a738e6b75ad7e9460eab895..ab38875ec60b2be70550d757d8ca00421129ceed 100644 --- a/rdbms/UniqueError.hpp +++ b/rdbms/UniqueError.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/rdbms.cpp b/rdbms/rdbms.cpp index 200bf0c3a961bf340b9c8481d97ce2725d388fef..812e319c8d6cf4efb35976f3f3eb385c0082bf28 100644 --- a/rdbms/rdbms.cpp +++ b/rdbms/rdbms.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/rdbms.hpp" diff --git a/rdbms/rdbms.hpp b/rdbms/rdbms.hpp index 7f37a885b01694320b490a3002612c956c9bc152..d63ee9128422637ee60ad044b1fa8382f868c321 100644 --- a/rdbms/rdbms.hpp +++ b/rdbms/rdbms.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/CMakeLists.txt b/rdbms/wrapper/CMakeLists.txt index 2d046b6e6097a3767c3eff08878b59092347fe33..882a4a36d6d1e731473ce4d4b1fba9c862ccff1a 100644 --- a/rdbms/wrapper/CMakeLists.txt +++ b/rdbms/wrapper/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wshadow") diff --git a/rdbms/wrapper/ColumnNameToIdx.cpp b/rdbms/wrapper/ColumnNameToIdx.cpp index bae20d1512f4a1507d94b663930fd470ca7ca7e0..72be9735851bc0e8e1b09dc76e12fa740f25e500 100644 --- a/rdbms/wrapper/ColumnNameToIdx.cpp +++ b/rdbms/wrapper/ColumnNameToIdx.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/ColumnNameToIdx.hpp b/rdbms/wrapper/ColumnNameToIdx.hpp index 698964a14ef7be3a40ca0ed78da421a7b22f6361..e7e034fdb4203468dcd83d900be22cb8c008ebd7 100644 --- a/rdbms/wrapper/ColumnNameToIdx.hpp +++ b/rdbms/wrapper/ColumnNameToIdx.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/ColumnNameToIdxAndType.cpp b/rdbms/wrapper/ColumnNameToIdxAndType.cpp index 5f02829aeac4d8082fe225f8a5c86ecf3a832527..f3c5fb8c376c361499120927014f31c087468c03 100644 --- a/rdbms/wrapper/ColumnNameToIdxAndType.cpp +++ b/rdbms/wrapper/ColumnNameToIdxAndType.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/ColumnNameToIdxAndType.hpp b/rdbms/wrapper/ColumnNameToIdxAndType.hpp index 8c9478ef0f9f8fc1352d69c5a6b38dba6fe3af25..debf24afa28f462ccee2ec4298bcb81e8aca60a0 100644 --- a/rdbms/wrapper/ColumnNameToIdxAndType.hpp +++ b/rdbms/wrapper/ColumnNameToIdxAndType.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <map> diff --git a/rdbms/wrapper/ConnFactory.cpp b/rdbms/wrapper/ConnFactory.cpp index 7614ebd4c85330bd0641f37b2f84fda02d1ad981..76802ed056232befdbdae135cb1e2d3f0306169b 100644 --- a/rdbms/wrapper/ConnFactory.cpp +++ b/rdbms/wrapper/ConnFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/wrapper/ConnFactory.hpp" diff --git a/rdbms/wrapper/ConnFactory.hpp b/rdbms/wrapper/ConnFactory.hpp index 0544f4e59873cc750f18aaae584aad735e0df368..9f13aee543b5c8b98214ed28bf8018642642a657 100644 --- a/rdbms/wrapper/ConnFactory.hpp +++ b/rdbms/wrapper/ConnFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/ConnFactoryFactory.cpp b/rdbms/wrapper/ConnFactoryFactory.cpp index e1083acb3cb5ad5cea783deda50824aeac5f9926..337f693c92c24734ca7b34e8f0a0ebf1eb6270e8 100644 --- a/rdbms/wrapper/ConnFactoryFactory.cpp +++ b/rdbms/wrapper/ConnFactoryFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/ConnFactoryFactory.hpp b/rdbms/wrapper/ConnFactoryFactory.hpp index 49f96acc75ee2a36ba288c1a3568dbed6e011318..2d1c2da26981b9734047b35d479a8d37401ce2fe 100644 --- a/rdbms/wrapper/ConnFactoryFactory.hpp +++ b/rdbms/wrapper/ConnFactoryFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/ConnTest.cpp b/rdbms/wrapper/ConnTest.cpp index f78ea946a6aeef7220c0ab26ea9b95b53484623f..7769ffac2d1e9b4ebcfe8b3412c867a6745c06ab 100644 --- a/rdbms/wrapper/ConnTest.cpp +++ b/rdbms/wrapper/ConnTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/ConnWrapper.cpp b/rdbms/wrapper/ConnWrapper.cpp index ca9fae17b7955a20cef2eac1d8de45a10ad1e5cb..c44dda8e3da3c47e8aae711ab3761c7fd0abf62b 100644 --- a/rdbms/wrapper/ConnWrapper.cpp +++ b/rdbms/wrapper/ConnWrapper.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/ConnWrapper.hpp b/rdbms/wrapper/ConnWrapper.hpp index d409470f78443cbb00daa6b744790de29f895b05..40ecbe2b358157e3cf2f77d5b77542ce94e83bd7 100644 --- a/rdbms/wrapper/ConnWrapper.hpp +++ b/rdbms/wrapper/ConnWrapper.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/Mysql.cpp b/rdbms/wrapper/Mysql.cpp index 44787758502801e5df7ba24612843c6a80a3f51e..0cff4231610db566bfbb5e214e6d843f50a7d150 100644 --- a/rdbms/wrapper/Mysql.cpp +++ b/rdbms/wrapper/Mysql.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/Mysql.hpp b/rdbms/wrapper/Mysql.hpp index 98d60d2a5b22320a4da88340c488bba2a4828f3b..ab7c52096c183d9700107452d987b19a27ecf467 100644 --- a/rdbms/wrapper/Mysql.hpp +++ b/rdbms/wrapper/Mysql.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/MysqlConn.cpp b/rdbms/wrapper/MysqlConn.cpp index 64e490eba5e9ddae349ac8cd966aefd020da4cb1..877fcb8c0cabe99415dafc1b947bead43369373c 100644 --- a/rdbms/wrapper/MysqlConn.cpp +++ b/rdbms/wrapper/MysqlConn.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/MysqlConn.hpp b/rdbms/wrapper/MysqlConn.hpp index 5b578d25e8c37a7d412e8a6418d1678034b5da1a..e770273f8995f1e74b211af8494b4ee98eef4e34 100644 --- a/rdbms/wrapper/MysqlConn.hpp +++ b/rdbms/wrapper/MysqlConn.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/MysqlConnFactory.cpp b/rdbms/wrapper/MysqlConnFactory.cpp index 85d7b591b217e28beba54790db309cbe6752932b..2660cbd15223da84f4a7b2942e17b930fd418920 100644 --- a/rdbms/wrapper/MysqlConnFactory.cpp +++ b/rdbms/wrapper/MysqlConnFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/MysqlConnFactory.hpp b/rdbms/wrapper/MysqlConnFactory.hpp index 2f083501e3c8671ae87b1a1e28345ffafe33c2c3..baab1d5fef7986ad23e6a107384219159d93e130 100644 --- a/rdbms/wrapper/MysqlConnFactory.hpp +++ b/rdbms/wrapper/MysqlConnFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/MysqlConnTest.cpp b/rdbms/wrapper/MysqlConnTest.cpp index 46fd4ba104c1f57d2b02dae3eb53230c95d08d5e..ac7c0e362edbe69a515826dc715c73c2d92283b6 100644 --- a/rdbms/wrapper/MysqlConnTest.cpp +++ b/rdbms/wrapper/MysqlConnTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/DatabaseConstraintError.hpp" diff --git a/rdbms/wrapper/MysqlRset.cpp b/rdbms/wrapper/MysqlRset.cpp index 5792224cb2fa5a746d6a9e18b48ecabe100eb1c4..3de111c6d7d00b290f5624dc548d855fddd42087 100644 --- a/rdbms/wrapper/MysqlRset.cpp +++ b/rdbms/wrapper/MysqlRset.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/MysqlRset.hpp b/rdbms/wrapper/MysqlRset.hpp index 97a2f0b0692c5bb07f23003f3d00d205f0565ae7..d15ca1dc1336f031a1905963d6dee4a1db6a70ed 100644 --- a/rdbms/wrapper/MysqlRset.hpp +++ b/rdbms/wrapper/MysqlRset.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/MysqlStmt.cpp b/rdbms/wrapper/MysqlStmt.cpp index a73c0717cf67118f5c5d6a447e7e575396810e4c..b3faa3377c1bd5b35cc9e2428d69eff2c55b2392 100644 --- a/rdbms/wrapper/MysqlStmt.cpp +++ b/rdbms/wrapper/MysqlStmt.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/MysqlStmt.hpp b/rdbms/wrapper/MysqlStmt.hpp index 7e78973f6f896de78c663d33ccf0aa1393b8a9ff..96e4c7bf2d0741b53fb055dac294cd6e64309461 100644 --- a/rdbms/wrapper/MysqlStmt.hpp +++ b/rdbms/wrapper/MysqlStmt.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/OcciColumn.cpp b/rdbms/wrapper/OcciColumn.cpp index aeaf4c7494fc60801bd30217d01e6829613c26a1..00db1a255e76a01a346ae93a795e5cac2d872075 100644 --- a/rdbms/wrapper/OcciColumn.cpp +++ b/rdbms/wrapper/OcciColumn.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/OcciColumn.hpp b/rdbms/wrapper/OcciColumn.hpp index a6c47653663e0fd0b2a3ddbfee5ddbd13b4e7d16..c009d4d7189499af4306e6564963b5b0ca2bf046 100644 --- a/rdbms/wrapper/OcciColumn.hpp +++ b/rdbms/wrapper/OcciColumn.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/OcciColumnTest.cpp b/rdbms/wrapper/OcciColumnTest.cpp index 29d5b870c15ee78a377dddce9380b3881a1c9d42..2b3a6c9e44caded637df5684c4b0a7b8a7fcfe23 100644 --- a/rdbms/wrapper/OcciColumnTest.cpp +++ b/rdbms/wrapper/OcciColumnTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/OcciConn.cpp b/rdbms/wrapper/OcciConn.cpp index 32ac1f0401602a9d1d703c4478a3718166f70453..2f89776e572f7818971f98f5be69d5ba2a177a43 100644 --- a/rdbms/wrapper/OcciConn.cpp +++ b/rdbms/wrapper/OcciConn.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/OcciConn.hpp b/rdbms/wrapper/OcciConn.hpp index 06e3aeaa057486437cc885a8f07e6fe3de37c1c4..35bc569fea7378e3460d936621e53e4fa9b313a0 100644 --- a/rdbms/wrapper/OcciConn.hpp +++ b/rdbms/wrapper/OcciConn.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/OcciConnFactory.cpp b/rdbms/wrapper/OcciConnFactory.cpp index fbd77457ad813ab4e1b35c9e8fd453bcc8b8a21e..eec08d52a5edf9416a141a6cb125c4d8a5385765 100644 --- a/rdbms/wrapper/OcciConnFactory.cpp +++ b/rdbms/wrapper/OcciConnFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/OcciConnFactory.hpp b/rdbms/wrapper/OcciConnFactory.hpp index 6c7f4aaf0af19a0ce1c55fc728e9c9bbb17e7beb..4646f28b7cfe445a0cdfb2569cfc22d5d549faa0 100644 --- a/rdbms/wrapper/OcciConnFactory.hpp +++ b/rdbms/wrapper/OcciConnFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/OcciEnv.cpp b/rdbms/wrapper/OcciEnv.cpp index 587794c4a5a3a428fbc043842d984d16dc9b1d47..9bde3be8f4375ee4fe620a7f74fa87788f7ff08e 100644 --- a/rdbms/wrapper/OcciEnv.cpp +++ b/rdbms/wrapper/OcciEnv.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/OcciEnv.hpp b/rdbms/wrapper/OcciEnv.hpp index 75819e05154bb8e040ffc49118b8bdfda62378ab..d4c3be08bc68dc72942e1c9506a42f0dafbf51c4 100644 --- a/rdbms/wrapper/OcciEnv.hpp +++ b/rdbms/wrapper/OcciEnv.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/OcciEnvSingleton.cpp b/rdbms/wrapper/OcciEnvSingleton.cpp index 551ad0dd8df9929edcfc4ebfa4e061723fde7bd3..98d729994742a20cac056ee7fc31a785c419b0cd 100644 --- a/rdbms/wrapper/OcciEnvSingleton.cpp +++ b/rdbms/wrapper/OcciEnvSingleton.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/OcciEnvSingleton.hpp b/rdbms/wrapper/OcciEnvSingleton.hpp index a2afe8454a9c6c1071c838c162a43a314af097c9..ce79380692760da272a5bd40dcda7e81456297a5 100644 --- a/rdbms/wrapper/OcciEnvSingleton.hpp +++ b/rdbms/wrapper/OcciEnvSingleton.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/OcciRset.cpp b/rdbms/wrapper/OcciRset.cpp index d0da2c0d7dbc765801d174c4c6183f2fa0aa537b..c5e297f5a5492fdb91e5813292ffeeca7e8d614f 100644 --- a/rdbms/wrapper/OcciRset.cpp +++ b/rdbms/wrapper/OcciRset.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/OcciRset.hpp b/rdbms/wrapper/OcciRset.hpp index f567902b2abf169985035a2f831fa0bb258da8ab..0199fa5a9a990c99a7c541095940382974c52d36 100644 --- a/rdbms/wrapper/OcciRset.hpp +++ b/rdbms/wrapper/OcciRset.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/OcciStmt.cpp b/rdbms/wrapper/OcciStmt.cpp index fffe303fd196efd58026425494e0a6c4516754b4..488cc0b3d2552b2b7925c56cecc3b673f0837c28 100644 --- a/rdbms/wrapper/OcciStmt.cpp +++ b/rdbms/wrapper/OcciStmt.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/OcciStmt.hpp b/rdbms/wrapper/OcciStmt.hpp index e9d1d9a958c77e790acd9b2cb1c8deaf9cd414c3..6cae4078ddab4d3ba3739f79a545ee818fd871b4 100644 --- a/rdbms/wrapper/OcciStmt.hpp +++ b/rdbms/wrapper/OcciStmt.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/ParamNameToIdx.cpp b/rdbms/wrapper/ParamNameToIdx.cpp index cb845ea1c99fea70f57aeb4d71f3cf0e0d233f9c..0c2bbd54b1d53ceaed6a34bf16bd7c5ca8da0b8f 100644 --- a/rdbms/wrapper/ParamNameToIdx.cpp +++ b/rdbms/wrapper/ParamNameToIdx.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/ParamNameToIdx.hpp b/rdbms/wrapper/ParamNameToIdx.hpp index e0a3d9d16471f3b2d53d6393d784bf37a5ea3cc2..381bb9bd0f3f7c2572caa9256aaf93cea2e20705 100644 --- a/rdbms/wrapper/ParamNameToIdx.hpp +++ b/rdbms/wrapper/ParamNameToIdx.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <map> diff --git a/rdbms/wrapper/ParamNameToIdxTest.cpp b/rdbms/wrapper/ParamNameToIdxTest.cpp index 380ab4a2bffb280df8440d5d31adb93cc037d787..cabba94ffe5c53eea6eac5e490e46444bb8ed084 100644 --- a/rdbms/wrapper/ParamNameToIdxTest.cpp +++ b/rdbms/wrapper/ParamNameToIdxTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/Postgres.hpp b/rdbms/wrapper/Postgres.hpp index 5c3c9029335f8fb67f92fa4a43116e7163a26af0..77da6f2f09d89634d9a6c6e954d1ad5a93efda01 100644 --- a/rdbms/wrapper/Postgres.hpp +++ b/rdbms/wrapper/Postgres.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/PostgresColumn.cpp b/rdbms/wrapper/PostgresColumn.cpp index 7e58d0032e718bde1d3773456559eb74b8046e21..9c742d454d053677484bef936a5b4b5794544a01 100644 --- a/rdbms/wrapper/PostgresColumn.cpp +++ b/rdbms/wrapper/PostgresColumn.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/PostgresColumn.hpp b/rdbms/wrapper/PostgresColumn.hpp index 64f1679d1628d7d8f88d39f7705e69b37213d5e1..fb95df5309390a7ac0ff952ae264dd617b8f71d0 100644 --- a/rdbms/wrapper/PostgresColumn.hpp +++ b/rdbms/wrapper/PostgresColumn.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/PostgresConn.cpp b/rdbms/wrapper/PostgresConn.cpp index 44eafbe5c88851eff15da06e5830f87bb49c9159..9168ee8869b8c107ca15f33f68835169da2681dd 100644 --- a/rdbms/wrapper/PostgresConn.cpp +++ b/rdbms/wrapper/PostgresConn.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/utils/utils.hpp" diff --git a/rdbms/wrapper/PostgresConn.hpp b/rdbms/wrapper/PostgresConn.hpp index 79ac9ba52cabd254893c12e00c997f0201a3d56e..bfd2763cc13fa40b11a771630b65e89dfa65986e 100644 --- a/rdbms/wrapper/PostgresConn.hpp +++ b/rdbms/wrapper/PostgresConn.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/PostgresConnFactory.cpp b/rdbms/wrapper/PostgresConnFactory.cpp index 511359d50f279f55b6ed9b7e5b99b02e320bb6a2..043a65e9fcc4f3d55c248e7e8d0f41b6e436e0d2 100644 --- a/rdbms/wrapper/PostgresConnFactory.cpp +++ b/rdbms/wrapper/PostgresConnFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2018 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/PostgresConnFactory.hpp b/rdbms/wrapper/PostgresConnFactory.hpp index 5ea1caf4204a040e0f4b46b49d232430d159c0e4..8686687b90a7cb515ec21e65e66ff47cc24a8fd1 100644 --- a/rdbms/wrapper/PostgresConnFactory.hpp +++ b/rdbms/wrapper/PostgresConnFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2018 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/PostgresRset.cpp b/rdbms/wrapper/PostgresRset.cpp index ab9024e71359add509fdb48c12539d650f9f05db..ed005e84ee9a6cf725a6db37ec8bf259504bc469 100644 --- a/rdbms/wrapper/PostgresRset.cpp +++ b/rdbms/wrapper/PostgresRset.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/utils/utils.hpp" diff --git a/rdbms/wrapper/PostgresRset.hpp b/rdbms/wrapper/PostgresRset.hpp index 024312394b26adc9825beaa1d75b48685b3b4a5d..c357c43a53761aeb2df71d584dcc475f42b184f2 100644 --- a/rdbms/wrapper/PostgresRset.hpp +++ b/rdbms/wrapper/PostgresRset.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/PostgresStmt.cpp b/rdbms/wrapper/PostgresStmt.cpp index 4117a2efe35db71034728aa880667d442ac998a7..8a09483322e4f44def4088db70488798087a7e5b 100644 --- a/rdbms/wrapper/PostgresStmt.cpp +++ b/rdbms/wrapper/PostgresStmt.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/utils/utils.hpp" diff --git a/rdbms/wrapper/PostgresStmt.hpp b/rdbms/wrapper/PostgresStmt.hpp index 3c16642df85270bef09b4e7cb16e9e857e5ba92d..8f21e00505f0a5f5876cac990dd1823463e4b545 100644 --- a/rdbms/wrapper/PostgresStmt.hpp +++ b/rdbms/wrapper/PostgresStmt.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/PostgresStmtTest.cpp b/rdbms/wrapper/PostgresStmtTest.cpp index 812a70201e44edcc34a976d4a84ab7248db9b859..a35cd390fcce87480ab3c4cac921fe7fae15873e 100644 --- a/rdbms/wrapper/PostgresStmtTest.cpp +++ b/rdbms/wrapper/PostgresStmtTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/make_unique.hpp" diff --git a/rdbms/wrapper/RsetWrapper.cpp b/rdbms/wrapper/RsetWrapper.cpp index b735973ae6891e2114a0f017d63398b682233777..cfd77860c931a4ee52e20f26983692d951dcab7d 100644 --- a/rdbms/wrapper/RsetWrapper.cpp +++ b/rdbms/wrapper/RsetWrapper.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/wrapper/RsetWrapper.hpp" diff --git a/rdbms/wrapper/RsetWrapper.hpp b/rdbms/wrapper/RsetWrapper.hpp index cfec4e27a310609e7392a35405ddad9f4295288d..865ccb7fc325020f802a9b130535be37f6d3d416 100644 --- a/rdbms/wrapper/RsetWrapper.hpp +++ b/rdbms/wrapper/RsetWrapper.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/Sqlite.cpp b/rdbms/wrapper/Sqlite.cpp index b095459d736936c5e6224920d09bb2a192ad741b..b4f0cc5e086a1e75337dfff2a2145698f323a5d5 100644 --- a/rdbms/wrapper/Sqlite.cpp +++ b/rdbms/wrapper/Sqlite.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/wrapper/Sqlite.hpp" diff --git a/rdbms/wrapper/Sqlite.hpp b/rdbms/wrapper/Sqlite.hpp index 93c46f975c9d20e7368a3290bd3fe61e23e02bff..60fe5d75bbc3520ac16e1739864928aa29268ccc 100644 --- a/rdbms/wrapper/Sqlite.hpp +++ b/rdbms/wrapper/Sqlite.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/SqliteConn.cpp b/rdbms/wrapper/SqliteConn.cpp index a232a0641a371f67afc538a65db48434b2ebbfcb..84f8be5c31cc57616beecb6bd69811ba8e181adf 100644 --- a/rdbms/wrapper/SqliteConn.cpp +++ b/rdbms/wrapper/SqliteConn.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/SqliteConn.hpp b/rdbms/wrapper/SqliteConn.hpp index 054e17547458f69353ae65685bb64497f4930609..cf4d87612956f50a831698e0aa53978e158dd3a3 100644 --- a/rdbms/wrapper/SqliteConn.hpp +++ b/rdbms/wrapper/SqliteConn.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/SqliteConnFactory.cpp b/rdbms/wrapper/SqliteConnFactory.cpp index 8872047a0b2b3f13cfb8f341a05401e0a85cb5d2..0fecbf8205a7e68ac9b57efcd14c5b51fb83ed0a 100644 --- a/rdbms/wrapper/SqliteConnFactory.cpp +++ b/rdbms/wrapper/SqliteConnFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/SqliteConnFactory.hpp b/rdbms/wrapper/SqliteConnFactory.hpp index 0328f2ca2808c934cfdab2527e711fca65029227..ede7728d964a0ec3daf7aad6a7551581140dd7c6 100644 --- a/rdbms/wrapper/SqliteConnFactory.hpp +++ b/rdbms/wrapper/SqliteConnFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/SqliteRset.cpp b/rdbms/wrapper/SqliteRset.cpp index ea7a551c0e5eaeef77a4e50be6efa14b1f1ba088..6e62dc21181ccd8bbd3944d6d2e0cb208a4486c2 100644 --- a/rdbms/wrapper/SqliteRset.cpp +++ b/rdbms/wrapper/SqliteRset.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/SqliteRset.hpp b/rdbms/wrapper/SqliteRset.hpp index 0a0bed7e6d0d7db8c02e0d3bc6b1c471a5062192..106b7cef661bf72f383c600f65f1b6fa57e9fd7d 100644 --- a/rdbms/wrapper/SqliteRset.hpp +++ b/rdbms/wrapper/SqliteRset.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/SqliteStmt.cpp b/rdbms/wrapper/SqliteStmt.cpp index ee75525ba38913ad8ecf781bdabdf8f88699ab44..bc8329cfb163dfbafaf797e0205f731692a7d19b 100644 --- a/rdbms/wrapper/SqliteStmt.cpp +++ b/rdbms/wrapper/SqliteStmt.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/rdbms/wrapper/SqliteStmt.hpp b/rdbms/wrapper/SqliteStmt.hpp index 46005c6441fd22eb55d5e8cbfcd1bdaf1769ddbf..4211911515f1805491edb9e116cf179fa9f016dc 100644 --- a/rdbms/wrapper/SqliteStmt.hpp +++ b/rdbms/wrapper/SqliteStmt.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/rdbms/wrapper/SqliteStmtTest.cpp b/rdbms/wrapper/SqliteStmtTest.cpp index 6f286f530286dd14062bdce40a8d25853cc1c79f..86b42a98eeec76a0a941c98e2a2c7e9fb35b2ed7 100644 --- a/rdbms/wrapper/SqliteStmtTest.cpp +++ b/rdbms/wrapper/SqliteStmtTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/ConstraintError.hpp" diff --git a/rdbms/wrapper/StmtWrapper.cpp b/rdbms/wrapper/StmtWrapper.cpp index c3ad7554b23bf7f531bf2d8c7d112fc2b77cfa90..d83827c30102880ce25d78e1fb0fe07bef6c964f 100644 --- a/rdbms/wrapper/StmtWrapper.cpp +++ b/rdbms/wrapper/StmtWrapper.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/rdbms.hpp" diff --git a/rdbms/wrapper/StmtWrapper.hpp b/rdbms/wrapper/StmtWrapper.hpp index 84534efcb5bf28e36a3cf95ef64cd14eb4958c67..dd5b606330ca46448856bb2af1b43a6ffd2b2758 100644 --- a/rdbms/wrapper/StmtWrapper.hpp +++ b/rdbms/wrapper/StmtWrapper.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/ArchiveJob.cpp b/scheduler/ArchiveJob.cpp index 3b6358cedccd27a20991c0bcaef137b5dddd6dbc..859763a8662553f9380870d7fc9cb081e3487836 100644 --- a/scheduler/ArchiveJob.cpp +++ b/scheduler/ArchiveJob.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/ArchiveJob.hpp" diff --git a/scheduler/ArchiveJob.hpp b/scheduler/ArchiveJob.hpp index 68debbb1d9258ec0f0e7b22c61adc0a0c89c35c0..d5a392740c30a9c343db1d95af36821c9be573c2 100644 --- a/scheduler/ArchiveJob.hpp +++ b/scheduler/ArchiveJob.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/ArchiveMount.cpp b/scheduler/ArchiveMount.cpp index bff5973365fab177e884f79eea9d340ac1fb51fe..becae3214526091b124bb878ba1ce0ce38fd4449 100644 --- a/scheduler/ArchiveMount.cpp +++ b/scheduler/ArchiveMount.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <iostream> diff --git a/scheduler/ArchiveMount.hpp b/scheduler/ArchiveMount.hpp index 03a531daa6c8f71d8cf60949a4702ed271e3c2fd..2982bbf7d854987f96a67d227186ee880d393283 100644 --- a/scheduler/ArchiveMount.hpp +++ b/scheduler/ArchiveMount.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/CMakeLists.txt b/scheduler/CMakeLists.txt index d8758679767c607e97d2502d4dae331073db31c2..715a45dd2ee68798ded26b4eb3474fe6fac24191 100644 --- a/scheduler/CMakeLists.txt +++ b/scheduler/CMakeLists.txt @@ -1,6 +1,20 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) -include_directories (${CMAKE_CURRENT_SOURCE_DIR} +include_directories (${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${XROOTD_INCLUDE_DIR}) set (CTA_SCHEDULER_SRC_FILES @@ -58,7 +72,7 @@ if(CMAKE_COMPILER_IS_GNUCC) endif (GCC_VERSION VERSION_EQUAL 6 OR GCC_VERSION VERSION_GREATER 6) endif(CMAKE_COMPILER_IS_GNUCC) -target_link_libraries (ctaschedulerunittests +target_link_libraries (ctaschedulerunittests ctascheduler) install(TARGETS ctaschedulerunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR}) diff --git a/scheduler/DiskReportRunner.cpp b/scheduler/DiskReportRunner.cpp index 77d7973420d379020456c04b92db190545b1c2e8..60eb7768acdca776abe51b0104396c59579712d1 100644 --- a/scheduler/DiskReportRunner.cpp +++ b/scheduler/DiskReportRunner.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2018 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DiskReportRunner.hpp" diff --git a/scheduler/DiskReportRunner.hpp b/scheduler/DiskReportRunner.hpp index e6471da2ee0a8bb0eee579479337c4fe1dfbc3a1..2e24a9ca9f405b29d3ef60545d9dd3e4276b0f28 100644 --- a/scheduler/DiskReportRunner.hpp +++ b/scheduler/DiskReportRunner.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/LabelMount.cpp b/scheduler/LabelMount.cpp index d2f9acc1a71c28300890b6be1fb71daa0eefc815..792391b4289b69aaf304d24a143a5d179fcafdf6 100644 --- a/scheduler/LabelMount.cpp +++ b/scheduler/LabelMount.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "LabelMount.hpp" diff --git a/scheduler/LabelMount.hpp b/scheduler/LabelMount.hpp index 584d5a84ba081e05eff2be253eb9d830adf3fd4b..8516cd5e9d210ef2cf86df0eff9ed05ff6e1f5ce 100644 --- a/scheduler/LabelMount.hpp +++ b/scheduler/LabelMount.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/LogicalLibrary.cpp b/scheduler/LogicalLibrary.cpp index d766b2b07ffa400caae0e987421c7d657a61bedc..d2466cf3c052a9719414b20820654347786948b8 100644 --- a/scheduler/LogicalLibrary.cpp +++ b/scheduler/LogicalLibrary.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/LogicalLibrary.hpp" diff --git a/scheduler/LogicalLibrary.hpp b/scheduler/LogicalLibrary.hpp index c53e307c5df108fdd76abef3868974ea6777880d..f0d10a390a286d1ed42c483bc163c9bbd37e2b8f 100644 --- a/scheduler/LogicalLibrary.hpp +++ b/scheduler/LogicalLibrary.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/MountRequest.cpp b/scheduler/MountRequest.cpp index 75c6f1c7cc96b17abc8868a18b12da1989e39a71..6da62009082204444d4d5fac51e7b7c7dbab7c67 100644 --- a/scheduler/MountRequest.cpp +++ b/scheduler/MountRequest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/MountRequest.hpp" diff --git a/scheduler/MountRequest.hpp b/scheduler/MountRequest.hpp index c36f1b75cfddbbd8f03ad239202a89d3d3acc5cf..ac4156028fb619feca24636fdce09264d1491659 100644 --- a/scheduler/MountRequest.hpp +++ b/scheduler/MountRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/MountType.cpp b/scheduler/MountType.cpp index 573e0b017dd8b7bf32f431b9d095f69037de3dcc..f24f49b0a247ae2a2535d745e0e96b71c08683bf 100644 --- a/scheduler/MountType.cpp +++ b/scheduler/MountType.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/MountType.hpp" diff --git a/scheduler/MountType.hpp b/scheduler/MountType.hpp index e05819a5fe4e7f4199a41e944b38a90a8ca43d95..6fbbef8f617be32f74246d852d8753c86a85cc59 100644 --- a/scheduler/MountType.hpp +++ b/scheduler/MountType.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/OStoreDB/MemQueues.cpp b/scheduler/OStoreDB/MemQueues.cpp index 67c3172e1ae5d59710eb6687705b4483047cb17b..fe2af86ac69cac71335a6e6601e354aa5586b9fc 100644 --- a/scheduler/OStoreDB/MemQueues.cpp +++ b/scheduler/OStoreDB/MemQueues.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/helgrind_annotator.hpp" diff --git a/scheduler/OStoreDB/MemQueues.hpp b/scheduler/OStoreDB/MemQueues.hpp index ed2309e926182b01064c5a9cc4a76b699b9c459c..6f5cc424471081a0cf0cadd6170d1c3db80f9ed4 100644 --- a/scheduler/OStoreDB/MemQueues.hpp +++ b/scheduler/OStoreDB/MemQueues.hpp @@ -1,20 +1,19 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/OStoreDB/OStoreDB.cpp b/scheduler/OStoreDB/OStoreDB.cpp index c88714df0dc01fdc7083749ebf3106666c51edcd..746b3c165859efa94d4ddf6f280354096034ead4 100644 --- a/scheduler/OStoreDB/OStoreDB.cpp +++ b/scheduler/OStoreDB/OStoreDB.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/log/StdoutLogger.hpp" diff --git a/scheduler/OStoreDB/OStoreDB.hpp b/scheduler/OStoreDB/OStoreDB.hpp index a42621e375c3e503d4ce65dddfd4c7bac23b25b4..9d942a8c18cbbae8219596d9494866a0b7a4b586 100644 --- a/scheduler/OStoreDB/OStoreDB.hpp +++ b/scheduler/OStoreDB/OStoreDB.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/OStoreDB/OStoreDBFactory.hpp b/scheduler/OStoreDB/OStoreDBFactory.hpp index 91a29f92189bbf78b1f0ce6c5f14bcd86a30a682..5f4e94caf29a4e3ebe07de74e071aadf878bc51d 100644 --- a/scheduler/OStoreDB/OStoreDBFactory.hpp +++ b/scheduler/OStoreDB/OStoreDBFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/OStoreDB/OStoreDBInit.hpp b/scheduler/OStoreDB/OStoreDBInit.hpp index 82349ca987439f28aebf5a6b083a6090ae01db71..dac0f904084d388fbc5ee789fb773e631ba7d044 100644 --- a/scheduler/OStoreDB/OStoreDBInit.hpp +++ b/scheduler/OStoreDB/OStoreDBInit.hpp @@ -1,6 +1,6 @@ -/** +/* * @project The CERN Tape Archive (CTA) - * @copyright Copyright © 2021 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/scheduler/OStoreDB/OStoreDBTest.cpp b/scheduler/OStoreDB/OStoreDBTest.cpp index 7a146e24185a17cffd2e279038e3c376f154c4ff..490418c205189b280d783d9355a704412693476a 100644 --- a/scheduler/OStoreDB/OStoreDBTest.cpp +++ b/scheduler/OStoreDB/OStoreDBTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "OStoreDBTest.hpp" diff --git a/scheduler/OStoreDB/OStoreDBTest.hpp b/scheduler/OStoreDB/OStoreDBTest.hpp index b557d9122663a067def9cbc11566f80d2f65084c..3dfe6f8a7756f934981109457d985be24e3fc78f 100644 --- a/scheduler/OStoreDB/OStoreDBTest.hpp +++ b/scheduler/OStoreDB/OStoreDBTest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/OStoreDB/OStoreDBWithAgent.cpp b/scheduler/OStoreDB/OStoreDBWithAgent.cpp index fac457fde2aacc041db39d358d91648350fe4f16..be42c5570fb48c484a961d7215e843a40a0c0b23 100644 --- a/scheduler/OStoreDB/OStoreDBWithAgent.cpp +++ b/scheduler/OStoreDB/OStoreDBWithAgent.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/OStoreDB/OStoreDBWithAgent.hpp" diff --git a/scheduler/OStoreDB/OStoreDBWithAgent.hpp b/scheduler/OStoreDB/OStoreDBWithAgent.hpp index 4b84ddbf2cce40d6bbd3a0aeced42618e5cc5162..3872b434edfc85c6516a68c337d0d079cadfa7ab 100644 --- a/scheduler/OStoreDB/OStoreDBWithAgent.hpp +++ b/scheduler/OStoreDB/OStoreDBWithAgent.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/OStoreDB/QueueItor.cpp b/scheduler/OStoreDB/QueueItor.cpp index be7b71a51b66aa09923ff51fc939dc618b1c57b4..f4060ea4dd9b6010d93a4869dad29ecc4e93c7c4 100644 --- a/scheduler/OStoreDB/QueueItor.cpp +++ b/scheduler/OStoreDB/QueueItor.cpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Iterator class for Archive/Retrieve job queues - * @copyright Copyright 2018 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/scheduler/OStoreDB/QueueItor.hpp b/scheduler/OStoreDB/QueueItor.hpp index 2f3bcb7ac1a3b20f3b633178d435cb55182c3a61..7c7a95feeb61c5f952bb943940da1049977a2044 100644 --- a/scheduler/OStoreDB/QueueItor.hpp +++ b/scheduler/OStoreDB/QueueItor.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Iterator class for Archive/Retrieve job queues - * @copyright Copyright 2018 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/scheduler/PositioningMethod.cpp b/scheduler/PositioningMethod.cpp index 22032b6ee1b4df2beb2a3f6a5bfa070c94f411a0..46b9d023e0cd79c7ba8135719d851517655648e0 100644 --- a/scheduler/PositioningMethod.cpp +++ b/scheduler/PositioningMethod.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Retrieve (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/PositioningMethod.hpp" diff --git a/scheduler/PositioningMethod.hpp b/scheduler/PositioningMethod.hpp index f25e55afcfd9a2f1d29202e637076b947eb47708..c4fa6e8dd96c172cc791fad2417c999b183ecc37 100644 --- a/scheduler/PositioningMethod.hpp +++ b/scheduler/PositioningMethod.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Retrieve (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/RepackReportThread.cpp b/scheduler/RepackReportThread.cpp index 3e694bc8842283b2d22f4908cc776699748343cf..aa3915d1f64b49057bb12f458d743cd1375cd03b 100644 --- a/scheduler/RepackReportThread.cpp +++ b/scheduler/RepackReportThread.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RepackReportThread.hpp" diff --git a/scheduler/RepackReportThread.hpp b/scheduler/RepackReportThread.hpp index 670e2f76a639698a3b7b43bf5be7fdc517258aeb..3669c62912f6dd70940628f26e9c37a324cdb833 100644 --- a/scheduler/RepackReportThread.hpp +++ b/scheduler/RepackReportThread.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/RepackRequest.cpp b/scheduler/RepackRequest.cpp index 49c73ec07e3e57e2458f64d7ce7a6488717fd7e0..fc8a47eec0a7733fd12c7ebe376f6dab4c2f70a3 100644 --- a/scheduler/RepackRequest.cpp +++ b/scheduler/RepackRequest.cpp @@ -1,21 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY { - -} without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/scheduler/RepackRequest.hpp b/scheduler/RepackRequest.hpp index 8a87735debb0200dcccd5d37da8cb3e84fac6f72..80d5baa6a42a8040b299691582ad93bd31a146ed 100644 --- a/scheduler/RepackRequest.hpp +++ b/scheduler/RepackRequest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Retrieve (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/RepackRequestManager.cpp b/scheduler/RepackRequestManager.cpp index 1f4e92a596a2bb7a1dc24ee1e9f8380bca34a5a8..90d0c1dcf4833df2665c1bd727d55c70e44f5f7e 100644 --- a/scheduler/RepackRequestManager.cpp +++ b/scheduler/RepackRequestManager.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RepackRequestManager.hpp" diff --git a/scheduler/RepackRequestManager.hpp b/scheduler/RepackRequestManager.hpp index a780f7095a843f271f3c91f89afb09f0adf8c611..22666c3b5d4decc127a1d9494b5d5a79b0f75a83 100644 --- a/scheduler/RepackRequestManager.hpp +++ b/scheduler/RepackRequestManager.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/RetrieveJob.cpp b/scheduler/RetrieveJob.cpp index e3b4c77343d4809370fc690cba17d42e164cefd3..d4a1733cafd5e2d20428a2e0f91d00c4de046bca 100644 --- a/scheduler/RetrieveJob.cpp +++ b/scheduler/RetrieveJob.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Retrieve (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/RetrieveJob.hpp" diff --git a/scheduler/RetrieveJob.hpp b/scheduler/RetrieveJob.hpp index 7bb4057195f428fbf6fbfe53e691b4c959b5d34d..16afe478d6a0efa6724b305f947eb8b8a996396c 100644 --- a/scheduler/RetrieveJob.hpp +++ b/scheduler/RetrieveJob.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Retrieve (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/RetrieveMount.cpp b/scheduler/RetrieveMount.cpp index 26e9301157501e7ba95fc9f4d2b4c8e3ea8ecdc7..727cf038b48e8e661a2ec10168b38be93cde8a4c 100644 --- a/scheduler/RetrieveMount.cpp +++ b/scheduler/RetrieveMount.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Retrieve (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/RetrieveMount.hpp" diff --git a/scheduler/RetrieveMount.hpp b/scheduler/RetrieveMount.hpp index 0000a55a3b38078d1eb814cb6915a76347979321..10c7340093ddb6e40e012098cae3d6b5b0b48c27 100644 --- a/scheduler/RetrieveMount.hpp +++ b/scheduler/RetrieveMount.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/RetrieveRequestDump.hpp b/scheduler/RetrieveRequestDump.hpp index 88f05855b115fc4bd4a47cfad1549b7db4c782db..78b4743930aabec13b3cc91be35d71f5ed6fc5d6 100644 --- a/scheduler/RetrieveRequestDump.hpp +++ b/scheduler/RetrieveRequestDump.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/Scheduler.cpp b/scheduler/Scheduler.cpp index abc77d4448411baef2ccf16ae9dfcd2e1dd79b34..02461f9ce0b9c307a3dcf8c144cdc39c6e1b49fc 100644 --- a/scheduler/Scheduler.cpp +++ b/scheduler/Scheduler.cpp @@ -1,21 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright (C) 2018 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY { - -} without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/scheduler/Scheduler.hpp b/scheduler/Scheduler.hpp index c02a31afff62268830e2d1a708e0f0aa6f2f1b9f..df81de7ed83de75e307d8b07a9442bb6067915ca 100644 --- a/scheduler/Scheduler.hpp +++ b/scheduler/Scheduler.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/SchedulerDatabase.cpp b/scheduler/SchedulerDatabase.cpp index 4c1415c4ee8bba2578495e2d6d385c7eae8a03a2..d47ab33adbc255e7de9a9550760cd637f0aa65de 100644 --- a/scheduler/SchedulerDatabase.cpp +++ b/scheduler/SchedulerDatabase.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/SchedulerDatabase.hpp" diff --git a/scheduler/SchedulerDatabase.hpp b/scheduler/SchedulerDatabase.hpp index 69384187ab147dfa681aeefb3e026ee25fe05abc..ece9bfce00f373cb44cf69c41ab7fc1e350fb6cd 100644 --- a/scheduler/SchedulerDatabase.hpp +++ b/scheduler/SchedulerDatabase.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/SchedulerDatabaseFactory.cpp b/scheduler/SchedulerDatabaseFactory.cpp index ae286e7d2d0b6a120941c301b8fb543ddd85c5ba..17f25cec0ce0cdf52bac930384e429a633229054 100644 --- a/scheduler/SchedulerDatabaseFactory.cpp +++ b/scheduler/SchedulerDatabaseFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/SchedulerDatabaseFactory.hpp" diff --git a/scheduler/SchedulerDatabaseFactory.hpp b/scheduler/SchedulerDatabaseFactory.hpp index f94e07d28fc1921b24d657498d373d0db8647c1a..466b7dbe87534c9d0f63f8d006aedc5a7707db60 100644 --- a/scheduler/SchedulerDatabaseFactory.hpp +++ b/scheduler/SchedulerDatabaseFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/SchedulerDatabaseTest.cpp b/scheduler/SchedulerDatabaseTest.cpp index 865a209e7a9d3afad3d32a88c423f86a21e05800..d2248ac9775829c4b77ae82df74dacbe58440298 100644 --- a/scheduler/SchedulerDatabaseTest.cpp +++ b/scheduler/SchedulerDatabaseTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "objectstore/BackendRadosTestSwitch.hpp" diff --git a/scheduler/SchedulerTest.cpp b/scheduler/SchedulerTest.cpp index c37467f92b996bb3b3435bc9470db4cbbf6badd5..b5ef933ab94fdf726918069df7cfdd688ffa6469 100644 --- a/scheduler/SchedulerTest.cpp +++ b/scheduler/SchedulerTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/InMemoryCatalogue.hpp" diff --git a/scheduler/SchedulingInfos.cpp b/scheduler/SchedulingInfos.cpp index 5547a56669bb44b8cd110acb04bd1d0ffec1919f..e8f59b2063d0050bbbf5d7ddd09ee7dd0c932348 100644 --- a/scheduler/SchedulingInfos.cpp +++ b/scheduler/SchedulingInfos.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SchedulingInfos.hpp" diff --git a/scheduler/SchedulingInfos.hpp b/scheduler/SchedulingInfos.hpp index fc9b864f13e9ae0f9c1d60e8bb964d7046bf139d..ae005544bcf67128a35d509b68b11214a3ed1d57 100644 --- a/scheduler/SchedulingInfos.hpp +++ b/scheduler/SchedulingInfos.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/TapeMount.cpp b/scheduler/TapeMount.cpp index ea4a36464cb378214dd45d2d86c8151aeb703322..6c94383fb7d48901d5c2765a5b33f562405e750a 100644 --- a/scheduler/TapeMount.cpp +++ b/scheduler/TapeMount.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "scheduler/TapeMount.hpp" diff --git a/scheduler/TapeMount.hpp b/scheduler/TapeMount.hpp index 7dd11a8b999909436ba24782db6dabeec5f7aa2d..9394a7b0308b19b71313a1430e9c8b7be24e50b3 100644 --- a/scheduler/TapeMount.hpp +++ b/scheduler/TapeMount.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/TapeMountDummy.hpp b/scheduler/TapeMountDummy.hpp index 4ddd275232666fa98b9dcea2e9bab61396218be9..5a9593ea93886866f99d51c6212b0d9ad655ea56 100644 --- a/scheduler/TapeMountDummy.hpp +++ b/scheduler/TapeMountDummy.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/testingMocks/MockArchiveJob.hpp b/scheduler/testingMocks/MockArchiveJob.hpp index 87f638c69b16e6faff4ed05aac828d09dbe4be57..5bb17d61dce73f25699e22c77cc6057bb38db56a 100644 --- a/scheduler/testingMocks/MockArchiveJob.hpp +++ b/scheduler/testingMocks/MockArchiveJob.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/testingMocks/MockArchiveMount.hpp b/scheduler/testingMocks/MockArchiveMount.hpp index c6d7d160c65ccaf884bb562d5870d573ec8a5975..3ec26ccf08a1854adb6641354e061e5adf833c18 100644 --- a/scheduler/testingMocks/MockArchiveMount.hpp +++ b/scheduler/testingMocks/MockArchiveMount.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/scheduler/testingMocks/MockRetrieveJob.hpp b/scheduler/testingMocks/MockRetrieveJob.hpp index 65acd9c3c8a323f97cc29f7258453be77f025a1b..09569c1dbd77ebdd3f0f4382e4c033fe0f9d2e36 100644 --- a/scheduler/testingMocks/MockRetrieveJob.hpp +++ b/scheduler/testingMocks/MockRetrieveJob.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/scheduler/testingMocks/MockRetrieveMount.hpp b/scheduler/testingMocks/MockRetrieveMount.hpp index 87a2035f0427bc7bf643d4c934b65fe9719e95ee..ee7d37d22d78099296b9f3ec5b01c00cb2c507e7 100644 --- a/scheduler/testingMocks/MockRetrieveMount.hpp +++ b/scheduler/testingMocks/MockRetrieveMount.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/CMakeLists.txt b/statistics/CMakeLists.txt index fc4ed891dfe2157a61d2501b5a610332fce65703..8ef374664b069e15eecc4974767f79a8d6bec6a1 100644 --- a/statistics/CMakeLists.txt +++ b/statistics/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) find_package(Protobuf3 REQUIRED) @@ -23,8 +22,8 @@ include_directories (${ORACLE-INSTANTCLIENT_INCLUDE_DIRS}) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wshadow") add_custom_command (OUTPUT mysql_statistics_schema.sql -COMMAND cat - ${CMAKE_CURRENT_SOURCE_DIR}/common_statistics_schema.sql +COMMAND cat + ${CMAKE_CURRENT_SOURCE_DIR}/common_statistics_schema.sql | sed 's/UINT8TYPE/TINYINT UNSIGNED/g' | sed 's/UINT16TYPE/SMALLINT UNSIGNED/g' | sed 's/UINT32TYPE/INT UNSIGNED/g' @@ -100,4 +99,4 @@ target_link_libraries (cta-statistics-update ctastatistics) set_property(TARGET cta-statistics-update APPEND PROPERTY INSTALL_RPATH ${PROTOBUF3_RPATH}) set_property(TARGET cta-statistics-update APPEND PROPERTY INSTALL_RPATH ${ORACLE-INSTANTCLIENT_RPATH}) -install (TARGETS cta-statistics-update DESTINATION /usr/bin) \ No newline at end of file +install (TARGETS cta-statistics-update DESTINATION /usr/bin) diff --git a/statistics/DatabaseStatisticsService.cpp b/statistics/DatabaseStatisticsService.cpp index 888e4fb7f2e1cd174fcc6e4f57a477ed6e55469f..4b150a665f724c71635ab104b925999d8c234f67 100644 --- a/statistics/DatabaseStatisticsService.cpp +++ b/statistics/DatabaseStatisticsService.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DatabaseStatisticsService.hpp" diff --git a/statistics/DatabaseStatisticsService.hpp b/statistics/DatabaseStatisticsService.hpp index 7de1067309b16366db727038512c346989e9e765..33d6e6c15e8c8399600a6095576835ca066ace0a 100644 --- a/statistics/DatabaseStatisticsService.hpp +++ b/statistics/DatabaseStatisticsService.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/DatabaseStatisticsServiceFactory.cpp b/statistics/DatabaseStatisticsServiceFactory.cpp index ff9f13e4dfcd32fab1b27c56c7821a26bd55d111..8c64742c647fd939f12ba3dcae58ac059be3d091 100644 --- a/statistics/DatabaseStatisticsServiceFactory.cpp +++ b/statistics/DatabaseStatisticsServiceFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/statistics/DatabaseStatisticsServiceFactory.hpp b/statistics/DatabaseStatisticsServiceFactory.hpp index 897d0568e05a00d9c93606eb349911648b1dc2a0..54ecf7eebf3b187a7cca566e4366e517a5a9be80 100644 --- a/statistics/DatabaseStatisticsServiceFactory.hpp +++ b/statistics/DatabaseStatisticsServiceFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/FileStatistics.cpp b/statistics/FileStatistics.cpp index 7c3c6a6b486f117085e141876d377d42f2e2b1cc..a8fed4cbf9f0ea8b38ce009f827bf7f08c4428c9 100644 --- a/statistics/FileStatistics.cpp +++ b/statistics/FileStatistics.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/statistics/FileStatistics.hpp b/statistics/FileStatistics.hpp index 8ee55a008d74a69f8330f3b899b363eeb1959478..218d33974a0d771125ceb2d7d966771cf81ecd58 100644 --- a/statistics/FileStatistics.hpp +++ b/statistics/FileStatistics.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/statistics/JsonStatisticsService.cpp b/statistics/JsonStatisticsService.cpp index 37cec03a9480cdd52763334e31ce03b7ae16a18a..65871aa6e8d86022cb325d3c7b6a18df224827e7 100644 --- a/statistics/JsonStatisticsService.cpp +++ b/statistics/JsonStatisticsService.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "JsonStatisticsService.hpp" diff --git a/statistics/JsonStatisticsService.hpp b/statistics/JsonStatisticsService.hpp index 2d0e4e0d8ca4f8d2f8bf33695eafd7e138c6959b..8014340e0ce7c86442d6263d12c1330716247f41 100644 --- a/statistics/JsonStatisticsService.hpp +++ b/statistics/JsonStatisticsService.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/JsonStatisticsServiceFactory.hpp b/statistics/JsonStatisticsServiceFactory.hpp index a21d8cb545ca45a98cfa4745a0a23eeb748f1446..6bae750286aac2f8eeca5c4d09681fd61b11f46b 100644 --- a/statistics/JsonStatisticsServiceFactory.hpp +++ b/statistics/JsonStatisticsServiceFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/MySQLStatisticsService.cpp b/statistics/MySQLStatisticsService.cpp index 6aa0dca8f9d992ccd6d293c5e9d0994a5559bb75..a1e593654be935935d204d7240f13b9a6ecb6933 100644 --- a/statistics/MySQLStatisticsService.cpp +++ b/statistics/MySQLStatisticsService.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "MySQLStatisticsService.hpp" diff --git a/statistics/MySQLStatisticsService.hpp b/statistics/MySQLStatisticsService.hpp index faaba4c918054e6ecf6c2d9042f89a52b6fd1a1e..00209903363bf202c0db1ab6dcd80b7fa8c3455c 100644 --- a/statistics/MySQLStatisticsService.hpp +++ b/statistics/MySQLStatisticsService.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/statistics/MysqlStatisticsSchema.before_SQL.cpp b/statistics/MysqlStatisticsSchema.before_SQL.cpp index 8802b75019c3dc7a2dc8a1697b39b073d49f1cce..1bae4f37950f34a672e4ad6c3873e126aed5d5a6 100644 --- a/statistics/MysqlStatisticsSchema.before_SQL.cpp +++ b/statistics/MysqlStatisticsSchema.before_SQL.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "statistics/MysqlStatisticsSchema.hpp" diff --git a/statistics/MysqlStatisticsSchema.hpp b/statistics/MysqlStatisticsSchema.hpp index d9f5313e12b6f926a5d307f65151d545c55fcca0..6c84a1d1b5b6109b11e898ddfd71be5ec477bf1d 100644 --- a/statistics/MysqlStatisticsSchema.hpp +++ b/statistics/MysqlStatisticsSchema.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/Statistics.cpp b/statistics/Statistics.cpp index 5adee1b20d642ac450d582ab0681c8635a03dce6..c420098c7b8c3eb76e712e0dbaf19cd294edf0ef 100644 --- a/statistics/Statistics.cpp +++ b/statistics/Statistics.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Statistics.hpp" diff --git a/statistics/Statistics.hpp b/statistics/Statistics.hpp index 30506af9121a56f4df5e483de9a6796f991f4210..261ee8e84941d06e28b7a223696c3f7e4916d3af 100644 --- a/statistics/Statistics.hpp +++ b/statistics/Statistics.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/StatisticsSaveCmd.cpp b/statistics/StatisticsSaveCmd.cpp index a0937f4831dfed991735b36576b38563bbd6a77c..287bcf39b74e6109270608f864cba610ec966288 100644 --- a/statistics/StatisticsSaveCmd.cpp +++ b/statistics/StatisticsSaveCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/ConnPool.hpp" diff --git a/statistics/StatisticsSaveCmd.hpp b/statistics/StatisticsSaveCmd.hpp index acc92a85732bc23af482c752f252789ece0942e1..3fe661b15df206ad7d41eb973e631bd1f17930db 100644 --- a/statistics/StatisticsSaveCmd.hpp +++ b/statistics/StatisticsSaveCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/StatisticsSaveCmdLineArgs.cpp b/statistics/StatisticsSaveCmdLineArgs.cpp index bda54fd78fe89ed359cb33a0b91c511730f6cd66..e72e020e23b64281a2aa4beb225227a2f80c6778 100644 --- a/statistics/StatisticsSaveCmdLineArgs.cpp +++ b/statistics/StatisticsSaveCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "StatisticsSaveCmdLineArgs.hpp" diff --git a/statistics/StatisticsSaveCmdLineArgs.hpp b/statistics/StatisticsSaveCmdLineArgs.hpp index 8a45640e63855750f3acb33df30d47bb1283db9a..ca5079616ef7340a10365e5b2c836d73d08877e1 100644 --- a/statistics/StatisticsSaveCmdLineArgs.hpp +++ b/statistics/StatisticsSaveCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/StatisticsSaveCmdMain.cpp b/statistics/StatisticsSaveCmdMain.cpp index 72f315edf94cdde02afee8344e6973a6f2380aec..f012af8a538ab97151079f095e4238ffb89c4c82 100644 --- a/statistics/StatisticsSaveCmdMain.cpp +++ b/statistics/StatisticsSaveCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "StatisticsSaveCmd.hpp" diff --git a/statistics/StatisticsSchema.cpp b/statistics/StatisticsSchema.cpp index 4b641fd69ce6e59906dcc72ba0121eb69b3c2dca..7a3cc8b69b3123a4b0da8417a2a3f869d4da8900 100644 --- a/statistics/StatisticsSchema.cpp +++ b/statistics/StatisticsSchema.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "StatisticsSchema.hpp" #include "catalogue/CatalogueSchema.hpp" diff --git a/statistics/StatisticsSchema.hpp b/statistics/StatisticsSchema.hpp index e4f96584b4c402d79d74725d5adeb5b0914d4b69..938151c5e4c9b90b3aa1082ad6d8afa6ff6171c2 100644 --- a/statistics/StatisticsSchema.hpp +++ b/statistics/StatisticsSchema.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/StatisticsSchemaFactory.cpp b/statistics/StatisticsSchemaFactory.cpp index cc667dca588df60dc16c013c6f85e13cd58db892..5e1be544f6ca70eead2292b4bba7ff00a7bf5a6e 100644 --- a/statistics/StatisticsSchemaFactory.cpp +++ b/statistics/StatisticsSchemaFactory.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "StatisticsSchemaFactory.hpp" diff --git a/statistics/StatisticsSchemaFactory.hpp b/statistics/StatisticsSchemaFactory.hpp index 4903689c0b93361231316159e989880c3bba1f50..bfef878c2ec04c340ab46eea8b4094d59a3f4b56 100644 --- a/statistics/StatisticsSchemaFactory.hpp +++ b/statistics/StatisticsSchemaFactory.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/StatisticsService.cpp b/statistics/StatisticsService.cpp index 11644a9775cac7a003d9e20aa303d66111cb916d..cf1d3baa81be592914841b40f325b20fa6324757 100644 --- a/statistics/StatisticsService.cpp +++ b/statistics/StatisticsService.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "StatisticsService.hpp" diff --git a/statistics/StatisticsService.hpp b/statistics/StatisticsService.hpp index 2977ae4c6c32a9a35b1945281cd3e1c890ba5f96..3740bf592c4ec03da4ff50f265eba9594986eee1 100644 --- a/statistics/StatisticsService.hpp +++ b/statistics/StatisticsService.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/StatisticsServiceFactory.cpp b/statistics/StatisticsServiceFactory.cpp index d7706f716aaa92f4557dafa63b6eee91467128ee..5f6adc4deea65712b14a436d326ea1a33f8815d8 100644 --- a/statistics/StatisticsServiceFactory.cpp +++ b/statistics/StatisticsServiceFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/statistics/StatisticsServiceFactory.hpp b/statistics/StatisticsServiceFactory.hpp index 0c28590cc45221d1a0fd6b2d2925e57d66f2b04b..18c69fee7728f52f2ad77754e24c870de928d177 100644 --- a/statistics/StatisticsServiceFactory.hpp +++ b/statistics/StatisticsServiceFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/statistics/StatisticsUpdateCmd.cpp b/statistics/StatisticsUpdateCmd.cpp index 22f9ce9fe7918699aad0a72204993a6cc3903ec4..b82cb12fa275515fc87207b666d6c5a97f85eba4 100644 --- a/statistics/StatisticsUpdateCmd.cpp +++ b/statistics/StatisticsUpdateCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "rdbms/ConnPool.hpp" diff --git a/statistics/StatisticsUpdateCmd.hpp b/statistics/StatisticsUpdateCmd.hpp index 35fcf7a72baa27fddbb2ad3ec656fa9bbfd57b47..32df8401ff6a18f27df41ef611ba69e852d347ca 100644 --- a/statistics/StatisticsUpdateCmd.hpp +++ b/statistics/StatisticsUpdateCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/StatisticsUpdateCmdLineArgs.cpp b/statistics/StatisticsUpdateCmdLineArgs.cpp index bc0a11c618cd390455a67a58ad497e65126e59c7..a6e5b42fbbc3183e4aed4fde536fdc6776ff6e02 100644 --- a/statistics/StatisticsUpdateCmdLineArgs.cpp +++ b/statistics/StatisticsUpdateCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "StatisticsUpdateCmdLineArgs.hpp" diff --git a/statistics/StatisticsUpdateCmdLineArgs.hpp b/statistics/StatisticsUpdateCmdLineArgs.hpp index 3c9cf8fe777ebe932f4229656ed2f1f995b06b6d..899738efc181cbd43d3b26803b0b7ac393b22aa9 100644 --- a/statistics/StatisticsUpdateCmdLineArgs.hpp +++ b/statistics/StatisticsUpdateCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/statistics/StatisticsUpdateCmdMain.cpp b/statistics/StatisticsUpdateCmdMain.cpp index d8df1fc752bc3c7794a36a12a14d77170caea9e6..dca9bdf629d9eb1231cc47aeb22d8cdfa6256fa9 100644 --- a/statistics/StatisticsUpdateCmdMain.cpp +++ b/statistics/StatisticsUpdateCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "StatisticsUpdateCmd.hpp" diff --git a/statistics/common_statistics_schema.sql b/statistics/common_statistics_schema.sql index 7f60ba12b2fd95601160e208dc109d4b641f876d..c00bf028716fd9e0e763a79f61b92d60ca05f8ed 100644 --- a/statistics/common_statistics_schema.sql +++ b/statistics/common_statistics_schema.sql @@ -18,4 +18,4 @@ CREATE TABLE FILE_STATISTICS ( NB_COPY_NB_GT_1_IN_BYTES UINT64TYPE CONSTRAINT FILE_STATISTICS_NCNG1IB_NN NOT NULL, UPDATE_TIME UINT64TYPE CONSTRAINT FILE_STATISTICS_UT_NN NOT NULL, CONSTRAINT FILE_STATISTICS_UT_PK PRIMARY KEY(UPDATE_TIME) -); \ No newline at end of file +); diff --git a/tapeserver/CMakeLists.txt b/tapeserver/CMakeLists.txt index 1cc4f8589ae660837bde40cf85d5145d8fee6ad0..8e94972cb38ccfde9feec7e0c0775006bba6664d 100644 --- a/tapeserver/CMakeLists.txt +++ b/tapeserver/CMakeLists.txt @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) # Old CASTOR's tapeserverd daemon code diff --git a/tapeserver/TPCONFIG.example b/tapeserver/TPCONFIG.example index 3e205920bee65e6bcb518791f4a728fb80f55e98..68fc58c46185a70ddab1cf1d1eaa32b06362d110 100644 --- a/tapeserver/TPCONFIG.example +++ b/tapeserver/TPCONFIG.example @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # Example of a tape configuration file (/etc/cta/TPCONFIG) # diff --git a/tapeserver/castor/CMakeLists.txt b/tapeserver/castor/CMakeLists.txt index 129a08e077335106fdf128388a6bb7f033268601..d92649da8ebdcd14b3692caea91ae57bc639f310 100644 --- a/tapeserver/castor/CMakeLists.txt +++ b/tapeserver/castor/CMakeLists.txt @@ -1,21 +1,17 @@ -# This file is part of the Castor project. -# See http://castor.web.cern.ch/castor +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2003 CERN -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# @author Castor Dev team, castor-dev@cern.ch +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) add_subdirectory (legacymsg) diff --git a/tapeserver/castor/legacymsg/CMakeLists.txt b/tapeserver/castor/legacymsg/CMakeLists.txt index ee3b5979a7877778e59869261e78d6b1fa233175..08daaf67d8912fb79bc9e67fb64b5e21bc12cb2d 100644 --- a/tapeserver/castor/legacymsg/CMakeLists.txt +++ b/tapeserver/castor/legacymsg/CMakeLists.txt @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories(${PROJECT_SOURCE_DIR}/tapeserver) diff --git a/tapeserver/castor/legacymsg/TapeConstants.h b/tapeserver/castor/legacymsg/TapeConstants.h index 43c2c05b1c720ed5091b7f6fb8d9da9acc0a039c..16e6f5c869933b845954303827b3761cb33708a6 100644 --- a/tapeserver/castor/legacymsg/TapeConstants.h +++ b/tapeserver/castor/legacymsg/TapeConstants.h @@ -1,3 +1,20 @@ +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + /* A collection of hopefully soon eliminated legacy constants */ @@ -29,4 +46,4 @@ #define MSG_OUT 0 #define MSG_ERR 1 #define MSG_DATA 2 -#define TAPERC 3 \ No newline at end of file +#define TAPERC 3 diff --git a/tapeserver/castor/legacymsg/TapeLabelRqstMsgBody.cpp b/tapeserver/castor/legacymsg/TapeLabelRqstMsgBody.cpp index bf31406961f33c962f6ad8087ff9da161d156aea..349374244c1d5ea33305ed264060c32ff46679b5 100644 --- a/tapeserver/castor/legacymsg/TapeLabelRqstMsgBody.cpp +++ b/tapeserver/castor/legacymsg/TapeLabelRqstMsgBody.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/legacymsg/TapeLabelRqstMsgBody.hpp" diff --git a/tapeserver/castor/legacymsg/TapeLabelRqstMsgBody.hpp b/tapeserver/castor/legacymsg/TapeLabelRqstMsgBody.hpp index 142b64b6aeaaf2481cfefd7139ae57884cef7eeb..48bbe1998f60bb2f87fe8a6e22c416a9e6fa6b5f 100644 --- a/tapeserver/castor/legacymsg/TapeLabelRqstMsgBody.hpp +++ b/tapeserver/castor/legacymsg/TapeLabelRqstMsgBody.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/messages/AddLogParams.proto b/tapeserver/castor/messages/AddLogParams.proto index 37c3ab4629cf1c3ca29d0b38b44db4911f5ef6b9..07cf967a8e774136ce482cc13d459523589feb83 100644 --- a/tapeserver/castor/messages/AddLogParams.proto +++ b/tapeserver/castor/messages/AddLogParams.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/ArchiveJobFromCTA.proto b/tapeserver/castor/messages/ArchiveJobFromCTA.proto index edf178d7ac684a673d1de2e0426d444aefd51cee..d26de43e30a3b58294a90cdf4ad6a583d5d8d30b 100644 --- a/tapeserver/castor/messages/ArchiveJobFromCTA.proto +++ b/tapeserver/castor/messages/ArchiveJobFromCTA.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/CMakeLists.txt b/tapeserver/castor/messages/CMakeLists.txt index 7d9200889addf0c23dc4c383afbe32b01a37113b..fde2e0c2218760477eb65f03fde6101c1e5113b7 100644 --- a/tapeserver/castor/messages/CMakeLists.txt +++ b/tapeserver/castor/messages/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive(CTA) project -# Copyright(C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) diff --git a/tapeserver/castor/messages/Constants.cpp b/tapeserver/castor/messages/Constants.cpp index e5004756d91c5a17f0164f7d3e51d9f1830be3eb..2da6cbb341aa7efb2234b5cba57cc96428b1f028 100644 --- a/tapeserver/castor/messages/Constants.cpp +++ b/tapeserver/castor/messages/Constants.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/messages/Constants.hpp" diff --git a/tapeserver/castor/messages/Constants.hpp b/tapeserver/castor/messages/Constants.hpp index d33a7f9cb6fb3d2e0bec6dc9b0598d9d0a89fa0c..3e4828364d1026d205a0e67df16d7b8da259ef1f 100644 --- a/tapeserver/castor/messages/Constants.hpp +++ b/tapeserver/castor/messages/Constants.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/messages/DeleteLogParams.proto b/tapeserver/castor/messages/DeleteLogParams.proto index b5c55ec20432bdcc143cd8e3abfb1f6ca79f2c14..42d2983e62f59e610037ebb99f2c49220962b70e 100644 --- a/tapeserver/castor/messages/DeleteLogParams.proto +++ b/tapeserver/castor/messages/DeleteLogParams.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/Exception.proto b/tapeserver/castor/messages/Exception.proto index 6745e10706987b18b8433815230a30c757c0f024..684d12e49b84d86d8279d5d163a744905c466208 100644 --- a/tapeserver/castor/messages/Exception.proto +++ b/tapeserver/castor/messages/Exception.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/ForkCleaner.proto b/tapeserver/castor/messages/ForkCleaner.proto index 308808094f05b69aded09ef017b7443f4ceb47e0..c2d20cfbf25809fca3d5a00284209b94c5de869f 100644 --- a/tapeserver/castor/messages/ForkCleaner.proto +++ b/tapeserver/castor/messages/ForkCleaner.proto @@ -1,22 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// -// -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/ForkDataTransfer.proto b/tapeserver/castor/messages/ForkDataTransfer.proto index 928efb62c61423dcd4845d076286e0a930a0c830..c08ba80a43cc0e32572db4cab3ca35e195e61700 100644 --- a/tapeserver/castor/messages/ForkDataTransfer.proto +++ b/tapeserver/castor/messages/ForkDataTransfer.proto @@ -1,22 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// -// -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/ForkLabel.proto b/tapeserver/castor/messages/ForkLabel.proto index a514404913d2731b934578f6dc40295ad5085918..3a0bd96fdf6067340d33afb594110961cd135a37 100644 --- a/tapeserver/castor/messages/ForkLabel.proto +++ b/tapeserver/castor/messages/ForkLabel.proto @@ -1,22 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// -// -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/ForkSucceeded.proto b/tapeserver/castor/messages/ForkSucceeded.proto index 7173286ddee75b7e4b176fdcb1b2d2b3e661176a..c92ba7c7316a980ff221f77a4b31b46d3af23a4a 100644 --- a/tapeserver/castor/messages/ForkSucceeded.proto +++ b/tapeserver/castor/messages/ForkSucceeded.proto @@ -1,22 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// -// -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/Frame.cpp b/tapeserver/castor/messages/Frame.cpp index bf9428c8041d873b8a8bc6d16c1bcf06bdb3615b..0aa2cd3c73f9de24a131920161d927ea22cea01e 100644 --- a/tapeserver/castor/messages/Frame.cpp +++ b/tapeserver/castor/messages/Frame.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/messages/Constants.hpp" #include "castor/messages/Frame.hpp" diff --git a/tapeserver/castor/messages/Frame.hpp b/tapeserver/castor/messages/Frame.hpp index ea3831b0e580b6afabb6e8cfdbf4026928729ab0..670ea6f61b7166b3f54a895b06a7eee24d6600e8 100644 --- a/tapeserver/castor/messages/Frame.hpp +++ b/tapeserver/castor/messages/Frame.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/messages/Header.proto b/tapeserver/castor/messages/Header.proto index e20567fb6c52226b3bf9805946ed192a259e6c3a..40fd78d0c178efdc5d500829c093953ed754b287 100644 --- a/tapeserver/castor/messages/Header.proto +++ b/tapeserver/castor/messages/Header.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; @@ -31,10 +28,10 @@ message Header { required uint32 msgtype = 4; //will it be hardcoded to SHA1 ? - required string bodyhashtype = 5; + required string bodyhashtype = 5; required string bodyhashValue = 6; - - required string bodysignaturetype= 7; - required string bodysignature = 8; + + required string bodysignaturetype= 7; + required string bodysignature = 8; } diff --git a/tapeserver/castor/messages/Heartbeat.proto b/tapeserver/castor/messages/Heartbeat.proto index 36685f022794e9b8514ad88a82d4f5089c700876..af4ec5646f02979605a508bdf1da04607a640430 100644 --- a/tapeserver/castor/messages/Heartbeat.proto +++ b/tapeserver/castor/messages/Heartbeat.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/LabelError.proto b/tapeserver/castor/messages/LabelError.proto index 002d71cce3048253071249a51ba9aa1b14b86cc5..05b12f4e6c71ca1173ba73f86d6397ef3d589e5f 100644 --- a/tapeserver/castor/messages/LabelError.proto +++ b/tapeserver/castor/messages/LabelError.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/NbFilesOnTape.proto b/tapeserver/castor/messages/NbFilesOnTape.proto index 79b871ce5846a9fd082123cb696cab36d6880e4a..b46abed52e8cbe8dcb520d7c9e1fadf130f91b35 100644 --- a/tapeserver/castor/messages/NbFilesOnTape.proto +++ b/tapeserver/castor/messages/NbFilesOnTape.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/ProcessCrashed.proto b/tapeserver/castor/messages/ProcessCrashed.proto index bd340084b40a3a22457efede6a3613c2e0455d5d..7434f6ac6466cd055288336d660d44f75c97e8ea 100644 --- a/tapeserver/castor/messages/ProcessCrashed.proto +++ b/tapeserver/castor/messages/ProcessCrashed.proto @@ -1,22 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// -// -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/ProcessExited.proto b/tapeserver/castor/messages/ProcessExited.proto index ea04c25852dca1e774f8043d2585617d3b2b36fb..9134d23b6f6faacc040e6f9c35c409e02b466a34 100644 --- a/tapeserver/castor/messages/ProcessExited.proto +++ b/tapeserver/castor/messages/ProcessExited.proto @@ -1,22 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// -// -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/README b/tapeserver/castor/messages/README index b09f58c7ae62a8e70eede1a21fccb8acb2061a08..e43b56d4814085ca6a053b4a1f46c3524bfb15a1 100644 --- a/tapeserver/castor/messages/README +++ b/tapeserver/castor/messages/README @@ -1,34 +1,27 @@ /****************************************************************************** - * messages/README - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch +* @project The CERN Tape Archive (CTA) +* @copyright Copyright(C) 2021 CERN +* @license This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. *****************************************************************************/ Castor messages for internal communication are now described using Google's API protocol buffers. -For writing a message, I let you look at the documentation +For writing a message, I let you look at the documentation https://developers.google.com/protocol-buffers/docs/cpptutorial or at the existing messages. The syntax is fairly obvious. Transforming those messages into C++ code is done by cmake. You dont have to worry about it Files will be generated into the build directory in castor/messages -Cmake also takes care of adding the new files into the library for linking it with -the others parts of Castor +Cmake also takes care of adding the new files into the library for linking it with +the others parts of Castor diff --git a/tapeserver/castor/messages/RetrieveJobFromCTA.proto b/tapeserver/castor/messages/RetrieveJobFromCTA.proto index c8885d303d94183459853a7ab0af9c3d5b933c4a..4810a2f4447edae49f87cfd58fb276c60db7a225 100644 --- a/tapeserver/castor/messages/RetrieveJobFromCTA.proto +++ b/tapeserver/castor/messages/RetrieveJobFromCTA.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/ReturnValue.proto b/tapeserver/castor/messages/ReturnValue.proto index 39f5d42b9ecb2ef6f6db0398e5e6e89cfee6b3fb..48f2c6a114a25b56fc5b53f2eb2963f141f0698d 100644 --- a/tapeserver/castor/messages/ReturnValue.proto +++ b/tapeserver/castor/messages/ReturnValue.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/StopProcessForker.proto b/tapeserver/castor/messages/StopProcessForker.proto index 61489eafea200724e5f15b4adb83c74511131a66..0d5820424c634f9686beaeeee88ca8001a0824bc 100644 --- a/tapeserver/castor/messages/StopProcessForker.proto +++ b/tapeserver/castor/messages/StopProcessForker.proto @@ -1,22 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// -// -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/TapeMountedForMigration.proto b/tapeserver/castor/messages/TapeMountedForMigration.proto index 66fb61b615340cd3283a2e422486e7ddad34685a..64ed7f155cfba4f7c61a7581f3ed6d88cdf6652f 100644 --- a/tapeserver/castor/messages/TapeMountedForMigration.proto +++ b/tapeserver/castor/messages/TapeMountedForMigration.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/TapeMountedForRecall.proto b/tapeserver/castor/messages/TapeMountedForRecall.proto index 265ab2807110183f9dcdb6a8bbed33eacc355cfe..b3f216c8bc3edf07352040fa1226366af595003e 100644 --- a/tapeserver/castor/messages/TapeMountedForRecall.proto +++ b/tapeserver/castor/messages/TapeMountedForRecall.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/TapeUnmountStarted.proto b/tapeserver/castor/messages/TapeUnmountStarted.proto index 48e37dea765f0440d8e506a35f3db67651647552..b20adbf7628d25b6334b94623c8547cdbe5ec8dc 100644 --- a/tapeserver/castor/messages/TapeUnmountStarted.proto +++ b/tapeserver/castor/messages/TapeUnmountStarted.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/TapeUnmounted.proto b/tapeserver/castor/messages/TapeUnmounted.proto index 09136d2a483220908ef7a9c291e5e27b645541d4..d1fac956e9870681b36dabae9b8cba635ca76d39 100644 --- a/tapeserver/castor/messages/TapeUnmounted.proto +++ b/tapeserver/castor/messages/TapeUnmounted.proto @@ -1,20 +1,17 @@ -// This file is part of the Castor project. -// See http://castor.web.cern.ch/castor +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2003-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// Copyright (C) 2003 CERN -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// @author Castor Dev team, castor-dev@cern.ch +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package castor.messages; diff --git a/tapeserver/castor/messages/TapeserverProxyDummy.cpp b/tapeserver/castor/messages/TapeserverProxyDummy.cpp index 74ac13a71544a8f57f43ffdcda074cee5e8a422f..bb473cc264e1c6870d6015670a8ed53b1672565c 100644 --- a/tapeserver/castor/messages/TapeserverProxyDummy.cpp +++ b/tapeserver/castor/messages/TapeserverProxyDummy.cpp @@ -1,23 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/messages/TapeserverProxyDummy.hpp" diff --git a/tapeserver/castor/messages/TapeserverProxyDummy.hpp b/tapeserver/castor/messages/TapeserverProxyDummy.hpp index 5f1b5e5dab2dcefe1ac3a882e99a8bed123aa80f..29d64ef8e39616ac2e6fc3f1c6d40d87401bd045 100644 --- a/tapeserver/castor/messages/TapeserverProxyDummy.hpp +++ b/tapeserver/castor/messages/TapeserverProxyDummy.hpp @@ -1,23 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/messages/messages.cpp b/tapeserver/castor/messages/messages.cpp index e15871702b1e4bc04a0d057b472991f747158bbb..b70c213581392c26b6091e18fa30dbef27ed7039 100644 --- a/tapeserver/castor/messages/messages.cpp +++ b/tapeserver/castor/messages/messages.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/messages/messages.hpp" #include "common/utils/utils.hpp" diff --git a/tapeserver/castor/messages/messages.hpp b/tapeserver/castor/messages/messages.hpp index ea8b0e49353bd1c33e3cb535498d784ecad72e45..13f8980dff46656ab327181207ffc54b7e6af300 100644 --- a/tapeserver/castor/messages/messages.hpp +++ b/tapeserver/castor/messages/messages.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/CMakeLists.txt b/tapeserver/castor/tape/CMakeLists.txt index 3a487b800b78a190be7199b75489c9e847b04a6c..f87ad7ec2b303cec2871159fcad029f1ce7b7dea 100644 --- a/tapeserver/castor/tape/CMakeLists.txt +++ b/tapeserver/castor/tape/CMakeLists.txt @@ -1,24 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# castor/tape/CMakeLists.txt -# -# This file is part of the Castor project. -# See http://castor.web.cern.ch/castor -# -# Copyright (C) 2003 CERN -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# @author Castor Dev team, castor-dev@cern.ch +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) add_subdirectory (tapeserver) diff --git a/tapeserver/castor/tape/Constants.hpp b/tapeserver/castor/tape/Constants.hpp index 8d3fecd73fd8ab29cbf6a08dc758ef2777bb4b30..354e68dff7505b0aee7a2bcb40aab999288734c1 100644 --- a/tapeserver/castor/tape/Constants.hpp +++ b/tapeserver/castor/tape/Constants.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/doc/class_diagrams/generatesvgs.sh b/tapeserver/castor/tape/doc/class_diagrams/generatesvgs.sh index 7150c8e0e54c3efbd5f7322c70381ee29e1b614d..1a37dc5aafa712999a81560088b22a4dccccd5a6 100755 --- a/tapeserver/castor/tape/doc/class_diagrams/generatesvgs.sh +++ b/tapeserver/castor/tape/doc/class_diagrams/generatesvgs.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + if test "x$UMLGRAPH_HOME" = x; then echo "Error: The environment variable UMLGRAPH_HOME is not set" echo diff --git a/tapeserver/castor/tape/doc/collaboration_diagrams/generatesvgs.sh b/tapeserver/castor/tape/doc/collaboration_diagrams/generatesvgs.sh index 35f89c964db5cabdb9b8b98558418e2280bf8ec0..e68d220a8ba69beb5e19bda4f48c822421fdbeba 100755 --- a/tapeserver/castor/tape/doc/collaboration_diagrams/generatesvgs.sh +++ b/tapeserver/castor/tape/doc/collaboration_diagrams/generatesvgs.sh @@ -1,5 +1,20 @@ #!/bin/sh +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + if test "x$CASTOR_SRC" = x; then echo "Error: The environment variable CASTOR_SRC is not set" echo diff --git a/tapeserver/castor/tape/doc/dependency_diagrams/generatesvgs.sh b/tapeserver/castor/tape/doc/dependency_diagrams/generatesvgs.sh index 0a27149d272569629fe6be13ac176cdf4ecaaddd..e20e519c09f30feaf528acb08407341b0e6ff29c 100755 --- a/tapeserver/castor/tape/doc/dependency_diagrams/generatesvgs.sh +++ b/tapeserver/castor/tape/doc/dependency_diagrams/generatesvgs.sh @@ -1,5 +1,20 @@ #!/bin/sh +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + if test "x$CASTOR_SRC" = x; then echo "Error: The environment variable CASTOR_SRC is not set" echo diff --git a/tapeserver/castor/tape/doc/fstns/generatepdfs.sh b/tapeserver/castor/tape/doc/fstns/generatepdfs.sh index 612a9e7dcc6d86e23a4a507e38d1536e9fc96c94..810c1512000bf3901cd3e765496260618a3865a4 100755 --- a/tapeserver/castor/tape/doc/fstns/generatepdfs.sh +++ b/tapeserver/castor/tape/doc/fstns/generatepdfs.sh @@ -1,5 +1,20 @@ #!/bin/sh +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + if test "x$CASTOR_SRC" = x; then echo "Error: The environment variable CASTOR_SRC is not set" echo diff --git a/tapeserver/castor/tape/doc/sequence_diagrams/generatesvgs.sh b/tapeserver/castor/tape/doc/sequence_diagrams/generatesvgs.sh index f612f332a407ab0b5c9d0791a61c43816eba2d4e..cd1065dffcd6cc0866f391af5ef8b01e7f1922be 100755 --- a/tapeserver/castor/tape/doc/sequence_diagrams/generatesvgs.sh +++ b/tapeserver/castor/tape/doc/sequence_diagrams/generatesvgs.sh @@ -1,5 +1,20 @@ #!/bin/sh +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + if test "x$CASTOR_SRC" = x; then echo "Error: The environment variable CASTOR_SRC is not set" echo diff --git a/tapeserver/castor/tape/tapeserver/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/CMakeLists.txt index 9a73c25155cff2d7a70544224abdb7dc8bf5349a..2cbe220f0650038e73cc08c5734115cab897c0d0 100644 --- a/tapeserver/castor/tape/tapeserver/CMakeLists.txt +++ b/tapeserver/castor/tape/tapeserver/CMakeLists.txt @@ -1,20 +1,17 @@ -# ************************************************************************ -# * Tape Server * -# * Copyright (C) 2013 CERN/Switzerland * -# * * -# * This program is free software: you can redistribute it and/or modify * -# * it under the terms of the GNU General Public License as published by * -# * the Free Software Foundation, either version 3 of the License, or * -# * (at your option) any later version. * -# * * -# * This program is distributed in the hope that it will be useful, * -# * but WITHOUT ANY WARRANTY; without even the implied warranty of * -# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -# * GNU General Public License for more details. * -# * * -# * You should have received a copy of the GNU General Public License * -# * along with this program. If not, see <http://www.gnu.org/licenses/>.* -# ************************************************************************ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2013-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) ########################################################################### @@ -45,4 +42,3 @@ add_subdirectory(RAO) # .. and of course, the tests (last to use the variable definition) add_subdirectory(test) - diff --git a/tapeserver/castor/tape/tapeserver/RAO/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/RAO/CMakeLists.txt index 4ec446390dbdf4d7528502ad089e0634fa93f06e..1b67533643a75eeec28b2f5e30a9d6b8ea1e70fe 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/CMakeLists.txt +++ b/tapeserver/castor/tape/tapeserver/RAO/CMakeLists.txt @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories(${PROJECT_SOURCE_DIR}/tapeserver) @@ -40,4 +54,4 @@ add_library(ctatapeserverraounittests SHARED set_property(TARGET ctatapeserverraounittests PROPERTY SOVERSION "${CTA_SOVERSION}") set_property(TARGET ctatapeserverraounittests PROPERTY VERSION "${CTA_LIBVERSION}") -install(TARGETS ctatapeserverraounittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR}) \ No newline at end of file +install(TARGETS ctatapeserverraounittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR}) diff --git a/tapeserver/castor/tape/tapeserver/RAO/CTACostHeuristic.cpp b/tapeserver/castor/tape/tapeserver/RAO/CTACostHeuristic.cpp index 3e064e5480f3106c95dcc786fb077250cd0ebeb8..dbd8352e727fa87a5b129570532913ba295fc7da 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/CTACostHeuristic.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/CTACostHeuristic.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "CTACostHeuristic.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/CTACostHeuristic.hpp b/tapeserver/castor/tape/tapeserver/RAO/CTACostHeuristic.hpp index 7319f2a9b0abb6a61d0c4924e26217e6c7abc000..a68669f6da3d2f32140ad826bf1772869aed42dd 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/CTACostHeuristic.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/CTACostHeuristic.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/ConfigurableRAOAlgorithmFactory.cpp b/tapeserver/castor/tape/tapeserver/RAO/ConfigurableRAOAlgorithmFactory.cpp index c45e01a9859c4395e91fda2e17f9b98948bf0e67..bee927dcfea13e17bf15bd0cec23b2cd5b0145f1 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/ConfigurableRAOAlgorithmFactory.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/ConfigurableRAOAlgorithmFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/tapeserver/castor/tape/tapeserver/RAO/ConfigurableRAOAlgorithmFactory.hpp b/tapeserver/castor/tape/tapeserver/RAO/ConfigurableRAOAlgorithmFactory.hpp index 1d92e046f5b1ce61b807cac085669b2d4714c258..df478f2c50ad529218836f22e61d6ae34923423b 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/ConfigurableRAOAlgorithmFactory.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/ConfigurableRAOAlgorithmFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/CostHeuristic.cpp b/tapeserver/castor/tape/tapeserver/RAO/CostHeuristic.cpp index b945103160eeb64c0b45d4f5d5008a8be20e2f7f..9459c685d8c3c199b7d1519c22913cc860db9cad 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/CostHeuristic.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/CostHeuristic.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "CostHeuristic.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/CostHeuristic.hpp b/tapeserver/castor/tape/tapeserver/RAO/CostHeuristic.hpp index 20eb7da9fcbe85c22724b8804eb141fda017bdd5..3ed88cad7d191df031014579270d193a7a4423a0 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/CostHeuristic.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/CostHeuristic.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/CostHeuristicFactory.cpp b/tapeserver/castor/tape/tapeserver/RAO/CostHeuristicFactory.cpp index ec83a2c16ab4c2b595094d5e63636d0f0179998c..3454af9c68007da3a6b5e10b06ec57207a7b1e53 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/CostHeuristicFactory.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/CostHeuristicFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "CostHeuristicFactory.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/CostHeuristicFactory.hpp b/tapeserver/castor/tape/tapeserver/RAO/CostHeuristicFactory.hpp index 12f1a267dd98679a0ff8d76f2de24ae90e78a736..7f022357f01da2a4eeef09238dfda88da4c73876 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/CostHeuristicFactory.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/CostHeuristicFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithm.cpp b/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithm.cpp index 84bcd0d4f3bc0ac6e7d9747e59866f2a9d0a7053..2c22ae4fb921923fec3eb8263984d47e3070aa6f 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithm.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithm.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <list> diff --git a/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithm.hpp b/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithm.hpp index 494181e38aed9de0ef386cfb799c78ad6cab19d3..14693745f1dff38d73444bc525adb01c05bc98fd 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithm.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithm.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithmFactory.cpp b/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithmFactory.cpp index 29e884a8e9b4096c3d7a5155e45ac8bcd7291003..37d8424880e75088ef64c6a11142942430d291f5 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithmFactory.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithmFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "EnterpriseRAOAlgorithmFactory.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithmFactory.hpp b/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithmFactory.hpp index 956a369994ef81848bf27292f3f2be4136264887..da58fd8fe0833cc2346c6a07c2fac6ecd82d878c 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithmFactory.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/EnterpriseRAOAlgorithmFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimator.cpp b/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimator.cpp index 744fe829a250c5e3864672d9ae89b5c8282bfe12..330c8d6775d8c2c3373ed258762bc652160384e6 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimator.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimator.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "FilePositionEstimator.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimator.hpp b/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimator.hpp index 599b419533e8de84c11f61c06c7642cae9618951..cc61f62fdfabe2d1af1558f44d3573adca00387a 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimator.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimator.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimatorFactory.cpp b/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimatorFactory.cpp index 3163bb44c7b2e92d1851537c233b58d3f290302d..1a6689cbe1c22c28effbd5f95aab3549da62cca5 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimatorFactory.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimatorFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "FilePositionEstimatorFactory.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimatorFactory.hpp b/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimatorFactory.hpp index 9491b9ba6b68ca741b1d5de7477a81159fd63bc0..6f12dd4c77c8480585b28c86e6151395db2672cb 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimatorFactory.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/FilePositionEstimatorFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/FilePositionInfos.cpp b/tapeserver/castor/tape/tapeserver/RAO/FilePositionInfos.cpp index c30654499a6c82db247ef11c85626f70782cd360..60e58425666ece9e2522dbaa19315728565e5c93 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/FilePositionInfos.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/FilePositionInfos.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "FilePositionInfos.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/FilePositionInfos.hpp b/tapeserver/castor/tape/tapeserver/RAO/FilePositionInfos.hpp index 506f9cb52e16067d106ff72b4bc46e01d9ae1a09..df55cb7dbaf5ff6bdfb34a659bb8c8f59ea634b4 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/FilePositionInfos.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/FilePositionInfos.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/InterpolationFilePositionEstimator.cpp b/tapeserver/castor/tape/tapeserver/RAO/InterpolationFilePositionEstimator.cpp index cb4408ba7f383c99e7e59be12003ee6e8a24140e..cfba927800c6e255194343f89cbc9bf1dea75c63 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/InterpolationFilePositionEstimator.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/InterpolationFilePositionEstimator.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "InterpolationFilePositionEstimator.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/InterpolationFilePositionEstimator.hpp b/tapeserver/castor/tape/tapeserver/RAO/InterpolationFilePositionEstimator.hpp index a4e9034727140c574b25c1326fd8a31c8c18af1b..062e51f251af50598ea9d73e032dacf71a16a811 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/InterpolationFilePositionEstimator.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/InterpolationFilePositionEstimator.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/LinearRAOAlgorithm.cpp b/tapeserver/castor/tape/tapeserver/RAO/LinearRAOAlgorithm.cpp index c6751fb80e1e8b2156e8791a73e842a53b24b8db..6766c9a6297c7ab036e6c54191bb3f4de754cd23 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/LinearRAOAlgorithm.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/LinearRAOAlgorithm.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <algorithm> diff --git a/tapeserver/castor/tape/tapeserver/RAO/LinearRAOAlgorithm.hpp b/tapeserver/castor/tape/tapeserver/RAO/LinearRAOAlgorithm.hpp index 5cbccaf1cd3074faef1b3607fe13fab94624afe2..191785110bd61166e11e0d32b4880e61b59dc651 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/LinearRAOAlgorithm.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/LinearRAOAlgorithm.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/NonConfigurableRAOAlgorithmFactory.cpp b/tapeserver/castor/tape/tapeserver/RAO/NonConfigurableRAOAlgorithmFactory.cpp index 75975bfcef0cd4e0984da58082f7e6a7da19db8f..a804124fd23de39591f02a3b778b05355b5f7041 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/NonConfigurableRAOAlgorithmFactory.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/NonConfigurableRAOAlgorithmFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "NonConfigurableRAOAlgorithmFactory.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/NonConfigurableRAOAlgorithmFactory.hpp b/tapeserver/castor/tape/tapeserver/RAO/NonConfigurableRAOAlgorithmFactory.hpp index 7966e3b898b2b1b537318d78dd06a5bd55e79398..08ff6d0ee2d91dbc703b6884639cef6e325e909b 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/NonConfigurableRAOAlgorithmFactory.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/NonConfigurableRAOAlgorithmFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/Position.cpp b/tapeserver/castor/tape/tapeserver/RAO/Position.cpp index 84de7e0f457b87c591f3f69742369b11a1c5ace3..985f717cae81a7401c77b355f903fc1d3c728503 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/Position.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/Position.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "Position.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/Position.hpp b/tapeserver/castor/tape/tapeserver/RAO/Position.hpp index a14f62b3944b74dfe35dc1ebb13580f392ec5f7e..391d7f5ae48f9d4f0290505001efa13af7f5b643 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/Position.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/Position.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithm.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithm.cpp index 83802733ea1d3c6cfea132fc358327a8199cd9bd..4eb3d789f0b16aecbb05c77964d723a3e2bd5325 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithm.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithm.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RAOAlgorithm.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithm.hpp b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithm.hpp index 62cbd769d0043da9f73449d6d76494c4f8620ed9..13f1ead9926574c669aaf9b23e97e4721b04ea5a 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithm.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithm.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactory.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactory.cpp index 6e6e4ed5d71813d9e8e8808cd821ae0ed5f876b3..09c7dec3e7978b1f07588d9df5e367fbfd0dc381 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactory.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactory.hpp b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactory.hpp index 462e43b11b6428adccff55731a5dd20315592874..bfd2d968d7db8f132eab3f3dbe5d403b4e3418e2 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactory.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactoryFactory.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactoryFactory.cpp index df783ba281205b53c0b44394f197d98f730ae383..907e06f8dd21351d5eaff30ed60404a4a645fbaf 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactoryFactory.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactoryFactory.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactoryFactory.hpp b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactoryFactory.hpp index 5f6d605cf1dc0a20d5051fee490da6ae72637b8d..05ffa07b508bfda0a3daf419ea263dddeb6d2d22 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactoryFactory.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOAlgorithmFactoryFactory.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOFile.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOFile.cpp index 4fa73a063edd8ad0064f221a8dcf22c3cd0d354e..ebfd610bbd51f981d514d64533074cb3d9775be1 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOFile.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOFile.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RAOFile.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOFile.hpp b/tapeserver/castor/tape/tapeserver/RAO/RAOFile.hpp index 6e716797b26754265a32a7fa8bd8930e0a23f38d..6221cb5ef3492e612fee399669bf2e8a86f78198 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOFile.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOFile.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOHelpers.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOHelpers.cpp index 73b81d44d23e821ce9828b4718955ac2d48bb56e..094dabfa6a2765677084b3886d7fbdab21d0e272 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOHelpers.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOHelpers.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RAOHelpers.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOHelpers.hpp b/tapeserver/castor/tape/tapeserver/RAO/RAOHelpers.hpp index 8e202aa2f20e3d8b40ea5d5f1a2da2026496830f..15c2f1027f315b1dce83b6e657463fc6089a6c17 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOHelpers.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOHelpers.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOManager.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOManager.cpp index 2a9ae83c3f235f60add39dfa0008e539e5d2d74f..f95b48dcbf33af7b9d4d583fded79a9a363a357b 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOManager.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOManager.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOManager.hpp b/tapeserver/castor/tape/tapeserver/RAO/RAOManager.hpp index 26ac7b910bd6a6235f89f83c1eb708b877a5b501..54b550a1b7264af6df70b11e6def8e927a9a4883 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOManager.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOManager.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOOptions.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOOptions.cpp index 90056e1ff71af12a41da466371c323dbf97c908c..bddafe294c3fc48e5acc573723987311ccc8f51e 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOOptions.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOOptions.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RAOOptions.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOOptions.hpp b/tapeserver/castor/tape/tapeserver/RAO/RAOOptions.hpp index 4e6452c8d06641379feed8ebcad4f381acdd72c1..e8ba6679dd67503b87d7bc1794d898c728e514b0 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOOptions.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOOptions.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOParams.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOParams.cpp index 3d847c0f5248287fe6912fb30c366b692ca9698e..05f733ac0939e9dfe64392cfd09988dae57995af 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOParams.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOParams.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RAOParams.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOParams.hpp b/tapeserver/castor/tape/tapeserver/RAO/RAOParams.hpp index d231156f12e2ec2771c968c9fd82fa67db316d11..20a10ee8b0d1505c767b50d23ba3e1e804229b03 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOParams.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOParams.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/RAOTest.cpp b/tapeserver/castor/tape/tapeserver/RAO/RAOTest.cpp index 436fc4832dcf4daabf39ca8a7a657dc6332e0b27..107e6d29d9c060fbc9ec796148faf639d0ec51e5 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RAOTest.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RAOTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/tapeserver/castor/tape/tapeserver/RAO/RandomRAOAlgorithm.cpp b/tapeserver/castor/tape/tapeserver/RAO/RandomRAOAlgorithm.cpp index bc3faff7a157220d7ac15a5401bea1d56a8b0b16..0ba0dcd3c972e0159bbceea510d78d2ee99ba053 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RandomRAOAlgorithm.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RandomRAOAlgorithm.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "RandomRAOAlgorithm.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/RandomRAOAlgorithm.hpp b/tapeserver/castor/tape/tapeserver/RAO/RandomRAOAlgorithm.hpp index 0ba567540f87deade935610901366ec17cc42c25..a3ff66a04716f934d477ea09f3e3d81ca19c442e 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/RandomRAOAlgorithm.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/RandomRAOAlgorithm.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/RAO/SLTFRAOAlgorithm.cpp b/tapeserver/castor/tape/tapeserver/RAO/SLTFRAOAlgorithm.cpp index 356a282a31f81ef75a82b4acc4486d3ea0a91c18..2e1f80e4a952aebd173f79b251d2bea220fc2078 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/SLTFRAOAlgorithm.cpp +++ b/tapeserver/castor/tape/tapeserver/RAO/SLTFRAOAlgorithm.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SLTFRAOAlgorithm.hpp" diff --git a/tapeserver/castor/tape/tapeserver/RAO/SLTFRAOAlgorithm.hpp b/tapeserver/castor/tape/tapeserver/RAO/SLTFRAOAlgorithm.hpp index 79c89297a3b13dfd3c6a69c1767067329925d966..c2de089db051100cef7fafc900a9981b888f0d75 100644 --- a/tapeserver/castor/tape/tapeserver/RAO/SLTFRAOAlgorithm.hpp +++ b/tapeserver/castor/tape/tapeserver/RAO/SLTFRAOAlgorithm.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/SCSI/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/SCSI/CMakeLists.txt index 3c6dc04768de37a0ca1c35bca168bb798d88c7a0..c1f124fd8288010d6feb18e346db44070aedadd4 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/CMakeLists.txt +++ b/tapeserver/castor/tape/tapeserver/SCSI/CMakeLists.txt @@ -1,22 +1,17 @@ -# This file is part of the Castor project. -# See http://castor.web.cern.ch/castor +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2003 CERN -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# -# @author Castor Dev team, castor-dev@cern.ch +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories(${CMAKE_SOURCE_DIR}/tapeserver) diff --git a/tapeserver/castor/tape/tapeserver/SCSI/Constants.cpp b/tapeserver/castor/tape/tapeserver/SCSI/Constants.cpp index 02783a21c535a6de067184775c638d9711f59b6f..ccd81d40f1603c281e1a816ca213b3bdc4c8d6a3 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/Constants.cpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/Constants.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "Constants.hpp" #include <sstream> diff --git a/tapeserver/castor/tape/tapeserver/SCSI/Constants.hpp b/tapeserver/castor/tape/tapeserver/SCSI/Constants.hpp index 0d7ca45a6479e24f2097863f711f7b12b8896454..86d8a33f0d1100900614ae599b33b916408c7dd8 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/Constants.hpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/Constants.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/SCSI/Device.cpp b/tapeserver/castor/tape/tapeserver/SCSI/Device.cpp index 81a7cf90d8493586d349309e51a9539bbef0d64c..c7e577972a1f50d7719084bc6c7c6fc816c063cb 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/Device.cpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/Device.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <cstdlib> #include <scsi/sg.h> diff --git a/tapeserver/castor/tape/tapeserver/SCSI/Device.hpp b/tapeserver/castor/tape/tapeserver/SCSI/Device.hpp index 9ad12c0f8cac25db32b9a24b462b00fe84aa5215..e6bd15b046065ed22c6ca1445bfd8945c6c7a8c8 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/Device.hpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/Device.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/SCSI/DeviceTest.cpp b/tapeserver/castor/tape/tapeserver/SCSI/DeviceTest.cpp index 25b5ed38cdbf574368ffdf49b36db14b02c3b8a9..440d54c0a7acc7eef67dcb634b7715b674e6630e 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/DeviceTest.cpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/DeviceTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <gtest/gtest.h> #include <gmock/gmock-cardinalities.h> diff --git a/tapeserver/castor/tape/tapeserver/SCSI/DumpTest.cpp b/tapeserver/castor/tape/tapeserver/SCSI/DumpTest.cpp index eeaafa0a0cf55fe8d9d7fb24eb1202f11b0f4824..a6e51177f3cf886e8280f6e2825973377073ca25 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/DumpTest.cpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/DumpTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ /** * Test main program. For development use. diff --git a/tapeserver/castor/tape/tapeserver/SCSI/Exception.cpp b/tapeserver/castor/tape/tapeserver/SCSI/Exception.cpp index f3326d0126f3f5bc6dd70ac9e4dac4410abb0d72..9241e1f79216479ba72f819188b2e4d593f73db0 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/Exception.cpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/Exception.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "Exception.hpp" diff --git a/tapeserver/castor/tape/tapeserver/SCSI/Exception.hpp b/tapeserver/castor/tape/tapeserver/SCSI/Exception.hpp index cedda33ae8d54980d6983b10d8d86953e73d08b1..93c2b979507836a046f695c2ce9fb1c13daf7425 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/Exception.hpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/Exception.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/Exception.hpp" #include "Structures.hpp" diff --git a/tapeserver/castor/tape/tapeserver/SCSI/Structures.cpp b/tapeserver/castor/tape/tapeserver/SCSI/Structures.cpp index 158c590aeff20c20d2eac445aa88951e749562ce..83f8ee847863866206cec84e98c8bc8b7c4d4ce8 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/Structures.cpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/Structures.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "Structures.hpp" diff --git a/tapeserver/castor/tape/tapeserver/SCSI/Structures.hpp b/tapeserver/castor/tape/tapeserver/SCSI/Structures.hpp index e40382fd1299e4eb37667a5847f3bb705b858598..9866afdc00f10ce3ff9b3762b5cbc0eb2f13e692 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/Structures.hpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/Structures.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/SCSI/StructuresTest.cpp b/tapeserver/castor/tape/tapeserver/SCSI/StructuresTest.cpp index 3f735321c06d816ef4f9e12eef8c9632a452f72b..543786f71bc88134d0aad0700f12d7becdc5b1bf 100644 --- a/tapeserver/castor/tape/tapeserver/SCSI/StructuresTest.cpp +++ b/tapeserver/castor/tape/tapeserver/SCSI/StructuresTest.cpp @@ -1,23 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <gtest/gtest.h> #include <gmock/gmock-cardinalities.h> diff --git a/tapeserver/castor/tape/tapeserver/TapeBridgeConstants.hpp b/tapeserver/castor/tape/tapeserver/TapeBridgeConstants.hpp index 9b7ea06e16f4201ff50e660a2cc729227547a6a1..a6892db6196b83ca2b585e3b53c0c509ad3970db 100644 --- a/tapeserver/castor/tape/tapeserver/TapeBridgeConstants.hpp +++ b/tapeserver/castor/tape/tapeserver/TapeBridgeConstants.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/AutoReleaseBlock.hpp b/tapeserver/castor/tape/tapeserver/daemon/AutoReleaseBlock.hpp index cc61162a6e3691641d5ae5690669ece43456ed52..f28cccbdda9e8c1389e062431f1d417506af14d8 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/AutoReleaseBlock.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/AutoReleaseBlock.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once #include <memory> diff --git a/tapeserver/castor/tape/tapeserver/daemon/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/daemon/CMakeLists.txt index 09fe5024d4177e1e4ff73c90d8f1102ca58f307f..ff8afec00245d6f4a2323b19d7ac0030578122e9 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/CMakeLists.txt +++ b/tapeserver/castor/tape/tapeserver/daemon/CMakeLists.txt @@ -1,22 +1,17 @@ -# This file is part of the Castor project. -# See http://castor.web.cern.ch/castor +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2003 CERN -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# -# @author Castor Dev team, castor-dev@cern.ch +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories(/usr/include/shift) @@ -42,11 +37,11 @@ set(CTATAPESERVERDAEMON_LIBRARY_SRCS TapeServerReporter.cpp LabelSession.cpp MigrationMemoryManager.cpp - MigrationReportPacker.cpp + MigrationReportPacker.cpp MigrationTaskInjector.cpp DataTransferSession.cpp RecallMemoryManager.cpp - RecallTaskInjector.cpp + RecallTaskInjector.cpp RecallReportPacker.cpp Session.cpp TapeReadSingleThread.cpp @@ -78,7 +73,7 @@ if(CMAKE_COMPILER_IS_GNUCC) endif(GCC_VERSION_GE_4_8_0) endif(CMAKE_COMPILER_IS_GNUCC) -add_library(ctaTapeServerDaemon +add_library(ctaTapeServerDaemon ${CTATAPESERVERDAEMON_LIBRARY_SRCS}) target_link_libraries(ctaTapeServerDaemon ctamessages ctacommon ${PROTOBUF3_LIBRARIES} ctascheduler ctalegacymsg ctacatalogue TapeDrive ctarao) diff --git a/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.cpp b/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.cpp index 30ef239b4dfbc79f208576486132d0f8b65ffe14..e1f720469ba3b91d0c423cf9334579b2ff4c7d71 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/CleanerSession.hpp" #include "catalogue/Catalogue.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.hpp b/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.hpp index 26ec33f9acadafa16719aaa5255ad527f85bdea4..7517e20249e5aca6ab3eaa1e6f5a565ce8ef5564 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/CleanerSession.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/Constants.hpp b/tapeserver/castor/tape/tapeserver/daemon/Constants.hpp index e2cd6bf0f72be114d18f3088b263bcc6487257a5..7b98cbd7b8cdf17b7e7abe02aaddde09fd10dbb6 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/Constants.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/Constants.hpp @@ -1,23 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DataConsumer.hpp b/tapeserver/castor/tape/tapeserver/daemon/DataConsumer.hpp index 97d4da4f1debca93a0e5223dc011fdf2e8c39213..668217b65d579b3512a754d7d25523674ce1163a 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DataConsumer.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DataConsumer.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DataPipeline.hpp b/tapeserver/castor/tape/tapeserver/daemon/DataPipeline.hpp index 483b7be21da65a9537fe215f5b8452d55790991f..3fa237737ababb0a6ef9c027e159c6839f1233d2 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DataPipeline.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DataPipeline.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DataTransferConfig.cpp b/tapeserver/castor/tape/tapeserver/daemon/DataTransferConfig.cpp index 73f1aafb5425f317aa45639f12e0e641424e430e..c441ae49fa0f33fb59e0ff6cbb2c96b93371a40c 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DataTransferConfig.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DataTransferConfig.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/DataTransferConfig.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/DataTransferConfig.hpp b/tapeserver/castor/tape/tapeserver/daemon/DataTransferConfig.hpp index cf82972cd95aa1ce3834c101e0d7b506959f2561..854b45390660aac38a94e6bc41398ac5f71cbd7e 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DataTransferConfig.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DataTransferConfig.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.cpp b/tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.cpp index f4acadfe27903814b1b9b9675bbce57353646b52..2e71c1146f89af56e889103e1ae15b320018caaa 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/log/Logger.hpp" #include "common/log/LogContext.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.hpp b/tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.hpp index f8f4956472d58ac5b725ed323cc58391e063637a..7a89dbc68230683ca430fd882f836e4ae42402c2 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DataTransferSessionTest.cpp b/tapeserver/castor/tape/tapeserver/daemon/DataTransferSessionTest.cpp index 973f54f93f5d9200971b3d2c2567c73e8341fa97..8fe5f7607f6127b33f319957810a4b076807a0e9 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DataTransferSessionTest.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DataTransferSessionTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #define __STDC_CONSTANT_MACROS // For using stdint macros (stdint is included // by inttypes.h, so we shoot first) diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskReadTask.cpp b/tapeserver/castor/tape/tapeserver/daemon/DiskReadTask.cpp index 61b5e0143e8c12431503472ee76d68ef38ba8c38..54b86ebc35de57ea6328409dd92e2f6c8924ccf1 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskReadTask.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskReadTask.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/log/LogContext.hpp" #include "castor/tape/tapeserver/daemon/DiskReadTask.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskReadTask.hpp b/tapeserver/castor/tape/tapeserver/daemon/DiskReadTask.hpp index 827daeb0fd191ea1afac635c7bbc1d2a09b027b6..10167ee9d2ac6a98ea9fff652ef6d5f839675a76 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskReadTask.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskReadTask.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskReadTaskTest.cpp b/tapeserver/castor/tape/tapeserver/daemon/DiskReadTaskTest.cpp index 2c47111575baa645b861f132b2184eee23df25fb..de78cd75cfe3f9445e3689950f0bb4058705d527 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskReadTaskTest.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskReadTaskTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/DiskReadTask.hpp" #include "castor/tape/tapeserver/daemon/DataConsumer.hpp" #include "castor/tape/tapeserver/daemon/MigrationMemoryManager.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskReadThreadPool.cpp b/tapeserver/castor/tape/tapeserver/daemon/DiskReadThreadPool.cpp index 52bcc6cef93d799fffe4ca29f128e963b35ddab4..6e5431d663d8879c9d80a2ddd030c139912eb660 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskReadThreadPool.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskReadThreadPool.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/DiskReadThreadPool.hpp" #include "castor/tape/tapeserver/daemon/MigrationTaskInjector.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskReadThreadPool.hpp b/tapeserver/castor/tape/tapeserver/daemon/DiskReadThreadPool.hpp index 6091b1373cb026ec6c61dbfc2328c7ad669d824b..86a0ea1bbc24ff499c2c7e48c0f4b23eff006171 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskReadThreadPool.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskReadThreadPool.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** - * DiskReadThreadPool.hpp +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskStats.hpp b/tapeserver/castor/tape/tapeserver/daemon/DiskStats.hpp index 51125e21cc202e85bf262ead92630c882535bba7..1cdca1f2e5e216ce1de7058ce967078e7f9f95c6 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskStats.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskStats.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2014 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTask.cpp b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTask.cpp index ee1f4ca5ed850281b37751bc1c66f6d4752bd2fe..32f9ee4c467de52315f46efbe7f9ef0f1fcba0e8 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTask.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTask.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/log/LogContext.hpp" #include "castor/tape/tapeserver/daemon/DiskWriteTask.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTask.hpp b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTask.hpp index 3aa3dff3fafb01a48fdbef40671f61d76b88e647..64c71aea94c83781f5a3f388ab9519421f00deb8 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTask.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTask.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTaskTest.cpp b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTaskTest.cpp index 75fd10fe4248c6b05b459c5d29ab7fef4a00bdb6..637b5ac4a8b02a31d06570ae55f3444c80a0d4d6 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTaskTest.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteTaskTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp" #include "castor/tape/tapeserver/daemon/RecallTaskInjector.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPool.cpp b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPool.cpp index 323307f0c90cedaef70336365aea1b8e719113b5..139d2470fd5c0c611d96ce46841cde434c28317f 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPool.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPool.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp" #include "common/Timer.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp index 148920f6271a37955aa466d6c50c5fb862851763..6e7e7d11a49bf09067b2f716fe2c64bd9532e34c 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPoolTest.cpp b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPoolTest.cpp index 0cfa804afcf17b086c71c6d30383ae067ff10788..8f0f29babc0abfe33172ac2030fc7d9cb401828d 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPoolTest.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/DiskWriteThreadPoolTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp" #include "castor/tape/tapeserver/daemon/RecallTaskInjector.hpp" #include "castor/tape/tapeserver/daemon/RecallReportPacker.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/EmptyDriveProbe.cpp b/tapeserver/castor/tape/tapeserver/daemon/EmptyDriveProbe.cpp index 4490eabb1aefa8d18462e62ad5a3f9ad9fda682d..3377f7c3a7a8dca0d6654b704b2f0b2acb3e1c4c 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/EmptyDriveProbe.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/EmptyDriveProbe.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/EmptyDriveProbe.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/EmptyDriveProbe.hpp b/tapeserver/castor/tape/tapeserver/daemon/EmptyDriveProbe.hpp index a744f9c45ad948a90594d5d9c3a78dba5f3d77e8..e4c33e90779339c002a981b280c7fa60599945b3 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/EmptyDriveProbe.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/EmptyDriveProbe.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/EncryptionControl.cpp b/tapeserver/castor/tape/tapeserver/daemon/EncryptionControl.cpp index d87be9839c653292e32c2627183c9c7eb5bffc2b..e1c7e65e2dcc94b73cea80de0a06266db4c4d7dd 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/EncryptionControl.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/EncryptionControl.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <memory> diff --git a/tapeserver/castor/tape/tapeserver/daemon/EncryptionControl.hpp b/tapeserver/castor/tape/tapeserver/daemon/EncryptionControl.hpp index e75aca27216d8879eb2076a68db3f300a6ea2715..ddc038fb1a2d3d00ff28c2b4e3767f8e1fb95738 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/EncryptionControl.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/EncryptionControl.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/ErrorFlag.hpp b/tapeserver/castor/tape/tapeserver/daemon/ErrorFlag.hpp index a791a2900b95edfbe11cdd7bfd7009e85da3cc05..f61d204c4791753024be7ceb2c9ee1266498b88b 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/ErrorFlag.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/ErrorFlag.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp b/tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp index 3b439972684b43c96767910bb3bab47167569bf1..ca3740c403371a5176ef134dcc0b505eb2f66a69 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/log/LogContext.hpp" #include "common/threading/System.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/LabelSession.hpp b/tapeserver/castor/tape/tapeserver/daemon/LabelSession.hpp index edd726e5f3537b1ebe9d512741c5ab6c60fbbb23..9e343422daf193b8d32dbe6f8fbd1380e261291a 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/LabelSession.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/LabelSession.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/LabelSessionConfig.cpp b/tapeserver/castor/tape/tapeserver/daemon/LabelSessionConfig.cpp index b76f3c8afc8bfe66f3ef4c842adfa1fef8be1b08..ab052e0234108f04023063076d5649f9e94bde91 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/LabelSessionConfig.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/LabelSessionConfig.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/LabelSessionConfig.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/LabelSessionConfig.hpp b/tapeserver/castor/tape/tapeserver/daemon/LabelSessionConfig.hpp index d7b590e3abc1acae94c0d718d0d2231230dc6a4b..ce62568e4a371d9790d4a4be345f0c5f7867b026 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/LabelSessionConfig.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/LabelSessionConfig.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/MemBlock.hpp b/tapeserver/castor/tape/tapeserver/daemon/MemBlock.hpp index d0e04c9e9ee8e9761d97d1971f48b126a0d93315..94c0eb14b721ec632abb3688f4f8f3739145cbcf 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/MemBlock.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/MemBlock.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/MigrationMemoryManager.cpp b/tapeserver/castor/tape/tapeserver/daemon/MigrationMemoryManager.cpp index 29650b225e525d97c76f21c92c42cef63330714b..33d54137fdf9e01a325b8f901d6e55c18f364b6a 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/MigrationMemoryManager.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/MigrationMemoryManager.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/MigrationMemoryManager.hpp" #include "castor/tape/tapeserver/daemon/MemBlock.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/MigrationMemoryManager.hpp b/tapeserver/castor/tape/tapeserver/daemon/MigrationMemoryManager.hpp index 98b95b8cd2756c415806de318689c8f681c656eb..f7730d69df110f66ca801b50e930e86a79698fd5 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/MigrationMemoryManager.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/MigrationMemoryManager.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPacker.cpp b/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPacker.cpp index 7424d5e902e8c7227b36ea14a021e739939b7843..d428a560bde254a03a65ce6cac824c9179dfbff1 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPacker.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPacker.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/MigrationReportPacker.hpp" #include "castor/tape/tapeserver/daemon/TaskWatchDog.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPacker.hpp b/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPacker.hpp index 0a40a62714429a5faa277d796425f234d63ee60a..843ee0adf147fe19d53a7faddbcdafb36daf6bba 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPacker.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPacker.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPackerTest.cpp b/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPackerTest.cpp index d272332dc1ad00198310b4376d66a702dbf529f4..0069581438914b17ac0779ab811d2bab270edacb 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPackerTest.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/MigrationReportPackerTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/log/DummyLogger.hpp" #include "common/log/StringLogger.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/MigrationTaskInjector.cpp b/tapeserver/castor/tape/tapeserver/daemon/MigrationTaskInjector.cpp index e0ffc2e6e2022713db47d1e4c0f0da6c05204a75..47b4327a08669ac5e5af587168bc544b06c4c4cf 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/MigrationTaskInjector.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/MigrationTaskInjector.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/MigrationTaskInjector.hpp" #include "castor/tape/tapeserver/daemon/ErrorFlag.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/MigrationTaskInjector.hpp b/tapeserver/castor/tape/tapeserver/daemon/MigrationTaskInjector.hpp index 9956a8da8322c3e4372e73104c282fd06a8e2230..d9f1440551f07d75e731b0b9e25a3ff8e33c3108 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/MigrationTaskInjector.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/MigrationTaskInjector.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/Payload.hpp b/tapeserver/castor/tape/tapeserver/daemon/Payload.hpp index cd373242d8991a82c5c8c8d752cd0d83b0646a6c..f4204be04dd70ffc21342c13147a0e168b9794da 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/Payload.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/Payload.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <zlib.h> #include "disk/DiskFile.hpp" #include "castor/tape/tapeserver/file/File.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallMemoryManager.cpp b/tapeserver/castor/tape/tapeserver/daemon/RecallMemoryManager.cpp index 49490e4799492ec5116f848b255ed4f01ac5465b..f17392c584a5b1d8cb2f7a55b796e7d8c63c0312 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallMemoryManager.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallMemoryManager.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/RecallMemoryManager.hpp" #include "castor/tape/tapeserver/daemon/MemBlock.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallMemoryManager.hpp b/tapeserver/castor/tape/tapeserver/daemon/RecallMemoryManager.hpp index 09b903c695ce1783593f43564a7e5a39566c277a..9d92ad0db8210632d983a227a506e051b552963f 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallMemoryManager.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallMemoryManager.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.cpp b/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.cpp index 44ee177c16828c065ef0986dd11ffd082a4c2c84..5c4195a900f05ba473374f1ea3f69d2d73d93140 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/RecallReportPacker.hpp" #include "castor/tape/tapeserver/daemon/TaskWatchDog.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.hpp b/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.hpp index 831d8292aceb03c7f1ed8edb2f1a74a223cb72a1..4123270ff8f356bbf8a8c50513b9482cf2def4ee 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallReportPackerTest.cpp b/tapeserver/castor/tape/tapeserver/daemon/RecallReportPackerTest.cpp index 2ac1a4416d9bc21bb871ae8aa560e653d69e1263..379a81e0f194005e5c50ad8c8f0198d69db31eee 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallReportPackerTest.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallReportPackerTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/RecallReportPacker.hpp" #include "common/log/StringLogger.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.cpp b/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.cpp index ecfbe020385e1ac3c2f61377a8da0b3f31813d16..cff14e0ef61f3220cdadf379897604d3effcc3b8 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/RecallTaskInjector.hpp" #include "common/log/LogContext.hpp" #include "castor/tape/tapeserver/utils/suppressUnusedVariable.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.hpp b/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.hpp index 52bae7f90756384c890022d7fe9cc9969ae61582..43ad3a9fd8fa627601e4a676230015c020f36807 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjector.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjectorTest.cpp b/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjectorTest.cpp index 87fc8d441e7060adb7263acbdaa6f23965d46cb1..9644414822499dafbfc08bc83474f898f2c54c4a 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjectorTest.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallTaskInjectorTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/messages/TapeserverProxyDummy.hpp" #include "castor/tape/tapeserver/daemon/DiskWriteThreadPool.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/ReportPackerInterface.hpp b/tapeserver/castor/tape/tapeserver/daemon/ReportPackerInterface.hpp index 90445d3cded3757c4d48d892fee988a349a1f5d3..b3d8cfee464f647a3e0838bcb0748dabd2a5a19c 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/ReportPackerInterface.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/ReportPackerInterface.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/Session.cpp b/tapeserver/castor/tape/tapeserver/daemon/Session.cpp index 989311c2d2d1fd54c416797ba9fccc94ecd45af4..19b2ca1ca9119e73a3d77c76e75571da42ac5905 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/Session.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/Session.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/Session.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/Session.hpp b/tapeserver/castor/tape/tapeserver/daemon/Session.hpp index bcb6b964f87ebacb9b5e3d52731d731b8e517ef6..aa5fedcc24508e1e1b4b38395bcde9f350537b7c 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/Session.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/Session.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeReadSingleThread.cpp b/tapeserver/castor/tape/tapeserver/daemon/TapeReadSingleThread.cpp index e964579a42352ffeeb2eea629d35e496bb38ea4b..9a0834fffd43d2c824f8301f9e414740aab38df4 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeReadSingleThread.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeReadSingleThread.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/TapeReadSingleThread.hpp" //------------------------------------------------------------------------------ diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeReadSingleThread.hpp b/tapeserver/castor/tape/tapeserver/daemon/TapeReadSingleThread.hpp index 6ea85b40c674331459c0d54df5748024c242a253..0946badaa969b582ae9e177c6839abd78be9a0fb 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeReadSingleThread.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeReadSingleThread.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeReadTask.hpp b/tapeserver/castor/tape/tapeserver/daemon/TapeReadTask.hpp index 481fd9c5ec81e9f3372bbc22dcad224a2c6fd035..cd0c3a585aecd8955a1a454ce3d7b75e4c525024 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeReadTask.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeReadTask.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeServerReporter.cpp b/tapeserver/castor/tape/tapeserver/daemon/TapeServerReporter.cpp index 38c379897de0b508f4318f90bc590cd506cdcb89..355ac7ad7b1e7a54238144876304caa7ad4651e6 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeServerReporter.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeServerReporter.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/log/LogContext.hpp" #include "common/log/Logger.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeServerReporter.hpp b/tapeserver/castor/tape/tapeserver/daemon/TapeServerReporter.hpp index c49949f68eb4d8d3aec65d99eaee90064536a59c..1ef84f9ea86c36fba13875b1e16fddc8de63371b 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeServerReporter.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeServerReporter.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeSessionStats.hpp b/tapeserver/castor/tape/tapeserver/daemon/TapeSessionStats.hpp index 91d49fb7f013b0a1c671e06c37f6b99fa1a1796b..69bbb8e51b4aecd21ebb1b2f225835d4462609d1 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeSessionStats.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeSessionStats.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2014 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeSingleThreadInterface.hpp b/tapeserver/castor/tape/tapeserver/daemon/TapeSingleThreadInterface.hpp index 5efa283b097a3422cf96a2ebe084ca5f2d0c0ffc..9fc9398613256d14bc729abc88b98dcafb8615bf 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeSingleThreadInterface.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeSingleThreadInterface.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* * Author: dcome * diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeWriteSingleThread.cpp b/tapeserver/castor/tape/tapeserver/daemon/TapeWriteSingleThread.cpp index fea50ba212125b31b30e8ba2590d65b420418bd4..385420e76a214525cd07b9846ace8e70516f991b 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeWriteSingleThread.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeWriteSingleThread.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/TapeWriteSingleThread.hpp" #include "castor/tape/tapeserver/daemon/MigrationTaskInjector.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeWriteSingleThread.hpp b/tapeserver/castor/tape/tapeserver/daemon/TapeWriteSingleThread.hpp index c18425ef9afb9c98dfd4b570fcf35716aed1f15a..dca12b787fcf70d9f8705f84fbf536eb28cebf9a 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeWriteSingleThread.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeWriteSingleThread.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** - * TapeWriteSingleThread.hpp +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeWriteTask.cpp b/tapeserver/castor/tape/tapeserver/daemon/TapeWriteTask.cpp index c0acfb7d2fa0758251286549f6f37c84a9fb202c..ba21f9a9b51322a98dd988449a89ed597c9eaaf7 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeWriteTask.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeWriteTask.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "common/exception/Errnum.hpp" #include "castor/tape/tapeserver/daemon/TapeWriteTask.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/TapeWriteTask.hpp b/tapeserver/castor/tape/tapeserver/daemon/TapeWriteTask.hpp index a46b3b8f52d37a787d1be6ac077198398aff117a..60d45d1c7b317df3a41a1fdf8a4d5aabca22e08e 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TapeWriteTask.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TapeWriteTask.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp b/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp index 3ff87c73e5520f639eff9cde3cabdae927ae33ae..085e2da7cd826fea20910af0aaaf965be5ae6bf5 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDog.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDogTest.cpp b/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDogTest.cpp index 5f42b0827e759a0a814e4d00b93e12b15c2d0a04..a33d284739030d114610683beb4ab40679752b5b 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDogTest.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/TaskWatchDogTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/daemon/TaskWatchDog.hpp" #include "castor/tape/tapeserver/daemon/ReportPackerInterface.hpp" diff --git a/tapeserver/castor/tape/tapeserver/daemon/VolumeInfo.hpp b/tapeserver/castor/tape/tapeserver/daemon/VolumeInfo.hpp index d78d68bbdade0786131cc1c5afa27e5a8f924db0..f6f8a9927dbf945cbff3ccd4ba2bdfe8f00b5214 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/VolumeInfo.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/VolumeInfo.hpp @@ -1,26 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/drive/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/drive/CMakeLists.txt index fc9947273facc66ddf3a53451bca3669ed1ebe93..457c802f94cca0c61afbfe65a22cc68987ae0eb7 100644 --- a/tapeserver/castor/tape/tapeserver/drive/CMakeLists.txt +++ b/tapeserver/castor/tape/tapeserver/drive/CMakeLists.txt @@ -1,22 +1,17 @@ -# This file is part of the Castor project. -# See http://castor.web.cern.ch/castor +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2003 CERN -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# -# @author Castor Dev team, castor-dev@cern.ch +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories(${CMAKE_SOURCE_DIR}/tapeserver) diff --git a/tapeserver/castor/tape/tapeserver/drive/DriveGeneric.cpp b/tapeserver/castor/tape/tapeserver/drive/DriveGeneric.cpp index 973e618405fc6558f647a84b7d401fb129e0b3db..8480563952af64d7c322117882c4a2b7af90dba8 100644 --- a/tapeserver/castor/tape/tapeserver/drive/DriveGeneric.cpp +++ b/tapeserver/castor/tape/tapeserver/drive/DriveGeneric.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/drive/DriveInterface.hpp" #include "castor/tape/tapeserver/drive/FakeDrive.hpp" diff --git a/tapeserver/castor/tape/tapeserver/drive/DriveGeneric.hpp b/tapeserver/castor/tape/tapeserver/drive/DriveGeneric.hpp index aca50c509e0312b03b1240f1ca852943bf7819ec..60c480b072464a4e992584418f89ed00630d8c37 100644 --- a/tapeserver/castor/tape/tapeserver/drive/DriveGeneric.hpp +++ b/tapeserver/castor/tape/tapeserver/drive/DriveGeneric.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once #include "tapeserver/castor/tape/tapeserver/drive/DriveInterface.hpp" diff --git a/tapeserver/castor/tape/tapeserver/drive/DriveInterface.hpp b/tapeserver/castor/tape/tapeserver/drive/DriveInterface.hpp index a4fb31f7cd1f7ae3102f61a06f655c71af41539f..878de4ed82e5ee9e310e1886d69e1b94e35bc3cd 100644 --- a/tapeserver/castor/tape/tapeserver/drive/DriveInterface.hpp +++ b/tapeserver/castor/tape/tapeserver/drive/DriveInterface.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/drive/DriveTest.cpp b/tapeserver/castor/tape/tapeserver/drive/DriveTest.cpp index cec6b287111811ac7b77aaefc961890a6b403d53..0b23c818412ed8f65c6faee544d47dbde7efd572 100644 --- a/tapeserver/castor/tape/tapeserver/drive/DriveTest.cpp +++ b/tapeserver/castor/tape/tapeserver/drive/DriveTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/SCSI/Device.hpp" #include "castor/tape/tapeserver/system/Wrapper.hpp" diff --git a/tapeserver/castor/tape/tapeserver/drive/FakeDrive.cpp b/tapeserver/castor/tape/tapeserver/drive/FakeDrive.cpp index 40abde5f70ff2ce037e4eb775ebcae718cbcd14f..5904ed400b53cf4b74df8faa704e81d744511ab2 100644 --- a/tapeserver/castor/tape/tapeserver/drive/FakeDrive.cpp +++ b/tapeserver/castor/tape/tapeserver/drive/FakeDrive.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/drive/FakeDrive.hpp" #include "castor/tape/tapeserver/SCSI/Structures.hpp" diff --git a/tapeserver/castor/tape/tapeserver/drive/FakeDrive.hpp b/tapeserver/castor/tape/tapeserver/drive/FakeDrive.hpp index 586c46dddf659c4f5aacb7cc6d97caee19a79dae..973300e3cb943f47a87fb739e0ef979d76e333a0 100644 --- a/tapeserver/castor/tape/tapeserver/drive/FakeDrive.hpp +++ b/tapeserver/castor/tape/tapeserver/drive/FakeDrive.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once #include "castor/tape/tapeserver/drive/DriveInterface.hpp" diff --git a/tapeserver/castor/tape/tapeserver/drive/TapeDriveReadWriteTest.cpp b/tapeserver/castor/tape/tapeserver/drive/TapeDriveReadWriteTest.cpp index cc5345362ad59b2c9c78e1e1cf9a27a97e80be6d..e14d694f1c49fbdfa07c7784ebae874277627baa 100644 --- a/tapeserver/castor/tape/tapeserver/drive/TapeDriveReadWriteTest.cpp +++ b/tapeserver/castor/tape/tapeserver/drive/TapeDriveReadWriteTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ /** * Test main program. For development use. diff --git a/tapeserver/castor/tape/tapeserver/drive/mtio_add.hpp b/tapeserver/castor/tape/tapeserver/drive/mtio_add.hpp index 3e2a7dfa6e025d66efeed44baa01d3b1e1562272..0248b69672f9004bcd5041a7c48f8c6990b2787b 100644 --- a/tapeserver/castor/tape/tapeserver/drive/mtio_add.hpp +++ b/tapeserver/castor/tape/tapeserver/drive/mtio_add.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ /* * Define the write immediate file mark operation code in case it is absent from mtio.h */ diff --git a/tapeserver/castor/tape/tapeserver/file/BasicReadWriteTest.cpp b/tapeserver/castor/tape/tapeserver/file/BasicReadWriteTest.cpp index 12b63097edabc5889509ae00c5fa282858d2a446..1c06751021fd7930bdff80b1ea7db7b13e5567ed 100644 --- a/tapeserver/castor/tape/tapeserver/file/BasicReadWriteTest.cpp +++ b/tapeserver/castor/tape/tapeserver/file/BasicReadWriteTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2017 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ /** * Test main program. For development use. diff --git a/tapeserver/castor/tape/tapeserver/file/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/file/CMakeLists.txt index abaa3bd3e9ec34014e846e426bbda8771baeabad..65fc988ca691fbbdae68ac58314e217e488db661 100644 --- a/tapeserver/castor/tape/tapeserver/file/CMakeLists.txt +++ b/tapeserver/castor/tape/tapeserver/file/CMakeLists.txt @@ -1,22 +1,17 @@ -# This file is part of the Castor project. -# See http://castor.web.cern.ch/castor +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2003 CERN -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# -# @author Castor Dev team, castor-dev@cern.ch +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) find_package (xrootd REQUIRED) @@ -85,4 +80,3 @@ set_property(TARGET ctatapeserverfileunittests PROPERTY SOVERSION "${CTA_SOVERSI set_property(TARGET ctatapeserverfileunittests PROPERTY VERSION "${CTA_LIBVERSION}") install(TARGETS ctatapeserverfileunittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR}) - diff --git a/tapeserver/castor/tape/tapeserver/file/File.cpp b/tapeserver/castor/tape/tapeserver/file/File.cpp index 6d817ab5acf017101d0d5accebfe4dc81d392c63..1b03cfc3d5c556b88134fb723cf85cc1bde850e0 100644 --- a/tapeserver/castor/tape/tapeserver/file/File.cpp +++ b/tapeserver/castor/tape/tapeserver/file/File.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/file/File.hpp" #include "common/exception/Errnum.hpp" diff --git a/tapeserver/castor/tape/tapeserver/file/File.hpp b/tapeserver/castor/tape/tapeserver/file/File.hpp index 587cb9c035f4daff047d542ae47cc63d63e9d209..3909f89b3a5ad7601ccb6a732513917988758d3b 100644 --- a/tapeserver/castor/tape/tapeserver/file/File.hpp +++ b/tapeserver/castor/tape/tapeserver/file/File.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/file/FileTest.cpp b/tapeserver/castor/tape/tapeserver/file/FileTest.cpp index 1f7a604ba011a77b23c539627f5bb64e77ef4017..129d09178de496aca0ce4e2bdbb3202d269664c3 100644 --- a/tapeserver/castor/tape/tapeserver/file/FileTest.cpp +++ b/tapeserver/castor/tape/tapeserver/file/FileTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/system/Wrapper.hpp" #include "castor/tape/tapeserver/SCSI/Device.hpp" diff --git a/tapeserver/castor/tape/tapeserver/file/Structures.cpp b/tapeserver/castor/tape/tapeserver/file/Structures.cpp index 16477e5a0439204702259ae34dde2fa3b40d1bce..60a8753f5af9f3c086b7f3b71ad2ec5ffa79936c 100644 --- a/tapeserver/castor/tape/tapeserver/file/Structures.cpp +++ b/tapeserver/castor/tape/tapeserver/file/Structures.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/file/Structures.hpp" #include "common/exception/Exception.hpp" diff --git a/tapeserver/castor/tape/tapeserver/file/Structures.hpp b/tapeserver/castor/tape/tapeserver/file/Structures.hpp index 74c6d330c34bb83cd8584c1921e9de212d9d6d5b..fe381c1295abf5333d02c048a59ee3f25cf3e18f 100644 --- a/tapeserver/castor/tape/tapeserver/file/Structures.hpp +++ b/tapeserver/castor/tape/tapeserver/file/Structures.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once #include "tapeserver/castor/tape/tapeserver/drive/DriveInterface.hpp" diff --git a/tapeserver/castor/tape/tapeserver/file/StructuresTest.cpp b/tapeserver/castor/tape/tapeserver/file/StructuresTest.cpp index b59cc6c253d03007b24bdac8aaa2e71b854698cf..b3be12ca770028ba9976e2550f5e2ebd15d46175 100644 --- a/tapeserver/castor/tape/tapeserver/file/StructuresTest.cpp +++ b/tapeserver/castor/tape/tapeserver/file/StructuresTest.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "castor/tape/tapeserver/file/Structures.hpp" #include <gtest/gtest.h> diff --git a/tapeserver/castor/tape/tapeserver/system/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/system/CMakeLists.txt index b8d974110003bac903bb54a25c4fa4dd86eb4ab3..43e97377b49a725539d846de787b663b5476e2f7 100644 --- a/tapeserver/castor/tape/tapeserver/system/CMakeLists.txt +++ b/tapeserver/castor/tape/tapeserver/system/CMakeLists.txt @@ -1,21 +1,17 @@ -# This file is part of the Castor project. -# See http://castor.web.cern.ch/castor +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2003 CERN -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# @author Castor Dev team, castor-dev@cern.ch +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) include_directories(${CMAKE_SOURCE_DIR}/tapeserver) @@ -31,4 +27,3 @@ if(CMAKE_COMPILER_IS_GNUCC) PROPERTY COMPILE_FLAGS " -Wno-unused-local-typedefs") endif(GCC_VERSION_GE_4_8_0) endif(CMAKE_COMPILER_IS_GNUCC) - diff --git a/tapeserver/castor/tape/tapeserver/system/FileWrappers.cpp b/tapeserver/castor/tape/tapeserver/system/FileWrappers.cpp index c159d43cff78100bd9aad6514c6a5a6feda495f4..ea7a70356ea7f19ebf1a3118ee6504e0515eaa5d 100644 --- a/tapeserver/castor/tape/tapeserver/system/FileWrappers.cpp +++ b/tapeserver/castor/tape/tapeserver/system/FileWrappers.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <errno.h> #include <stddef.h> diff --git a/tapeserver/castor/tape/tapeserver/system/FileWrappers.hpp b/tapeserver/castor/tape/tapeserver/system/FileWrappers.hpp index bb41fea03bc6b53274c1cf8b143452ccb329278e..fd75f5f569d8df26bccbbdf1d6830d16c6707848 100644 --- a/tapeserver/castor/tape/tapeserver/system/FileWrappers.hpp +++ b/tapeserver/castor/tape/tapeserver/system/FileWrappers.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/castor/tape/tapeserver/system/Wrapper.cpp b/tapeserver/castor/tape/tapeserver/system/Wrapper.cpp index 70995e3427b9afca86167e587b9eeb1d5c8a01d8..abc8efda810a9b59ea6cdea550bb5c2444549e11 100644 --- a/tapeserver/castor/tape/tapeserver/system/Wrapper.cpp +++ b/tapeserver/castor/tape/tapeserver/system/Wrapper.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "Wrapper.hpp" #include "../drive/DriveInterface.hpp" diff --git a/tapeserver/castor/tape/tapeserver/system/Wrapper.hpp b/tapeserver/castor/tape/tapeserver/system/Wrapper.hpp index 5fe8c41f873eaa22c00829e10e754a8af0dab656..19200abee9947d08ac2ef64420e4678e934749c7 100644 --- a/tapeserver/castor/tape/tapeserver/system/Wrapper.hpp +++ b/tapeserver/castor/tape/tapeserver/system/Wrapper.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once #include <sys/types.h> diff --git a/tapeserver/castor/tape/tapeserver/test/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/test/CMakeLists.txt index c9cb42080d649dcbfe024fcad08b4cc46069435b..9574653b2825f660f0f6710665256e9c76d9d606 100644 --- a/tapeserver/castor/tape/tapeserver/test/CMakeLists.txt +++ b/tapeserver/castor/tape/tapeserver/test/CMakeLists.txt @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2003-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. #install(FILES #SystemTest/device.conf #SystemTest/library_contents.10 @@ -8,5 +22,3 @@ #install(FILES #SystemTest/tape-server-system-test.sh #DESTINATION bin) - - diff --git a/tapeserver/castor/tape/tapeserver/test/SystemTest/tape-server-system-test.sh b/tapeserver/castor/tape/tapeserver/test/SystemTest/tape-server-system-test.sh index 35a5a27bfac444c78bb248aaa270eacbb815ace6..6d1187669f45c3802a10904ba8a49c9e13cb7224 100644 --- a/tapeserver/castor/tape/tapeserver/test/SystemTest/tape-server-system-test.sh +++ b/tapeserver/castor/tape/tapeserver/test/SystemTest/tape-server-system-test.sh @@ -1,4 +1,20 @@ #!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + echo "## Attempting to stop mhvtl" service mhvtl stop diff --git a/tapeserver/castor/tape/tapeserver/utils/suppressUnusedVariable.hpp b/tapeserver/castor/tape/tapeserver/utils/suppressUnusedVariable.hpp index 5eab7d3ebd0be5b2aa2ebaf33aaf301fda287250..9e51034d05f2a5fe4520b6a1f663a2fea2eb4695 100644 --- a/tapeserver/castor/tape/tapeserver/utils/suppressUnusedVariable.hpp +++ b/tapeserver/castor/tape/tapeserver/utils/suppressUnusedVariable.hpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/cta-taped.1cta b/tapeserver/cta-taped.1cta index bb9ff42f581a0ebacb2dca949d0c48ad7c48844e..c755ed3817d5374d2d2912347f8cce5d23549a8d 100644 --- a/tapeserver/cta-taped.1cta +++ b/tapeserver/cta-taped.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2021 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-TAPED "1cta" "$Date: 2021/03/11 14:44:00 $" CTA "CTA" .SH NAME cta-taped \- Tape server daemon @@ -160,4 +160,4 @@ The tape tapeserver log file. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. .SH AUTHOR -CERN CTA Team, https://cta.web.cern.ch +\fBCTA\fP Team diff --git a/tapeserver/cta-taped.cpp b/tapeserver/cta-taped.cpp index 7993e9309c25d5190afac04e2e8701606df4460b..0fc356cb9645de22971cba4ba11f7d233ef4d6f7 100644 --- a/tapeserver/cta-taped.cpp +++ b/tapeserver/cta-taped.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/Configuration.hpp" diff --git a/tapeserver/cta-tapedSystemtests.cpp b/tapeserver/cta-tapedSystemtests.cpp index 6f544c5d06a335b6e002e02588dee8bfca1daf0e..479c2c35861d4a8498c2f2d3478d50a4631f3ac6 100644 --- a/tapeserver/cta-tapedSystemtests.cpp +++ b/tapeserver/cta-tapedSystemtests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/SubProcess.hpp" diff --git a/tapeserver/daemon/CMakeLists.txt b/tapeserver/daemon/CMakeLists.txt index 8688dac4d95f15c101fe38077db1d0d4a342f8d2..e000f99cc09c2a5c2f769a196f167ff7693c5c7f 100644 --- a/tapeserver/daemon/CMakeLists.txt +++ b/tapeserver/daemon/CMakeLists.txt @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) find_package(Protobuf3 REQUIRED) diff --git a/tapeserver/daemon/CommandLineParams.cpp b/tapeserver/daemon/CommandLineParams.cpp index 2ae88a34c39fa527d71c65b4e1fce223b284c409..e15a1a3a2411889ef8fc5a615a2d7dbaaa44a0d0 100644 --- a/tapeserver/daemon/CommandLineParams.cpp +++ b/tapeserver/daemon/CommandLineParams.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tapeserver/daemon/CommandLineParams.hpp" diff --git a/tapeserver/daemon/CommandLineParams.hpp b/tapeserver/daemon/CommandLineParams.hpp index 1a9811e8c65df162ed46e0d73a1bf69f74e549d6..43e2bf4192745b211805dcd06662d3cd69c9d6c6 100644 --- a/tapeserver/daemon/CommandLineParams.hpp +++ b/tapeserver/daemon/CommandLineParams.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/DriveHandler.cpp b/tapeserver/daemon/DriveHandler.cpp index 6f96341539c124ec36ca73639b5ea8c58c23166c..21e42ef02ca68dd97b32d895bc2698de0ee89b20 100644 --- a/tapeserver/daemon/DriveHandler.cpp +++ b/tapeserver/daemon/DriveHandler.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueFactoryFactory.hpp" diff --git a/tapeserver/daemon/DriveHandler.hpp b/tapeserver/daemon/DriveHandler.hpp index 3f723e208253e064a77cb5eb9a8f3b0dbc9d7367..e0572de32bc2f87a5dac0e9715d4e496e9753f2c 100644 --- a/tapeserver/daemon/DriveHandler.hpp +++ b/tapeserver/daemon/DriveHandler.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/DriveHandlerProxy.cpp b/tapeserver/daemon/DriveHandlerProxy.cpp index b461ea58adc58f3df9e890276eb9469e5231136f..1d4acfca578dc8de486f8ab040dba089e53b09f1 100644 --- a/tapeserver/daemon/DriveHandlerProxy.cpp +++ b/tapeserver/daemon/DriveHandlerProxy.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "DriveHandlerProxy.hpp" diff --git a/tapeserver/daemon/DriveHandlerProxy.hpp b/tapeserver/daemon/DriveHandlerProxy.hpp index 124a7d39777381e39ecf39c504a20ab3b0737988..609c7e3bbe1c9e6b8a5d4e4f592046e1be0830d8 100644 --- a/tapeserver/daemon/DriveHandlerProxy.hpp +++ b/tapeserver/daemon/DriveHandlerProxy.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/FetchReportOrFlushLimits.hpp b/tapeserver/daemon/FetchReportOrFlushLimits.hpp index 0ad099a05c12e86205eb545a2fea21accaaec295..e58202dbf16f7400870ef6112c361a503f064c2f 100644 --- a/tapeserver/daemon/FetchReportOrFlushLimits.hpp +++ b/tapeserver/daemon/FetchReportOrFlushLimits.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/MaintenanceHandler.cpp b/tapeserver/daemon/MaintenanceHandler.cpp index 8e72c5d94815d080d2886749a1adbe2d8fdf8606..7c9d3603399db55246987de6f683af6bca8a5c3f 100644 --- a/tapeserver/daemon/MaintenanceHandler.cpp +++ b/tapeserver/daemon/MaintenanceHandler.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "MaintenanceHandler.hpp" diff --git a/tapeserver/daemon/MaintenanceHandler.hpp b/tapeserver/daemon/MaintenanceHandler.hpp index 543ebec32f51f9923da04dc731fab6b06d13a025..106a7f320293829aaa442d7b2ee64fb8c012e3f5 100644 --- a/tapeserver/daemon/MaintenanceHandler.hpp +++ b/tapeserver/daemon/MaintenanceHandler.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/ProcessManager.cpp b/tapeserver/daemon/ProcessManager.cpp index 64985df3f84e0fe413cd5cf2718f1bff3694e07c..ec54c49d72b5ddf343f026f50a2ea9d2e677f8bb 100644 --- a/tapeserver/daemon/ProcessManager.cpp +++ b/tapeserver/daemon/ProcessManager.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "ProcessManager.hpp" diff --git a/tapeserver/daemon/ProcessManager.hpp b/tapeserver/daemon/ProcessManager.hpp index 76ddc9ed3c3b5ee8ebb78378bb39cc4b2104164d..5fae8edbc0777a824137361b8a751ff6c8b41cdd 100644 --- a/tapeserver/daemon/ProcessManager.hpp +++ b/tapeserver/daemon/ProcessManager.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/ProcessManagerTests.cpp b/tapeserver/daemon/ProcessManagerTests.cpp index ac57c4ac4b1ad1219f449f685b737f2e33a10e62..3c881622fbe50ff40092cebde3492845d4b2c790 100644 --- a/tapeserver/daemon/ProcessManagerTests.cpp +++ b/tapeserver/daemon/ProcessManagerTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/tapeserver/daemon/SignalHandler.cpp b/tapeserver/daemon/SignalHandler.cpp index b8449716472d569a2be3c482b715cd4f613625cd..d71d16eb943160c9eb1cd93a57ad3ea6d0d706d5 100644 --- a/tapeserver/daemon/SignalHandler.cpp +++ b/tapeserver/daemon/SignalHandler.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SignalHandler.hpp" diff --git a/tapeserver/daemon/SignalHandler.hpp b/tapeserver/daemon/SignalHandler.hpp index 740557f2249d5c0482dfe85b732543cbb51ec931..a1b3b9f6935691ed8ac56eae94fae8e9e395a4e4 100644 --- a/tapeserver/daemon/SignalHandler.hpp +++ b/tapeserver/daemon/SignalHandler.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/SignalHandlerTests.cpp b/tapeserver/daemon/SignalHandlerTests.cpp index fde39e96058b0aa4736f3b9a902ddbbf0d74b47a..80a18f8b1223789bacbdfffd33d17943bf10a472 100644 --- a/tapeserver/daemon/SignalHandlerTests.cpp +++ b/tapeserver/daemon/SignalHandlerTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/tapeserver/daemon/SubprocessHandler.cpp b/tapeserver/daemon/SubprocessHandler.cpp index bc3a0c82efdeda3b84f7ca5309fda4d9367318a6..f094977b1ddbc6e1264542737f1f6c01f5e8c17a 100644 --- a/tapeserver/daemon/SubprocessHandler.cpp +++ b/tapeserver/daemon/SubprocessHandler.cpp @@ -1,3 +1,20 @@ +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include "SubprocessHandler.hpp" namespace cta { diff --git a/tapeserver/daemon/SubprocessHandler.hpp b/tapeserver/daemon/SubprocessHandler.hpp index 129670542fece605978da92439d529d01e431bec..be0a593dddf585ee9b1ed4b3205571cdc387465a 100644 --- a/tapeserver/daemon/SubprocessHandler.hpp +++ b/tapeserver/daemon/SubprocessHandler.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/TapeDaemon.cpp b/tapeserver/daemon/TapeDaemon.cpp index 3fb8e5cde423be7cde40c41f4a9750f18b79ec26..4b31c39fb07c79ce9199c20ab595fa67d6676dc8 100644 --- a/tapeserver/daemon/TapeDaemon.cpp +++ b/tapeserver/daemon/TapeDaemon.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "TapeDaemon.hpp" diff --git a/tapeserver/daemon/TapeDaemon.hpp b/tapeserver/daemon/TapeDaemon.hpp index 1ee86d116c14823fa773d1e775397c19b5c21649..bd12ff2e5a5d323bb7a8e80e18add2f9966d93a7 100644 --- a/tapeserver/daemon/TapeDaemon.hpp +++ b/tapeserver/daemon/TapeDaemon.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/TapedConfiguration.cpp b/tapeserver/daemon/TapedConfiguration.cpp index e780ab1db0a464c5133ca278372e2d76259ad82b..a8c8a3b81b59f3e3f23856b294b5eaebdaaf9210 100644 --- a/tapeserver/daemon/TapedConfiguration.cpp +++ b/tapeserver/daemon/TapedConfiguration.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "TapedConfiguration.hpp" diff --git a/tapeserver/daemon/TapedConfiguration.hpp b/tapeserver/daemon/TapedConfiguration.hpp index 3676fe66bdc07ce258605bb4c44e1ec92e92267f..e040bd4b66caddf2d7964d43fbb0d443cca1cb59 100644 --- a/tapeserver/daemon/TapedConfiguration.hpp +++ b/tapeserver/daemon/TapedConfiguration.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/TapedConfigurationTests.cpp b/tapeserver/daemon/TapedConfigurationTests.cpp index 7a43adf8ae4d9a57bc0869a79c86de09d6b665b0..7086990cc42ad5ae9a90a5fd1bcdd97873a858ef 100644 --- a/tapeserver/daemon/TapedConfigurationTests.cpp +++ b/tapeserver/daemon/TapedConfigurationTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/tapeserver/daemon/TapedProxy.cpp b/tapeserver/daemon/TapedProxy.cpp index e72695ca774963c743fb647d7140cf17d9d0770b..b6dd790d7a8cd00297bf448fb7de3cd16285d3bb 100644 --- a/tapeserver/daemon/TapedProxy.cpp +++ b/tapeserver/daemon/TapedProxy.cpp @@ -1,25 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include "tapeserver/daemon/TapedProxy.hpp" diff --git a/tapeserver/daemon/TapedProxy.hpp b/tapeserver/daemon/TapedProxy.hpp index 9a6e194223982ca832214b3e53b08e263ae1f172..bdcb93c4d56f5600edd0fdd269ce3e21e1dd3da5 100644 --- a/tapeserver/daemon/TapedProxy.hpp +++ b/tapeserver/daemon/TapedProxy.hpp @@ -1,23 +1,19 @@ -/****************************************************************************** +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once diff --git a/tapeserver/daemon/TestSubprocessHandlers.hpp b/tapeserver/daemon/TestSubprocessHandlers.hpp index 2e358d9865a7816de7996a532eb907bfa01f387b..6bf89e90fb697e86b7e0875c316976840cf715ba 100644 --- a/tapeserver/daemon/TestSubprocessHandlers.hpp +++ b/tapeserver/daemon/TestSubprocessHandlers.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/Tpconfig.cpp b/tapeserver/daemon/Tpconfig.cpp index 287dcbd9a5473e170416f437371d2b3cbaf9a122..d85644fd2fc5bd7523c37cdb5a4a9ce65fff8ff3 100644 --- a/tapeserver/daemon/Tpconfig.cpp +++ b/tapeserver/daemon/Tpconfig.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tapeserver/daemon/Tpconfig.hpp" diff --git a/tapeserver/daemon/Tpconfig.hpp b/tapeserver/daemon/Tpconfig.hpp index e637abd5f2ba7e5424bd4e14a9f0104bf1e0170a..d372813e8c48f110657841a9c21ab64864a36c21 100644 --- a/tapeserver/daemon/Tpconfig.hpp +++ b/tapeserver/daemon/Tpconfig.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/TpconfigLine.cpp b/tapeserver/daemon/TpconfigLine.cpp index 0153b5cfde8eae7bccd009b1977dd5945b5ae545..684bc26907c8f533a1ac624004f2fd24610d3391 100644 --- a/tapeserver/daemon/TpconfigLine.cpp +++ b/tapeserver/daemon/TpconfigLine.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tapeserver/daemon/TpconfigLine.hpp" diff --git a/tapeserver/daemon/TpconfigLine.hpp b/tapeserver/daemon/TpconfigLine.hpp index 26585241bf66358d90aa0c7f2d94bd5d5be153de..fcdca50c4744a94eacbd2e5c02e09beff97a07ad 100644 --- a/tapeserver/daemon/TpconfigLine.hpp +++ b/tapeserver/daemon/TpconfigLine.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/daemon/TpconfigTests.cpp b/tapeserver/daemon/TpconfigTests.cpp index 6edcdc065d2cc0ae9210348bba1bcce2d05bd621..0cd281601c3612cef5545d68209f32dfb8242bb0 100644 --- a/tapeserver/daemon/TpconfigTests.cpp +++ b/tapeserver/daemon/TpconfigTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/tapeserver/daemon/WatchdogMessage.proto b/tapeserver/daemon/WatchdogMessage.proto index 71fc4fde3c7583c25d6457deea04917147a2c045..abf5f18e7b6e6d2d94c24476e0904429e971e57b 100644 --- a/tapeserver/daemon/WatchdogMessage.proto +++ b/tapeserver/daemon/WatchdogMessage.proto @@ -1,18 +1,17 @@ -// The CERN Tape Archive (CTA) project -// Copyright (C) 2015 CERN +// @project The CERN Tape Archive (CTA) +// @copyright Copyright(C) 2015-2021 CERN +// @license This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. // -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see <http://www.gnu.org/licenses/>. +// You should have received a copy of the GNU General Public License +// along with this program. If not, see <http://www.gnu.org/licenses/>. syntax = "proto2"; package cta.tape.daemon.serializers; diff --git a/tapeserver/daemon/cta-taped.conf.example b/tapeserver/daemon/cta-taped.conf.example index 35197ec6f00dac7140c8f5822416908cb069cdf1..66d5f1f303b71ef7f8ba1d6f65efdc1fed9d7ce3 100644 --- a/tapeserver/daemon/cta-taped.conf.example +++ b/tapeserver/daemon/cta-taped.conf.example @@ -1,19 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. ################################################################################ # # CTA Sample Configuration File diff --git a/tapeserver/h/Castor_limits.h b/tapeserver/h/Castor_limits.h index c2c1f7c5e613614911a639c533a801f05012d258..eb708e69922e3195146bcd711c08107786237132 100644 --- a/tapeserver/h/Castor_limits.h +++ b/tapeserver/h/Castor_limits.h @@ -1,14 +1,18 @@ /* - * Castor_limits.h,v 1.27 2004/02/12 15:38:08 obarring Exp - */ - -/* - * Copyright (C) 1999-2003 by CERN/IT/PDP/DM - * All rights reserved - */ - -/* - * @(#)Castor_limits.h,v 1.27 2004/02/12 15:38:08 CERN IT-PDP/DM Jean-Philippe Baud + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 1999-2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/session/CMakeLists.txt b/tapeserver/session/CMakeLists.txt index aabac1703ec4b329387bfe49c10d668dd6d3596e..10374b878ef05fe9c144b9b7aff9c18f1042ba03 100644 --- a/tapeserver/session/CMakeLists.txt +++ b/tapeserver/session/CMakeLists.txt @@ -1,3 +1,17 @@ +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) add_library(ctatapesession diff --git a/tapeserver/session/SessionState.cpp b/tapeserver/session/SessionState.cpp index e3d129c8ec87ea21a2ca57402551972217e84be7..34d8a8c0586970f457eda32279d938502852d819 100644 --- a/tapeserver/session/SessionState.cpp +++ b/tapeserver/session/SessionState.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SessionState.hpp" diff --git a/tapeserver/session/SessionState.hpp b/tapeserver/session/SessionState.hpp index d2f5010b272915209b78e8187225dcd6236cdfcb..b7daa7acfc925be9e05c616ff02c568b22c6aa92 100644 --- a/tapeserver/session/SessionState.hpp +++ b/tapeserver/session/SessionState.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/session/SessionType.cpp b/tapeserver/session/SessionType.cpp index edd5fc613ccd979dd7ec224df0d6797e198ef6a0..4c5830ed3ac082d54fb425b855b3938b5fe0adb8 100644 --- a/tapeserver/session/SessionType.cpp +++ b/tapeserver/session/SessionType.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "SessionType.hpp" diff --git a/tapeserver/session/SessionType.hpp b/tapeserver/session/SessionType.hpp index 1209252ddf2bfaa4ef2ef6da435bf5231b8769de..2485f0e66524de2ba0fe0500d38cb1041b3dbb7c 100644 --- a/tapeserver/session/SessionType.hpp +++ b/tapeserver/session/SessionType.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/tapelabel/CMakeLists.txt b/tapeserver/tapelabel/CMakeLists.txt index 4f32ad6377d6b76723627085328907f3a283dc9f..029db1a8e3bff01a9a1ddcfb475f56fc364fee1a 100644 --- a/tapeserver/tapelabel/CMakeLists.txt +++ b/tapeserver/tapelabel/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) add_executable(cta-tape-label diff --git a/tapeserver/tapelabel/CmdLineTool.cpp b/tapeserver/tapelabel/CmdLineTool.cpp index 8596d6388003847f42120a28c2bd717119de156e..22f0da5e62b38b9ac927cd45b2b7525c5e925a2f 100644 --- a/tapeserver/tapelabel/CmdLineTool.cpp +++ b/tapeserver/tapelabel/CmdLineTool.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tapeserver/tapelabel/CmdLineTool.hpp" diff --git a/tapeserver/tapelabel/CmdLineTool.hpp b/tapeserver/tapelabel/CmdLineTool.hpp index 3f2cbf3843dabcf2841db219a6f913a0de047aa8..e68ea2c0d42ea3cd9ed069a482f04bb85ac32e69 100644 --- a/tapeserver/tapelabel/CmdLineTool.hpp +++ b/tapeserver/tapelabel/CmdLineTool.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/tapelabel/TapeLabelCmd.cpp b/tapeserver/tapelabel/TapeLabelCmd.cpp index e0f3413c702e0badcfe59dd70cc7d2db23904a3f..f589a86e019a87097ec88af61ee3cb7b4a93c78b 100644 --- a/tapeserver/tapelabel/TapeLabelCmd.cpp +++ b/tapeserver/tapelabel/TapeLabelCmd.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/Constants.hpp" diff --git a/tapeserver/tapelabel/TapeLabelCmd.hpp b/tapeserver/tapelabel/TapeLabelCmd.hpp index 7e535d30da6f6cdf1183091b2df788920930c981..6fc055fdce9ac9099aad4e1a5608c2a229a13579 100644 --- a/tapeserver/tapelabel/TapeLabelCmd.hpp +++ b/tapeserver/tapelabel/TapeLabelCmd.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/tapelabel/TapeLabelCmdLineArgs.cpp b/tapeserver/tapelabel/TapeLabelCmdLineArgs.cpp index f7b64b7a9fab2a8629ba73551b53f8589cac4fa6..284f717bd660d5982d7b57d8d1952d65ea9ee69a 100644 --- a/tapeserver/tapelabel/TapeLabelCmdLineArgs.cpp +++ b/tapeserver/tapelabel/TapeLabelCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tapeserver/tapelabel/TapeLabelCmdLineArgs.hpp" diff --git a/tapeserver/tapelabel/TapeLabelCmdLineArgs.hpp b/tapeserver/tapelabel/TapeLabelCmdLineArgs.hpp index 2867efcd3673f6e9540e3ddac92bfe7d23a860ec..988f11a065b976d0245b68e97079d8c2df675fe5 100644 --- a/tapeserver/tapelabel/TapeLabelCmdLineArgs.hpp +++ b/tapeserver/tapelabel/TapeLabelCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tapeserver/tapelabel/TapeLabelCmdLineArgsTest.cpp b/tapeserver/tapelabel/TapeLabelCmdLineArgsTest.cpp index 67f4d729ebfe79494a74aa6aada43bbd950c7f2f..9283dd25b716223a0c8f6c9e7bc8ee11a0ee6c1f 100644 --- a/tapeserver/tapelabel/TapeLabelCmdLineArgsTest.cpp +++ b/tapeserver/tapelabel/TapeLabelCmdLineArgsTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive(CTA) project - * Copyright(C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - *(at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/Exception.hpp" diff --git a/tapeserver/tapelabel/TapeLabelCmdMain.cpp b/tapeserver/tapelabel/TapeLabelCmdMain.cpp index 184d21ea28e521d25c79ed652d3d4f8277ed8680..1f3552f8aafed7950aaa88e842087601ed91e6d1 100644 --- a/tapeserver/tapelabel/TapeLabelCmdMain.cpp +++ b/tapeserver/tapelabel/TapeLabelCmdMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tapeserver/tapelabel/TapeLabelCmd.hpp" diff --git a/tapeserver/tapelabel/cta-tape-label.1cta b/tapeserver/tapelabel/cta-tape-label.1cta index dcf407a51be44a0951a47f2014f53cacfb653439..a5a8baf9d25f7e0d66a1818665f2f0b720edafe4 100644 --- a/tapeserver/tapelabel/cta-tape-label.1cta +++ b/tapeserver/tapelabel/cta-tape-label.1cta @@ -1,18 +1,18 @@ -.\" The CERN Tape Archive (CTA) project -.\" Copyright (C) 2015 CERN +.\" @project The CERN Tape Archive (CTA) +.\" @copyright Copyright(C) 2019-2021 CERN +.\" @license This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. .\" -.\" This program is free software: you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation, either version 3 of the License, or -.\" (at your option) any later version. +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. .\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program. If not, see <http://www.gnu.org/licenses/>. +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see <http://www.gnu.org/licenses/>. + .TH CTA-TAPE-LABEL 1CTA "July 2019" CTA CTA .SH NAME cta-tape-label \- Pre-label a CTA tape @@ -22,7 +22,7 @@ cta-tape-label \- Pre-label a CTA tape .SH DESCRIPTION \fBcta-tape-label\fP is a command-line tool for pre-labelling a CTA tape. -\fBcta-tape-label\fP writes CTA label to the tape with specified \fBVID\fP. +\fBcta-tape-label\fP writes CTA label to the tape with specified \fBVID\fP. .SH OPTIONS .TP \fB\-o, \-\-oldlabel diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b08cd5d7220bdaae53c336ffffe8a4178cfcbead..bdeb7e362c495bcfeedc967924bc0e79eb73a219 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) find_package(gmock REQUIRED) diff --git a/tests/GlobalCatalogueFactoryForUnitTests.cpp b/tests/GlobalCatalogueFactoryForUnitTests.cpp index aba8f88d0ddc280958cdddbd0a4c7a23dd95802b..cfe913546b6555d6691dc60c4cc291f6d02070da 100644 --- a/tests/GlobalCatalogueFactoryForUnitTests.cpp +++ b/tests/GlobalCatalogueFactoryForUnitTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tests/GlobalCatalogueFactoryForUnitTests.hpp" diff --git a/tests/GlobalCatalogueFactoryForUnitTests.hpp b/tests/GlobalCatalogueFactoryForUnitTests.hpp index b2a3b9daae5cd063d5821d6d9b7b8dac3b842418..213ba2886b9d52c69caf84a0007f73b25a76f885 100644 --- a/tests/GlobalCatalogueFactoryForUnitTests.hpp +++ b/tests/GlobalCatalogueFactoryForUnitTests.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tests/ImmutableFileTest.cpp b/tests/ImmutableFileTest.cpp index d9d9e0087d6b99ce775800cb1aacfebb7e641691..dbea7607ce165a1b016c5398f8a198cadeab261a 100644 --- a/tests/ImmutableFileTest.cpp +++ b/tests/ImmutableFileTest.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/CommandLineNotParsed.hpp" diff --git a/tests/ImmutableFileTest.hpp b/tests/ImmutableFileTest.hpp index 626cf502785e921fe29637191f8fdfdc5d7e3675..8977af8fb5012b5bdeb8abb8c7e71efbd9a6dbe3 100644 --- a/tests/ImmutableFileTest.hpp +++ b/tests/ImmutableFileTest.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tests/ImmutableFileTestCmdLineArgs.cpp b/tests/ImmutableFileTestCmdLineArgs.cpp index 5b69526c81967c6849503b2472538dea51f783f3..25363aefd1add153d3564b94a73e235544be8ecd 100644 --- a/tests/ImmutableFileTestCmdLineArgs.cpp +++ b/tests/ImmutableFileTestCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/exception/CommandLineNotParsed.hpp" diff --git a/tests/ImmutableFileTestCmdLineArgs.hpp b/tests/ImmutableFileTestCmdLineArgs.hpp index e546b74a93debd4a1c523389b5dbd955897018e6..37913c2e0d7f9bf95e9b55225afb40950203a75b 100644 --- a/tests/ImmutableFileTestCmdLineArgs.hpp +++ b/tests/ImmutableFileTestCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tests/ImmutableFileTestMain.cpp b/tests/ImmutableFileTestMain.cpp index f7d2c973f7b36a0bcf850f132e6ab578b63fd8e2..7bbea349e3e0baf6eba9d3657572b1ea5968085c 100644 --- a/tests/ImmutableFileTestMain.cpp +++ b/tests/ImmutableFileTestMain.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tests/ImmutableFileTest.hpp" diff --git a/tests/RdbmsUnitTestsCmdLineArgs.cpp b/tests/RdbmsUnitTestsCmdLineArgs.cpp index d43cbaf47f4ba4ba7a49375b48c960c539b228b8..52bb8311811ab786a4ed32f6088faddb293f858b 100644 --- a/tests/RdbmsUnitTestsCmdLineArgs.cpp +++ b/tests/RdbmsUnitTestsCmdLineArgs.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "tests/RdbmsUnitTestsCmdLineArgs.hpp" diff --git a/tests/RdbmsUnitTestsCmdLineArgs.hpp b/tests/RdbmsUnitTestsCmdLineArgs.hpp index e58e39f5d39a299b056deca37a09d9c985441621..0d7d1c4d6a598f745d38dce471ba96e57e7aa2e5 100644 --- a/tests/RdbmsUnitTestsCmdLineArgs.hpp +++ b/tests/RdbmsUnitTestsCmdLineArgs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <string> diff --git a/tests/SubprocessSystemTests.cpp b/tests/SubprocessSystemTests.cpp index 286c7bddbbd9897022a860ffa620f8ee5afe127e..678ba0ac574176989ef0c48d335189134bb5a2c8 100644 --- a/tests/SubprocessSystemTests.cpp +++ b/tests/SubprocessSystemTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "common/threading/SubProcess.hpp" diff --git a/tests/TempDirectory.cpp b/tests/TempDirectory.cpp index e020afbd956e8aa66051baaa5a925809239abf15..169acf68c6c10657025639770f98dd178749967e 100644 --- a/tests/TempDirectory.cpp +++ b/tests/TempDirectory.cpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "TempDirectory.hpp" diff --git a/tests/TempDirectory.hpp b/tests/TempDirectory.hpp index d9f2b30a86e83f8b4b4c1e6510ef5f34f51be0b4..18f85af790563a201dbd680fa48ee8ab90120f25 100644 --- a/tests/TempDirectory.hpp +++ b/tests/TempDirectory.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tests/TempFile.cpp b/tests/TempFile.cpp index 5b21edbc9555d000f0beb480a671b9d356297189..28dbb8a86fe25b3f6b2dbe86d0e33abaa63be61f 100644 --- a/tests/TempFile.cpp +++ b/tests/TempFile.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "TempFile.hpp" diff --git a/tests/TempFile.hpp b/tests/TempFile.hpp index 7f4fc14306b7df7aef158d41aaa389ec3e066f05..ec9421032e7d369e0a5ec6870b538192b734661b 100644 --- a/tests/TempFile.hpp +++ b/tests/TempFile.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tests/TestsCompileTimeSwitches.hpp b/tests/TestsCompileTimeSwitches.hpp index 78481c3931a811e08bf7dc369071d66a3164e3f2..28f00dfcf0bf444a225c1dda4f0ed3f1824446b5 100644 --- a/tests/TestsCompileTimeSwitches.hpp +++ b/tests/TestsCompileTimeSwitches.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/tests/cta-rdbmsUnitTests-oracle.sh.in b/tests/cta-rdbmsUnitTests-oracle.sh.in index dfe1dcd7835d5fbde07f7285a8d932e069dcd876..f2c99c181baf7461b4e10a1ecb58b2b357a40d09 100755 --- a/tests/cta-rdbmsUnitTests-oracle.sh.in +++ b/tests/cta-rdbmsUnitTests-oracle.sh.in @@ -1,20 +1,19 @@ #!/bin/bash -# The CERN Tape Archive (CTA) project -# Copyright (C) 2015 CERN +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2015-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. set -e diff --git a/tests/cta-unitPlusSystemTests.sh b/tests/cta-unitPlusSystemTests.sh index eeb9dcf02b1097aaf5d9800f8b862fdc28ac5c16..8d0811760e62683ded6f249ffadc539543aedf98 100644 --- a/tests/cta-unitPlusSystemTests.sh +++ b/tests/cta-unitPlusSystemTests.sh @@ -1,4 +1,20 @@ #!/bin/bash + +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + set -e /usr/bin/cta-valgrindUnitTests.sh -/usr/bin/cta-systemTests \ No newline at end of file +/usr/bin/cta-systemTests diff --git a/tests/postgresqlUnitTests.sh b/tests/postgresqlUnitTests.sh index a32fb9bfc012e5d28e97758745931b3ee4432b5c..8072eda47df03e669efe77b2c60b2d9183ac7d05 100755 --- a/tests/postgresqlUnitTests.sh +++ b/tests/postgresqlUnitTests.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # Utility script to run postgresql tests like in CI. if ! rpm -q --quiet rh-postgresql12-postgresql-server; then @@ -28,7 +43,7 @@ chown -R postgres:postgres ${POSTGRESQL_LOG_DIR} export LD_LIBRARY_PATH=/opt/rh/rh-postgresql12/root/usr/lib64 POSTGRES_BIN=/opt/rh/rh-postgresql12/root/usr/bin echo POSTGRES_BIN=${POSTGRES_BIN} -(cd / ; +(cd / ; runuser -u postgres -- ${POSTGRES_BIN}/initdb -D ${POSTGRESQL_DATA_DIR} runuser -u postgres -- ${POSTGRES_BIN}/pg_ctl start -w -t 10 -D ${POSTGRESQL_DATA_DIR} -l ${POSTGRESQL_LOG_DIR}/cta_test_postgres.log runuser -u postgres -- ${POSTGRES_BIN}/createdb cta diff --git a/tests/rdbmsUnitTests.cpp b/tests/rdbmsUnitTests.cpp index 2b82544de16565984461283b287b3cf3aac941a0..220aac6a7dd042d4e68ebf2a20c55ed6058c5c99 100644 --- a/tests/rdbmsUnitTests.cpp +++ b/tests/rdbmsUnitTests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "catalogue/CatalogueFactoryFactory.hpp" diff --git a/tests/scripts/500GB-file-stream.sh b/tests/scripts/500GB-file-stream.sh index a1806e045e7a027f84b105d0bd32fa56dda2ded1..3269e742787a1d73292332d8b5fb3c49931fb51e 100755 --- a/tests/scripts/500GB-file-stream.sh +++ b/tests/scripts/500GB-file-stream.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + TESTFILENAME=/var/tmp/cta-test-temporary-file-$$ EOSDIR=/eos/dev/test/vlado/`date +%Y%m%d%H%M` diff --git a/tests/scripts/bulk-cta-retrieve.sh b/tests/scripts/bulk-cta-retrieve.sh index 6cb12fcafc690a72e7386e3b7b8dd06c86debfb2..639ff6e41c28071fdeb1219f83515aa5a2fc1707 100755 --- a/tests/scripts/bulk-cta-retrieve.sh +++ b/tests/scripts/bulk-cta-retrieve.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # this script retrieves all files from a given EOS directory that are d0::t1 @@ -56,7 +71,7 @@ FILES_COUNT=`cat $TEST_FILE_LIST | wc -l` /usr/bin/echo -e "***\n*** Retrieving tape replicas for $FILES_COUNT files in the $EOS_DIR directory from $TEST_FILE_LIST file list onto EOS disk ...\n***" echo "0 u:cta g:cta n:cta-taped N:6425591835858577167 c:1496074683 e:0 f:0 k:b7825f9dd4d72952e429e342dd687aa8735411c29587ddd052613e33c0792e0b" > $EOS_KEYTAB chmod 400 $EOS_KEYTAB -/usr/bin/xargs -a $TEST_FILE_LIST -I {} echo "{}?eos.ruid=$USER_ID&eos.rgid=$GROUP_ID" | XrdSecPROTOCOL=sss XrdSecSSSKT=$EOS_KEYTAB /usr/bin/xargs -n 5 -P50 /usr/bin/xrdfs eosctatape prepare -s +/usr/bin/xargs -a $TEST_FILE_LIST -I {} echo "{}?eos.ruid=$USER_ID&eos.rgid=$GROUP_ID" | XrdSecPROTOCOL=sss XrdSecSSSKT=$EOS_KEYTAB /usr/bin/xargs -n 5 -P50 /usr/bin/xrdfs eosctatape prepare -s # Wait $TIMEOUT for files until they are recalled diff --git a/tests/scripts/bulk-drop-disk-replica.sh b/tests/scripts/bulk-drop-disk-replica.sh index ea26829ff8d9f8eafb3e1fa354f4024066de7e75..1df3048e826b514ea39e1c2c9e481a30a6519567 100755 --- a/tests/scripts/bulk-drop-disk-replica.sh +++ b/tests/scripts/bulk-drop-disk-replica.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # this script deletes all disk replicas from a given EOS directory that are dX::t1 ,,X>=1 @@ -50,11 +65,11 @@ FILES_COUNT=`cat $TEST_FILE_LIST | wc -l` /usr/bin/date "+%Y-%m-%d %H:%M:%S" /usr/bin/echo -e "***\n*** Files for which to drop disk copy: $FILES_COUNT \n***" -for FILE_PATH in `cat $TEST_FILE_LIST`; do +for FILE_PATH in `cat $TEST_FILE_LIST`; do for DISK_FSID in `eos file info "${FILE_PATH}" -m | sed s/\ /'\n'/g | grep fsid | sed s/fsid=// | grep -v ${TAPE_FS_ID}`; do - #echo "deleting disk replica with fsid ${DISK_FSID} for ${FILE_PATH}" + #echo "deleting disk replica with fsid ${DISK_FSID} for ${FILE_PATH}" if ! eos -r 0 0 file drop "${FILE_PATH}" ${DISK_FSID} >/dev/null; then - echo "failed to delete disk replica with fsid ${DISK_FSID} for ${FILE_PATH}" + echo "failed to delete disk replica with fsid ${DISK_FSID} for ${FILE_PATH}" fi done done @@ -62,6 +77,6 @@ done # Cleanup /usr/bin/date "+%Y-%m-%d %H:%M:%S" -# /usr/bin/rm -f $TEST_FILE_NAME $TEST_FILE_LIST +# /usr/bin/rm -f $TEST_FILE_NAME $TEST_FILE_LIST exit 0 diff --git a/tests/scripts/many-files-archive-migrate-retrieve-delete.sh b/tests/scripts/many-files-archive-migrate-retrieve-delete.sh index 201e7bba63e458d4e9c6ca6b1ccb51108c778844..1380a66860e1a1381377815c1772526f0aed9858 100755 --- a/tests/scripts/many-files-archive-migrate-retrieve-delete.sh +++ b/tests/scripts/many-files-archive-migrate-retrieve-delete.sh @@ -1,5 +1,20 @@ #!/bin/bash +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + FILES_COUNT=1000 EOS_DIR=/eos/dev/test/`whoami`/`/usr/bin/date +%Y%m%d%H%M` EOS_MGM_URL=root://eosctatape.cern.ch diff --git a/tests/system_tests.cpp b/tests/system_tests.cpp index ad2030cda552e82367f5ffe4a93110638226e4a0..7af40e1cd7eee8e80a9d934c12e18add6a868e42 100644 --- a/tests/system_tests.cpp +++ b/tests/system_tests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/tests/unit_tests.cpp b/tests/unit_tests.cpp index 336b128c4e934ebb0c551dd76ff7bf15e86646ee..f6ad3a7d839386004704bad91518fef6b41ca419 100644 --- a/tests/unit_tests.cpp +++ b/tests/unit_tests.cpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <gtest/gtest.h> diff --git a/version.hpp.in b/version.hpp.in index abba3b778c9048b2dad07698d0105ae2c8403d50..c749a3392b2f25bd5be537eb7ca9ee70e50aac87 100644 --- a/version.hpp.in +++ b/version.hpp.in @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2015 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once @@ -23,4 +22,4 @@ #define CTA_CATALOGUE_SCHEMA_VERSION_MAJOR @CTA_CATALOGUE_SCHEMA_VERSION_MAJOR@ #define CTA_CATALOGUE_SCHEMA_VERSION_MINOR @CTA_CATALOGUE_SCHEMA_VERSION_MINOR@ -#define XROOTD_SSI_PROTOBUF_INTERFACE_VERSION "@XROOTD_SSI_PROTOBUF_INTERFACE_VERSION@" \ No newline at end of file +#define XROOTD_SSI_PROTOBUF_INTERFACE_VERSION "@XROOTD_SSI_PROTOBUF_INTERFACE_VERSION@" diff --git a/xroot_plugins/CMakeLists.txt b/xroot_plugins/CMakeLists.txt index 3d956ce7c9dc014cfb6df2304b102b00b50ec28f..1719de0cf4460b65fc81fe2cb920d821676ffe9b 100644 --- a/xroot_plugins/CMakeLists.txt +++ b/xroot_plugins/CMakeLists.txt @@ -1,18 +1,17 @@ -# The CERN Tape Archive (CTA) project -# Copyright 2018 CERN -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. +# @project The CERN Tape Archive (CTA) +# @copyright Copyright(C) 2018-2021 CERN +# @license This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. cmake_minimum_required (VERSION 2.6) diff --git a/xroot_plugins/GrpcClient.cpp b/xroot_plugins/GrpcClient.cpp index 826058848a9a5703a7ae8647703aa8b73f73349e..3dd44b4d8339fb30f023cd2958b44058c5b7beb5 100644 --- a/xroot_plugins/GrpcClient.cpp +++ b/xroot_plugins/GrpcClient.cpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Obtain metadata from EOS namespace using gRPC - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/GrpcClient.hpp b/xroot_plugins/GrpcClient.hpp index 8f90b0d6b29072294f845faa1b76cd4336e4a1c2..553efe055265769a2dacfcb697a4ffbf05b10917 100644 --- a/xroot_plugins/GrpcClient.hpp +++ b/xroot_plugins/GrpcClient.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief Obtain metadata from EOS namespace using gRPC - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/GrpcEndpoint.cpp b/xroot_plugins/GrpcEndpoint.cpp index a533fe31843d0aba6e350d9c922bcf826de5d9e8..0f0531ec71055e53990d7e6bb3bea4cd98bc6ab0 100644 --- a/xroot_plugins/GrpcEndpoint.cpp +++ b/xroot_plugins/GrpcEndpoint.cpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Frontend Tape Namespace query class - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/GrpcEndpoint.hpp b/xroot_plugins/GrpcEndpoint.hpp index 98b2bc64ff4e1369420c1919749f1809e0ac9ebc..d7a33c31f8cf5827117fc4aca4319b0cc133040e 100644 --- a/xroot_plugins/GrpcEndpoint.hpp +++ b/xroot_plugins/GrpcEndpoint.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Frontend Tape Namespace query class - * @copyright Copyright 2020 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/Namespace.hpp b/xroot_plugins/Namespace.hpp index d7cadb0d135cc8c4dbf0a67eb924591757098f4b..0e9ecd535bf195cd2232325e0d45eb152c0222d9 100644 --- a/xroot_plugins/Namespace.hpp +++ b/xroot_plugins/Namespace.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Frontend Tape Namespace query class - * @copyright Copyright 2020 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/Versions.hpp b/xroot_plugins/Versions.hpp index adf3ecf8035baaf69ee757aa49efd6d7d651c85d..caaceaa8424c6c9849c4863932cedcae3db83608 100644 --- a/xroot_plugins/Versions.hpp +++ b/xroot_plugins/Versions.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/xroot_plugins/XrdCtaAdminLs.hpp b/xroot_plugins/XrdCtaAdminLs.hpp index 4ef232b49ad44fc26b43b00eebdabfcfac812c7c..35abce092799fb4fdcd28d2c9c6465207f0dc320 100644 --- a/xroot_plugins/XrdCtaAdminLs.hpp +++ b/xroot_plugins/XrdCtaAdminLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Admin Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaArchiveRouteLs.hpp b/xroot_plugins/XrdCtaArchiveRouteLs.hpp index 2965f8ba20ed147225a77f3df75c55a4d6c4d026..87528bbc7de9d0d23cea6aa444c107e1a4cbdb36 100644 --- a/xroot_plugins/XrdCtaArchiveRouteLs.hpp +++ b/xroot_plugins/XrdCtaArchiveRouteLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Archive Route Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaDiskSystemLs.hpp b/xroot_plugins/XrdCtaDiskSystemLs.hpp index 79644ee4c219ab12be32318aea7b99a2de3229df..d3015ff6206b66c879061d8bc16dce6a80ce4d76 100644 --- a/xroot_plugins/XrdCtaDiskSystemLs.hpp +++ b/xroot_plugins/XrdCtaDiskSystemLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA TapePool Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaDriveLs.hpp b/xroot_plugins/XrdCtaDriveLs.hpp index 8f0378ff8b704ecddb6f85d6c4a0431eb4459a98..f3d276bff09eeb25beb0ccc88352d533cfdd10be 100644 --- a/xroot_plugins/XrdCtaDriveLs.hpp +++ b/xroot_plugins/XrdCtaDriveLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Drive Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaFailedRequestLs.hpp b/xroot_plugins/XrdCtaFailedRequestLs.hpp index 4ac82c252ff3990822de940956336790f6d212d8..265cfc1e404a4cb453e60aff09badf15f901108c 100644 --- a/xroot_plugins/XrdCtaFailedRequestLs.hpp +++ b/xroot_plugins/XrdCtaFailedRequestLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Frontend Failed Request Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaGroupMountRuleLs.hpp b/xroot_plugins/XrdCtaGroupMountRuleLs.hpp index 38f27b5c5076574cce45cf3adcf32f91c4aa271f..1e3992fbe2f089d4ab584d22db084da10fdd9b16 100644 --- a/xroot_plugins/XrdCtaGroupMountRuleLs.hpp +++ b/xroot_plugins/XrdCtaGroupMountRuleLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Group Mount Rule Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaLogicalLibraryLs.hpp b/xroot_plugins/XrdCtaLogicalLibraryLs.hpp index 7df9a93e69c7e329d6c4cc335fe2053d2ed066ef..fe5126670fb231bee993a5b6580fabe24687ddc1 100644 --- a/xroot_plugins/XrdCtaLogicalLibraryLs.hpp +++ b/xroot_plugins/XrdCtaLogicalLibraryLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Logical Library Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaMediaTypeLs.hpp b/xroot_plugins/XrdCtaMediaTypeLs.hpp index 33204dbd5f550589a1bade24d3ac3c54304574a5..c7a0019065299d2f8cb94e67d9fa6f972d89db4e 100644 --- a/xroot_plugins/XrdCtaMediaTypeLs.hpp +++ b/xroot_plugins/XrdCtaMediaTypeLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Media Type Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaMountPolicyLs.hpp b/xroot_plugins/XrdCtaMountPolicyLs.hpp index 2830a08ee8cc058c7414de9d890389ac7346410b..e74257abf46d41c0d248c17a3ae451f6d56a0ddf 100644 --- a/xroot_plugins/XrdCtaMountPolicyLs.hpp +++ b/xroot_plugins/XrdCtaMountPolicyLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Mount Policy Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaRecycleTapeFileLs.hpp b/xroot_plugins/XrdCtaRecycleTapeFileLs.hpp index 228c17706537024341c5d01a1b3f00b67d38b732..1b8442aa87d22253eca6b93a0818ed151f6bd0c7 100644 --- a/xroot_plugins/XrdCtaRecycleTapeFileLs.hpp +++ b/xroot_plugins/XrdCtaRecycleTapeFileLs.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/xroot_plugins/XrdCtaRepackLs.hpp b/xroot_plugins/XrdCtaRepackLs.hpp index 7d35b1d958e55c5b2a20adce4afc8f2e624d63e5..7f645ca2766c150c952fb844cf52746247ac072a 100644 --- a/xroot_plugins/XrdCtaRepackLs.hpp +++ b/xroot_plugins/XrdCtaRepackLs.hpp @@ -1,19 +1,18 @@ -/** - * The CERN Tape Archive (CTA) project - * Copyright © 2018 CERN +/* + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/xroot_plugins/XrdCtaRequesterMountRuleLs.hpp b/xroot_plugins/XrdCtaRequesterMountRuleLs.hpp index af455befd1f653a60be5f81926e1a1457996a31e..2b2307593c5fe44723b519d584cb7fe9c459a270 100644 --- a/xroot_plugins/XrdCtaRequesterMountRuleLs.hpp +++ b/xroot_plugins/XrdCtaRequesterMountRuleLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Requester Mount Rule Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaSchedulingInfosLs.hpp b/xroot_plugins/XrdCtaSchedulingInfosLs.hpp index 8ae1d7f4f4b09f7a9128a5391697106157b1958a..32faeef2dd7ea24baeeaee2b3b57f81287a3dcdd 100644 --- a/xroot_plugins/XrdCtaSchedulingInfosLs.hpp +++ b/xroot_plugins/XrdCtaSchedulingInfosLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Show Queues stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaShowQueues.hpp b/xroot_plugins/XrdCtaShowQueues.hpp index 4029e25c347fe58ab42e6325ed45d1e2cf56de38..4e6281f1806444c83af7d8822aa422047c8cd199 100644 --- a/xroot_plugins/XrdCtaShowQueues.hpp +++ b/xroot_plugins/XrdCtaShowQueues.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Show Queues stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaStorageClassLs.hpp b/xroot_plugins/XrdCtaStorageClassLs.hpp index c96372b0e07fe4fa771782b30cef4d1912baca27..eef070d75c166007a771760b73f540e44354b813 100644 --- a/xroot_plugins/XrdCtaStorageClassLs.hpp +++ b/xroot_plugins/XrdCtaStorageClassLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Storage Class Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaStream.hpp b/xroot_plugins/XrdCtaStream.hpp index db29e2ac93b10b4046cbd67883a509963bc80917..91e1904385f2398e5990fbbd70af6be348df448e 100644 --- a/xroot_plugins/XrdCtaStream.hpp +++ b/xroot_plugins/XrdCtaStream.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Frontend stream implementation for cta-admin commands - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaTapeFileLs.hpp b/xroot_plugins/XrdCtaTapeFileLs.hpp index c270949f868d8da46e005113383ff76ffcf7f176..032d265afaf98471f66215ac4ef592ddd436fea5 100644 --- a/xroot_plugins/XrdCtaTapeFileLs.hpp +++ b/xroot_plugins/XrdCtaTapeFileLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Frontend Tape File Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaTapeLs.hpp b/xroot_plugins/XrdCtaTapeLs.hpp index 0899a9ce33515e5ad1ffd1e7a675509e2e893096..b834784a0384c06ed8b158aac689c81d87f14150 100644 --- a/xroot_plugins/XrdCtaTapeLs.hpp +++ b/xroot_plugins/XrdCtaTapeLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Tape Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaTapePoolLs.hpp b/xroot_plugins/XrdCtaTapePoolLs.hpp index 6ef6cfc9a38c4f75a59c5d9b19f44598b973111b..f49003d0f7c895300406649cd30964f87aeb74b1 100644 --- a/xroot_plugins/XrdCtaTapePoolLs.hpp +++ b/xroot_plugins/XrdCtaTapePoolLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA TapePool Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdCtaVersion.hpp b/xroot_plugins/XrdCtaVersion.hpp index de33084ecc846d3ce8dcc7d30817bf7063b8b2ba..2e7064caa5fc51abb98a9cf69e82ee2e0c90f780 100644 --- a/xroot_plugins/XrdCtaVersion.hpp +++ b/xroot_plugins/XrdCtaVersion.hpp @@ -1,19 +1,18 @@ /* - * The CERN Tape Archive (CTA) project - * Copyright (C) 2019 CERN + * @project The CERN Tape Archive (CTA) + * @copyright Copyright(C) 2021 CERN + * @license This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once diff --git a/xroot_plugins/XrdCtaVirtualOrganizationLs.hpp b/xroot_plugins/XrdCtaVirtualOrganizationLs.hpp index 602e9b527e93286b4b80f8151eebdeb85d74d883..2779c4fc93b7855684c4d5988eea3677cf200d69 100644 --- a/xroot_plugins/XrdCtaVirtualOrganizationLs.hpp +++ b/xroot_plugins/XrdCtaVirtualOrganizationLs.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA TapePool Ls stream implementation - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdSsiCtaRequestMessage.cpp b/xroot_plugins/XrdSsiCtaRequestMessage.cpp index 63fa578d5770a8ac3d83396c887583b82587b181..a3dba1a078128ff89c8f4def539c675f6a306628 100644 --- a/xroot_plugins/XrdSsiCtaRequestMessage.cpp +++ b/xroot_plugins/XrdSsiCtaRequestMessage.cpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief XRootD EOS Notification handler - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdSsiCtaRequestMessage.hpp b/xroot_plugins/XrdSsiCtaRequestMessage.hpp index d2a698ae8b3cb65f9d601545884c245adab11484..1d0f6222192f51dc366e43327229eea2fc1eb320 100644 --- a/xroot_plugins/XrdSsiCtaRequestMessage.hpp +++ b/xroot_plugins/XrdSsiCtaRequestMessage.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief CTA Frontend Message handler - * @copyright Copyright 2019 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdSsiCtaRequestProc.cpp b/xroot_plugins/XrdSsiCtaRequestProc.cpp index 557ad9e412f9ac14bbf90cf6b481ffe0a6152719..fd5ea720c572e30e40fec54c1db9ef677f412a15 100644 --- a/xroot_plugins/XrdSsiCtaRequestProc.cpp +++ b/xroot_plugins/XrdSsiCtaRequestProc.cpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief XRootD SSI Responder class implementation - * @copyright Copyright 2017 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdSsiCtaServiceProvider.cpp b/xroot_plugins/XrdSsiCtaServiceProvider.cpp index 79376a010d4fb1fe51f85a6fe68ee701f1d989b4..d7bad785fdcd1c775d55e855e921d254fde6e04f 100644 --- a/xroot_plugins/XrdSsiCtaServiceProvider.cpp +++ b/xroot_plugins/XrdSsiCtaServiceProvider.cpp @@ -1,7 +1,6 @@ /* * @project The CERN Tape Archive (CTA) - * @brief XRootD Service Provider class implementation - * @copyright Copyright 2017 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or diff --git a/xroot_plugins/XrdSsiCtaServiceProvider.hpp b/xroot_plugins/XrdSsiCtaServiceProvider.hpp index a24746629467a662447e90c29d1d2543f11fe659..8ef9a0379be63ddbd7ff8da6f93c4999eba2b5aa 100644 --- a/xroot_plugins/XrdSsiCtaServiceProvider.hpp +++ b/xroot_plugins/XrdSsiCtaServiceProvider.hpp @@ -1,7 +1,6 @@ -/*! +/* * @project The CERN Tape Archive (CTA) - * @brief XRootD Service Provider class - * @copyright Copyright © 2021 CERN + * @copyright Copyright(C) 2021 CERN * @license This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or