diff --git a/src/main/java/org/gridsuite/studyconfig/server/controller/NetworkVisualizationsParamController.java b/src/main/java/org/gridsuite/studyconfig/server/controller/NetworkVisualizationsParamController.java index 80501b7..65253a6 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/controller/NetworkVisualizationsParamController.java +++ b/src/main/java/org/gridsuite/studyconfig/server/controller/NetworkVisualizationsParamController.java @@ -4,7 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.controller; +package org.gridsuite.studyconfig.server.controller; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; @@ -14,9 +14,9 @@ import io.swagger.v3.oas.annotations.tags.Tag; import jakarta.validation.Valid; import lombok.RequiredArgsConstructor; -import org.gridsuite.spreadsheetconfig.server.SpreadsheetConfigApi; -import org.gridsuite.spreadsheetconfig.server.dto.NetworkVisualizationParamInfos; -import org.gridsuite.spreadsheetconfig.server.service.NetworkVisualizationsParamService; +import org.gridsuite.studyconfig.server.StudyConfigApi; +import org.gridsuite.studyconfig.server.dto.NetworkVisualizationParamInfos; +import org.gridsuite.studyconfig.server.service.NetworkVisualizationsParamService; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.DeleteMapping; @@ -37,7 +37,7 @@ * @author David BRAQUART */ @RestController -@RequestMapping(value = "/" + SpreadsheetConfigApi.API_VERSION + "/network-visualizations-params") +@RequestMapping(value = "/" + StudyConfigApi.API_VERSION + "/network-visualizations-params") @RequiredArgsConstructor @Tag(name = "Network Visualizations Params", description = "Network Visualizations Parameters API") public class NetworkVisualizationsParamController { diff --git a/src/main/java/org/gridsuite/studyconfig/server/dto/MapParamInfos.java b/src/main/java/org/gridsuite/studyconfig/server/dto/MapParamInfos.java index 9cbc619..380e14a 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/dto/MapParamInfos.java +++ b/src/main/java/org/gridsuite/studyconfig/server/dto/MapParamInfos.java @@ -4,7 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.dto; +package org.gridsuite.studyconfig.server.dto; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/src/main/java/org/gridsuite/studyconfig/server/dto/NetworkAreaDiagramParamInfos.java b/src/main/java/org/gridsuite/studyconfig/server/dto/NetworkAreaDiagramParamInfos.java index ec15cb4..7571a8e 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/dto/NetworkAreaDiagramParamInfos.java +++ b/src/main/java/org/gridsuite/studyconfig/server/dto/NetworkAreaDiagramParamInfos.java @@ -4,7 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.dto; +package org.gridsuite.studyconfig.server.dto; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/src/main/java/org/gridsuite/studyconfig/server/dto/NetworkVisualizationParamInfos.java b/src/main/java/org/gridsuite/studyconfig/server/dto/NetworkVisualizationParamInfos.java index 60d2ffb..cc70072 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/dto/NetworkVisualizationParamInfos.java +++ b/src/main/java/org/gridsuite/studyconfig/server/dto/NetworkVisualizationParamInfos.java @@ -4,7 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.dto; +package org.gridsuite.studyconfig.server.dto; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/src/main/java/org/gridsuite/studyconfig/server/dto/SingleLineDiagramParamInfos.java b/src/main/java/org/gridsuite/studyconfig/server/dto/SingleLineDiagramParamInfos.java index 67807ae..7b9ebd9 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/dto/SingleLineDiagramParamInfos.java +++ b/src/main/java/org/gridsuite/studyconfig/server/dto/SingleLineDiagramParamInfos.java @@ -4,7 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.dto; +package org.gridsuite.studyconfig.server.dto; import io.swagger.v3.oas.annotations.media.Schema; diff --git a/src/main/java/org/gridsuite/studyconfig/server/entities/NetworkVisualizationParamEntity.java b/src/main/java/org/gridsuite/studyconfig/server/entities/NetworkVisualizationParamEntity.java index 355b90f..0ef9e0d 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/entities/NetworkVisualizationParamEntity.java +++ b/src/main/java/org/gridsuite/studyconfig/server/entities/NetworkVisualizationParamEntity.java @@ -4,7 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.entities; +package org.gridsuite.studyconfig.server.entities; import jakarta.persistence.*; import lombok.AllArgsConstructor; diff --git a/src/main/java/org/gridsuite/studyconfig/server/mapper/NetworkVisualizationParamMapper.java b/src/main/java/org/gridsuite/studyconfig/server/mapper/NetworkVisualizationParamMapper.java index df06b7e..57dd810 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/mapper/NetworkVisualizationParamMapper.java +++ b/src/main/java/org/gridsuite/studyconfig/server/mapper/NetworkVisualizationParamMapper.java @@ -4,13 +4,13 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.mapper; +package org.gridsuite.studyconfig.server.mapper; -import org.gridsuite.spreadsheetconfig.server.dto.MapParamInfos; -import org.gridsuite.spreadsheetconfig.server.dto.NetworkAreaDiagramParamInfos; -import org.gridsuite.spreadsheetconfig.server.dto.NetworkVisualizationParamInfos; -import org.gridsuite.spreadsheetconfig.server.dto.SingleLineDiagramParamInfos; -import org.gridsuite.spreadsheetconfig.server.entities.NetworkVisualizationParamEntity; +import org.gridsuite.studyconfig.server.dto.MapParamInfos; +import org.gridsuite.studyconfig.server.dto.NetworkAreaDiagramParamInfos; +import org.gridsuite.studyconfig.server.dto.NetworkVisualizationParamInfos; +import org.gridsuite.studyconfig.server.dto.SingleLineDiagramParamInfos; +import org.gridsuite.studyconfig.server.entities.NetworkVisualizationParamEntity; /** * @author David BRAQUART diff --git a/src/main/java/org/gridsuite/studyconfig/server/repositories/NetworkVisualizationParamRepository.java b/src/main/java/org/gridsuite/studyconfig/server/repositories/NetworkVisualizationParamRepository.java index bb92251..e6a03b6 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/repositories/NetworkVisualizationParamRepository.java +++ b/src/main/java/org/gridsuite/studyconfig/server/repositories/NetworkVisualizationParamRepository.java @@ -4,9 +4,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.repositories; +package org.gridsuite.studyconfig.server.repositories; -import org.gridsuite.spreadsheetconfig.server.entities.NetworkVisualizationParamEntity; +import org.gridsuite.studyconfig.server.entities.NetworkVisualizationParamEntity; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; diff --git a/src/main/java/org/gridsuite/studyconfig/server/service/NetworkVisualizationsParamService.java b/src/main/java/org/gridsuite/studyconfig/server/service/NetworkVisualizationsParamService.java index ef60cf3..dc1b078 100644 --- a/src/main/java/org/gridsuite/studyconfig/server/service/NetworkVisualizationsParamService.java +++ b/src/main/java/org/gridsuite/studyconfig/server/service/NetworkVisualizationsParamService.java @@ -4,14 +4,14 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server.service; +package org.gridsuite.studyconfig.server.service; import jakarta.persistence.EntityNotFoundException; import lombok.RequiredArgsConstructor; -import org.gridsuite.spreadsheetconfig.server.dto.NetworkVisualizationParamInfos; -import org.gridsuite.spreadsheetconfig.server.entities.NetworkVisualizationParamEntity; -import org.gridsuite.spreadsheetconfig.server.mapper.NetworkVisualizationParamMapper; -import org.gridsuite.spreadsheetconfig.server.repositories.NetworkVisualizationParamRepository; +import org.gridsuite.studyconfig.server.dto.NetworkVisualizationParamInfos; +import org.gridsuite.studyconfig.server.entities.NetworkVisualizationParamEntity; +import org.gridsuite.studyconfig.server.mapper.NetworkVisualizationParamMapper; +import org.gridsuite.studyconfig.server.repositories.NetworkVisualizationParamRepository; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; diff --git a/src/test/java/org/gridsuite/studyconfig/server/NetworkVisualizationParamsIntegrationTest.java b/src/test/java/org/gridsuite/studyconfig/server/NetworkVisualizationParamsIntegrationTest.java index d1e2049..44e5df7 100644 --- a/src/test/java/org/gridsuite/studyconfig/server/NetworkVisualizationParamsIntegrationTest.java +++ b/src/test/java/org/gridsuite/studyconfig/server/NetworkVisualizationParamsIntegrationTest.java @@ -4,15 +4,15 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -package org.gridsuite.spreadsheetconfig.server; +package org.gridsuite.studyconfig.server; import com.fasterxml.jackson.databind.ObjectMapper; -import org.gridsuite.spreadsheetconfig.server.dto.MapParamInfos; -import org.gridsuite.spreadsheetconfig.server.dto.NetworkAreaDiagramParamInfos; -import org.gridsuite.spreadsheetconfig.server.dto.NetworkVisualizationParamInfos; -import org.gridsuite.spreadsheetconfig.server.dto.SingleLineDiagramParamInfos; -import org.gridsuite.spreadsheetconfig.server.repositories.NetworkVisualizationParamRepository; -import org.gridsuite.spreadsheetconfig.server.service.NetworkVisualizationsParamService; +import org.gridsuite.studyconfig.server.dto.MapParamInfos; +import org.gridsuite.studyconfig.server.dto.NetworkAreaDiagramParamInfos; +import org.gridsuite.studyconfig.server.dto.NetworkVisualizationParamInfos; +import org.gridsuite.studyconfig.server.dto.SingleLineDiagramParamInfos; +import org.gridsuite.studyconfig.server.repositories.NetworkVisualizationParamRepository; +import org.gridsuite.studyconfig.server.service.NetworkVisualizationsParamService; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired;