diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 7c4461e9f..1cebee6ea 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: core description: APIs to manage configuration for CI and PSP of pagoPA type: application -version: 0.145.0 -appVersion: 0.58.24 +version: 0.146.0 +appVersion: 0.58.24-1-PAGOPA-1770-api-cfg-pag-canali-e-stazioni dependencies: - name: microservice-chart version: 2.8.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 97d27fc3e..404b32661 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -27,7 +27,7 @@ microservice-chart: µservice-chart envSecret: {} image: repository: ghcr.io/pagopa/pagopa-api-config - tag: "0.58.24" + tag: "0.58.24-1-PAGOPA-1770-api-cfg-pag-canali-e-stazioni" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 3458aa93c..92ed8bf62 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -27,7 +27,7 @@ microservice-chart: µservice-chart envSecret: {} image: repository: ghcr.io/pagopa/pagopa-api-config - tag: "0.58.24" + tag: "0.58.24-1-PAGOPA-1770-api-cfg-pag-canali-e-stazioni" pullPolicy: Always livenessProbe: httpGet: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 7a2e97384..7a2fc9e8a 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -27,7 +27,7 @@ microservice-chart: µservice-chart envSecret: {} image: repository: ghcr.io/pagopa/pagopa-api-config - tag: "0.58.24" + tag: "0.58.24-1-PAGOPA-1770-api-cfg-pag-canali-e-stazioni" pullPolicy: Always livenessProbe: httpGet: diff --git a/openapi/openapi.json b/openapi/openapi.json index 641dcc0d5..4700903fa 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "title": "core", "description": "Spring application exposes APIs to manage configuration for CI/PSP on the Nodo dei Pagamenti", "termsOfService": "https://www.pagopa.gov.it/", - "version": "0.58.24" + "version": "0.58.24-1-PAGOPA-1770-api-cfg-pag-canali-e-stazioni" }, "servers": [ { diff --git a/openapi/swagger.json b/openapi/swagger.json index e90a058a3..5fa6f25df 100644 --- a/openapi/swagger.json +++ b/openapi/swagger.json @@ -4,7 +4,7 @@ "description": "Spring application exposes APIs to manage configuration for CI/PSP on the Nodo dei Pagamenti", "termsOfService": "https://www.pagopa.gov.it/", "title": "core", - "version": "0.58.24" + "version": "0.58.24-1-PAGOPA-1770-api-cfg-pag-canali-e-stazioni" }, "host": "localhost:8080", "basePath": "/", diff --git a/pom.xml b/pom.xml index 07446a581..b81589880 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ it.gov.pagopa.apiconfig core - 0.58.24 + 0.58.24-1-PAGOPA-1770-api-cfg-pag-canali-e-stazioni Spring application exposes APIs to manage configuration for CI/PSP on the Nodo dei Pagamenti diff --git a/src/main/java/it/gov/pagopa/apiconfig/core/service/ChannelsService.java b/src/main/java/it/gov/pagopa/apiconfig/core/service/ChannelsService.java index 08768c643..788733d55 100644 --- a/src/main/java/it/gov/pagopa/apiconfig/core/service/ChannelsService.java +++ b/src/main/java/it/gov/pagopa/apiconfig/core/service/ChannelsService.java @@ -33,7 +33,6 @@ import java.util.stream.Collectors; import static it.gov.pagopa.apiconfig.core.util.CommonUtil.deNull; -import static it.gov.pagopa.apiconfig.core.util.CommonUtil.getSort; @Service @Validated @@ -65,7 +64,7 @@ public Channels getChannels( String brokerCode, String brokerDescription, @Valid FilterAndOrder filterAndOrder) { - Pageable pageable = PageRequest.of(pageNumber, limit, getSort(filterAndOrder)); + Pageable pageable = PageRequest.of(pageNumber, limit); Page page = canaliRepository.findAll( CanaliSpecification.filterChannelsByCodeAndBrokerDescriptionFilters( diff --git a/src/main/java/it/gov/pagopa/apiconfig/core/service/StationsService.java b/src/main/java/it/gov/pagopa/apiconfig/core/service/StationsService.java index 5c0cb1c74..440d47c0a 100644 --- a/src/main/java/it/gov/pagopa/apiconfig/core/service/StationsService.java +++ b/src/main/java/it/gov/pagopa/apiconfig/core/service/StationsService.java @@ -79,7 +79,7 @@ public Stations getStations( @Nullable String brokerDescription, @Nullable String creditorInstitutionCode, @Valid FilterAndOrder filterAndOrder) { - Pageable pageable = PageRequest.of(pageNumber, limit, CommonUtil.getSort(filterAndOrder)); + Pageable pageable = PageRequest.of(pageNumber, limit); // convert code to FK Long fkIntermediario = Optional.ofNullable(brokerCode)