Skip to content

Commit

Permalink
Next release 2.27 (#513)
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Cialini <[email protected]>
Co-authored-by: Pasquale Spica <[email protected]>
Co-authored-by: pagopa-github-bot <[email protected]>
Co-authored-by: gioelemella <[email protected]>
  • Loading branch information
5 people authored Oct 11, 2024
1 parent c1feebd commit d5b46aa
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 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: pagopa-selfcare-ms-backoffice
description: Microservice that manage api keys for pagopa product from selfcare
type: application
version: 0.411.0
appVersion: "2.26.4"
version: 0.412.0
appVersion: "2.26.3-3-next"
dependencies:
- name: microservice-chart
version: 2.4.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 @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend
tag: "2.26.4"
tag: "2.26.3-3-next"
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 @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend
tag: "2.26.4" #improve
tag: "2.26.3-3-next" #improve
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 @@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-selfcare-ms-backoffice-backend
tag: "2.26.4" #improve
tag: "2.26.3-3-next" #improve
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 @@
"description": "Microservice to manage PagoPA Backoffice",
"termsOfService": "https://www.pagopa.gov.it/",
"title": "SelfCare Backoffice",
"version": "2.26.4"
"version": "2.26.3-3-next"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<version>2.5.14</version>
</parent>
<artifactId>pagopa-selfcare-ms-backoffice</artifactId>
<version>2.26.4</version>
<version>2.26.3-3-next</version>
<name>SelfCare Backoffice</name>
<description>Microservice to manage PagoPA Backoffice</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.regex.Pattern;
import java.util.stream.Collectors;

Expand Down Expand Up @@ -44,8 +45,12 @@ public Taxonomies getTaxonomies(String code, String ec, String macroArea, Boolea
public List<Taxonomy> getTaxonomiesByCodes(List<String> codes) {
return taxonomyRepository.findBySpecificBuiltInDataIn(
codes != null ?
codes.stream().map(code -> Pattern.compile(code.contains("/") ?
"^"+code+"$" : "^[0-9]/"+code+"/$"))
codes.stream().filter(Objects::nonNull).map(code -> {
if (code.contains("/")) {
return Pattern.compile( "^"+code+"$");
}
return Pattern.compile("^[0-9]/"+code+"/$");
})
.toList() : new ArrayList<>()).stream()
.map(elem -> {
Taxonomy taxonomy = modelMapper.map(elem, Taxonomy.class);
Expand Down

0 comments on commit d5b46aa

Please sign in to comment.