diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/StatusManagerApplication.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/StatusManagerApplication.java index 9bdc54b..17f7b47 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/StatusManagerApplication.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/StatusManagerApplication.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager; import net.javacrumbs.shedlock.spring.annotation.EnableSchedulerLock; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/IConfigClient.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/IConfigClient.java index cde0f1c..5634483 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/IConfigClient.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/IConfigClient.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.client; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.client; import it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.ConfigItemDTO; import it.finanze.sanita.fse2.ms.gtw.statusmanager.enums.ConfigItemTypeEnum; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/IProcessorClient.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/IProcessorClient.java index c997557..47c7ed4 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/IProcessorClient.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/IProcessorClient.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.client; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.client; import it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx.DeleteTxResDTO; import it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx.GetTxResDTO; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/impl/ConfigClient.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/impl/ConfigClient.java index 69b3ae0..c0220e1 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/impl/ConfigClient.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/impl/ConfigClient.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.client.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.client.impl; import it.finanze.sanita.fse2.ms.gtw.statusmanager.client.IConfigClient; import it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes.ConfigClientRoutes; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/impl/ProcessorClient.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/impl/ProcessorClient.java index 188c675..b870011 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/impl/ProcessorClient.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/impl/ProcessorClient.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.client.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.client.impl; import it.finanze.sanita.fse2.ms.gtw.statusmanager.client.IProcessorClient; import it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes.ProcessorClientRoutes; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/ConfigClientRoutes.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/ConfigClientRoutes.java index e781634..30c8c5d 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/ConfigClientRoutes.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/ConfigClientRoutes.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes; import it.finanze.sanita.fse2.ms.gtw.statusmanager.enums.ConfigItemTypeEnum; import org.springframework.beans.factory.annotation.Value; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/ProcessorClientRoutes.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/ProcessorClientRoutes.java index 679ab55..64fe379 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/ProcessorClientRoutes.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/ProcessorClientRoutes.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes; import it.finanze.sanita.fse2.ms.gtw.statusmanager.config.MicroservicesURLCFG; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/base/ClientRoutes.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/base/ClientRoutes.java index 3dc0323..88a373d 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/base/ClientRoutes.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/client/routes/base/ClientRoutes.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes.base; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.client.routes.base; import lombok.NoArgsConstructor; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/Constants.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/Constants.java index b6c4dd5..0d699bc 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/Constants.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/Constants.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config; /** * Constants application. diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/MicroservicesURLCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/MicroservicesURLCFG.java index 3f18cfd..6bc5baa 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/MicroservicesURLCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/MicroservicesURLCFG.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaConsumerCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaConsumerCFG.java index bf45840..8d521e5 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaConsumerCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaConsumerCFG.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; import java.util.ArrayList; import java.util.HashMap; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaConsumerPropertiesCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaConsumerPropertiesCFG.java index e24045d..43ac877 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaConsumerPropertiesCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaConsumerPropertiesCFG.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; import java.util.List; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaProducerCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaProducerCFG.java index 6008951..815d5bd 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaProducerCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaProducerCFG.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; import java.util.HashMap; import java.util.Map; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaProducerPropertiesCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaProducerPropertiesCFG.java index 30d8383..f5c628b 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaProducerPropertiesCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaProducerPropertiesCFG.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaPropertiesCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaPropertiesCFG.java index 46913f3..1012a3b 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaPropertiesCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaPropertiesCFG.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaTopicCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaTopicCFG.java index 8689c42..a039800 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaTopicCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/KafkaTopicCFG.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config.kafka; import it.finanze.sanita.fse2.ms.gtw.statusmanager.config.Constants; import it.finanze.sanita.fse2.ms.gtw.statusmanager.utility.ProfileUtility; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/oauth2/OAuthBearerTokenImp.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/oauth2/OAuthBearerTokenImp.java index f9ad59d..db52260 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/oauth2/OAuthBearerTokenImp.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/kafka/oauth2/OAuthBearerTokenImp.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/mongo/MongoDatabaseCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/mongo/MongoDatabaseCFG.java index 8096115..f54e188 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/mongo/MongoDatabaseCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/mongo/MongoDatabaseCFG.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config.mongo; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config.mongo; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/mongo/MongoPropertiesCFG.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/mongo/MongoPropertiesCFG.java index 32ec812..227cded 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/mongo/MongoPropertiesCFG.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/config/mongo/MongoPropertiesCFG.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.config.mongo; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.config.mongo; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/ISchedulerActionCTL.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/ISchedulerActionCTL.java index 6f7e26c..31776ec 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/ISchedulerActionCTL.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/ISchedulerActionCTL.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.controller; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.controller; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.media.Content; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/AbstractCTL.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/AbstractCTL.java index 2a8f0c3..84c7803 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/AbstractCTL.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/AbstractCTL.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.controller.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.controller.impl; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/LivenessCheckCTL.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/LivenessCheckCTL.java index 089efc5..68e68d0 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/LivenessCheckCTL.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/LivenessCheckCTL.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.controller.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.controller.impl; import org.springframework.boot.actuate.health.Health; import org.springframework.boot.actuate.health.HealthIndicator; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/SchedulerActionCTL.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/SchedulerActionCTL.java index 1132c3b..7700fa1 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/SchedulerActionCTL.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/controller/impl/SchedulerActionCTL.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.controller.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.controller.impl; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/ConfigItemDTO.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/ConfigItemDTO.java index 9b38396..0ee2633 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/ConfigItemDTO.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/ConfigItemDTO.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/LogDTO.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/LogDTO.java index 545ea25..dcbcca3 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/LogDTO.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/LogDTO.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.dto; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.dto; import lombok.Builder; import lombok.Data; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/LogTraceInfoDTO.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/LogTraceInfoDTO.java index e7210b8..5459c02 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/LogTraceInfoDTO.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/LogTraceInfoDTO.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.dto; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.dto; import lombok.Data; import lombok.EqualsAndHashCode; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/DeleteTxResDTO.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/DeleteTxResDTO.java index dc5b440..d6899fd 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/DeleteTxResDTO.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/DeleteTxResDTO.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/GetTxResDTO.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/GetTxResDTO.java index de4f8d9..65c0024 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/GetTxResDTO.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/GetTxResDTO.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/TxLinksDTO.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/TxLinksDTO.java index b50ebca..247aceb 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/TxLinksDTO.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/dto/client/processor/res/tx/TxLinksDTO.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx; import lombok.Getter; import lombok.Setter; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/enums/ActionRes.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/enums/ActionRes.java index 7adcf3c..1a1bbf0 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/enums/ActionRes.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/enums/ActionRes.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.enums; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.enums; public enum ActionRes { OK, diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/enums/ConfigItemTypeEnum.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/enums/ConfigItemTypeEnum.java index 0b674b3..adaf39b 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/enums/ConfigItemTypeEnum.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/enums/ConfigItemTypeEnum.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/BusinessException.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/BusinessException.java index b608b29..f5e60f8 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/BusinessException.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/BusinessException.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.exceptions; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.exceptions; /** * Generic business exception. diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/OperationException.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/OperationException.java index c7da462..0783732 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/OperationException.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/OperationException.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.exceptions; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.exceptions; import com.mongodb.MongoException; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/RemoteServiceNotAvailableException.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/RemoteServiceNotAvailableException.java index 9dbc183..281212b 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/RemoteServiceNotAvailableException.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/exceptions/RemoteServiceNotAvailableException.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.exceptions; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.exceptions; public class RemoteServiceNotAvailableException extends RuntimeException { diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/CollectionNaming.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/CollectionNaming.java index af2968c..189fdbb 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/CollectionNaming.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/CollectionNaming.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.repository; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.repository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/entity/FhirEvent.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/entity/FhirEvent.java index b305ad8..1800f13 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/entity/FhirEvent.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/entity/FhirEvent.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.repository.entity; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.repository.entity; import java.util.Date; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/mongo/ITransactionEventsRepo.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/mongo/ITransactionEventsRepo.java index b7a2019..9939577 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/mongo/ITransactionEventsRepo.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/mongo/ITransactionEventsRepo.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.repository.mongo; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.repository.mongo; import java.util.Date; import java.util.List; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/mongo/impl/TransactionEventsRepo.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/mongo/impl/TransactionEventsRepo.java index 365ae71..cf7ae3a 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/mongo/impl/TransactionEventsRepo.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/repository/mongo/impl/TransactionEventsRepo.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.repository.mongo.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.repository.mongo.impl; import com.mongodb.MongoException; import it.finanze.sanita.fse2.ms.gtw.statusmanager.exceptions.BusinessException; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/TxScheduler.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/TxScheduler.java index c2a5f89..dc1245f 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/TxScheduler.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/TxScheduler.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler; import it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.executors.impl.TxExecutor; import lombok.extern.slf4j.Slf4j; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/ActionBuilderEDS.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/ActionBuilderEDS.java index 2c0a399..c0f4e1e 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/ActionBuilderEDS.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/ActionBuilderEDS.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.actions; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.actions; import it.finanze.sanita.fse2.ms.gtw.statusmanager.enums.ActionRes; import it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.actions.base.IActionStepEDS; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/base/IActionStepEDS.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/base/IActionStepEDS.java index 9c40302..538762d 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/base/IActionStepEDS.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/base/IActionStepEDS.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.actions.base; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.actions.base; import it.finanze.sanita.fse2.ms.gtw.statusmanager.enums.ActionRes; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/base/IExecutableEDS.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/base/IExecutableEDS.java index 75f64d3..f3b4b78 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/base/IExecutableEDS.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/actions/base/IExecutableEDS.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.actions.base; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.actions.base; import it.finanze.sanita.fse2.ms.gtw.statusmanager.enums.ActionRes; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/executors/base/LExecutor.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/executors/base/LExecutor.java index 2164e6f..f3efd8a 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/executors/base/LExecutor.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/executors/base/LExecutor.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.executors.base; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.executors.base; import it.finanze.sanita.fse2.ms.gtw.statusmanager.enums.ActionRes; import it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.actions.ActionBuilderEDS; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/executors/impl/TxExecutor.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/executors/impl/TxExecutor.java index 63c4a96..f73747d 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/executors/impl/TxExecutor.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/scheduler/executors/impl/TxExecutor.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.executors.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.scheduler.executors.impl; import it.finanze.sanita.fse2.ms.gtw.statusmanager.client.IProcessorClient; import it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx.DeleteTxResDTO; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/IConfigSRV.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/IConfigSRV.java index 04b2cb0..9ddf9d7 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/IConfigSRV.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/IConfigSRV.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.service; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.service; public interface IConfigSRV { Integer getExpirationDate(); diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/IKafkaReceiverSRV.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/IKafkaReceiverSRV.java index ede5e81..7752f99 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/IKafkaReceiverSRV.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/IKafkaReceiverSRV.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.service; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.service; import org.apache.kafka.clients.consumer.ConsumerRecord; import org.springframework.messaging.MessageHeaders; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/ITransactionEventsSRV.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/ITransactionEventsSRV.java index d1f97b1..034ab4b 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/ITransactionEventsSRV.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/ITransactionEventsSRV.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.service; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.service; import java.io.Serializable; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/AbstractService.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/AbstractService.java index 91ffbcf..cff8807 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/AbstractService.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/AbstractService.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.service.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.service.impl; import java.io.Serializable; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/ConfigSRV.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/ConfigSRV.java index 3140f77..b9bf25a 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/ConfigSRV.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/ConfigSRV.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.service.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.service.impl; import it.finanze.sanita.fse2.ms.gtw.statusmanager.client.IConfigClient; import it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.ConfigItemDTO; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/KafkaReceiverSRV.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/KafkaReceiverSRV.java index 53ba1d3..941d9d4 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/KafkaReceiverSRV.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/KafkaReceiverSRV.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.service.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.service.impl; import org.apache.kafka.clients.consumer.ConsumerRecord; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/TransactionEventsSRV.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/TransactionEventsSRV.java index bba1ff3..4b3fadf 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/TransactionEventsSRV.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/service/impl/TransactionEventsSRV.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.service.impl; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.service.impl; import it.finanze.sanita.fse2.ms.gtw.statusmanager.exceptions.BusinessException; import it.finanze.sanita.fse2.ms.gtw.statusmanager.repository.mongo.ITransactionEventsRepo; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/DateUtility.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/DateUtility.java index c615e74..31d94a6 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/DateUtility.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/DateUtility.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.utility; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.utility; import java.time.OffsetDateTime; import java.time.ZoneOffset; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/FileUtility.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/FileUtility.java index 51c09ca..0f69d35 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/FileUtility.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/FileUtility.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.utility; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.utility; import java.io.ByteArrayOutputStream; import java.io.InputStream; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/ProfileUtility.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/ProfileUtility.java index 441c125..70b2209 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/ProfileUtility.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/ProfileUtility.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.utility; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.utility; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.env.Environment; diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/StringUtility.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/StringUtility.java index 686c0d2..01fd603 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/StringUtility.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/utility/StringUtility.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager.utility; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager.utility; public final class StringUtility { diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/AbstractConfig.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/AbstractConfig.java index 13838a9..1c7852a 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/AbstractConfig.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/AbstractConfig.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigClientTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigClientTest.java index a9e26c8..01562da 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigClientTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigClientTest.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigItemTypeEnumTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigItemTypeEnumTest.java index dee7846..7ad98cc 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigItemTypeEnumTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigItemTypeEnumTest.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigTest.java index 6f036f3..b3480c4 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/ConfigTest.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/CustomAuthenticateCallbackHandlerTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/CustomAuthenticateCallbackHandlerTest.java index 24a0426..7b653fa 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/CustomAuthenticateCallbackHandlerTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/CustomAuthenticateCallbackHandlerTest.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/KafkaReceiverTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/KafkaReceiverTest.java index f45ae66..929c1f1 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/KafkaReceiverTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/KafkaReceiverTest.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertThrows; diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/LivenessCheckCTLTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/LivenessCheckCTLTest.java index fb2628b..8a164ad 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/LivenessCheckCTLTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/LivenessCheckCTLTest.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/RepoTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/RepoTest.java index e3eb1df..930e4de 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/RepoTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/RepoTest.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.BDDMockito.given; diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/SchedulerActionCTLTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/SchedulerActionCTLTest.java index fa9ba7d..79b3c59 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/SchedulerActionCTLTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/SchedulerActionCTLTest.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/StringUtilityTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/StringUtilityTest.java index 62bf4e9..4741904 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/StringUtilityTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/StringUtilityTest.java @@ -1,3 +1,4 @@ + /* * SPDX-License-Identifier: AGPL-3.0-or-later * diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/TestUtility.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/TestUtility.java index a7e4744..494e39e 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/TestUtility.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/TestUtility.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager; import it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx.DeleteTxResDTO; import it.finanze.sanita.fse2.ms.gtw.statusmanager.dto.client.processor.res.tx.GetTxResDTO; diff --git a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/TxExecutorTest.java b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/TxExecutorTest.java index a340b0b..7b12909 100644 --- a/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/TxExecutorTest.java +++ b/src/test/java/it/finanze/sanita/fse2/ms/gtw/statusmanager/TxExecutorTest.java @@ -1,4 +1,15 @@ - it.finanze.sanita.fse2.ms.gtw.statusmanager; +/* + * SPDX-License-Identifier: AGPL-3.0-or-later + * + * Copyright (C) 2023 Ministero della Salute + * + * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License along with this program. If not, see . + */ +package it.finanze.sanita.fse2.ms.gtw.statusmanager; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.ArgumentMatchers.eq;