Skip to content

Commit

Permalink
Merge pull request #301 from pagopa/PAGOPA-1770-api-cfg-pag-canali-e-…
Browse files Browse the repository at this point in the history
…stazioni

Pagopa 1770 api cfg pag canali e stazioni
  • Loading branch information
FedericoRuzzier authored May 31, 2024
2 parents b2d4c5b + f03d2b8 commit b78c779
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ microservice-chart: &microservice-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:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ microservice-chart: &microservice-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:
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ microservice-chart: &microservice-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:
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "/",
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>it.gov.pagopa.apiconfig</groupId>
<artifactId>core</artifactId>
<version>0.58.24</version>
<version>0.58.24-1-PAGOPA-1770-api-cfg-pag-canali-e-stazioni</version>
<description>Spring application exposes APIs to manage configuration for CI/PSP on the Nodo dei Pagamenti</description>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<Canali> page =
canaliRepository.findAll(
CanaliSpecification.filterChannelsByCodeAndBrokerDescriptionFilters(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b78c779

Please sign in to comment.