Skip to content

Commit b7e2b8f

Browse files
authored
Merge pull request #146 from pagopa/release-uat
fix: Promote to main
2 parents b311920 + 5575b58 commit b7e2b8f

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Build
33
#
4-
FROM maven:3.9.6-amazoncorretto-17-al2023@sha256:9ace9c9e506877b0e1877a7f709fa9dc7895d5fbdcc93d4170dfb3d25e2839e9 AS buildtime
4+
FROM maven:3.9.6-amazoncorretto-17-al2023@sha256:459be099faa25a32c06cd45ed1ef2bc9dbbf8a5414da4e72349459a1bb4d6166 AS buildtime
55

66
WORKDIR /build
77
COPY . .
@@ -11,7 +11,7 @@ RUN mvn clean package -DskipTests
1111
#
1212
# Docker RUNTIME
1313
#
14-
FROM amazoncorretto:17.0.9-alpine3.18@sha256:ed14b8c2f00dbb7b94446aa01d00583976ff0eda2577f5474035f3b4cf078dfd AS runtime
14+
FROM amazoncorretto:17-alpine3.19@sha256:539a0a188ce5a2bed985aa311e9a26d473c6c3f37d08d4fc8b6cf6c18075b9ab AS runtime
1515

1616
RUN apk --no-cache add shadow
1717
RUN useradd --uid 10000 runner

helm/values.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,23 @@ microservice-chart:
6767
TZ: TZ
6868
idpay-eventhub-01:
6969
KAFKA_BINDER_BROKER_ENDPOINT_REWARD_TRX: kafka_broker
70-
KAFKA_TRANSACTIONS_SASL_MECHANISM: kafka_sasl_mechanism
7170
KAFKA_TRANSACTIONS_SECURITY_PROTOCOL: kafka_security_protocol
72-
KAFKA_TRANSACTION_TOPIC: idpay_transaction_topic
73-
KAFKA_TRANSACTION_GROUP_ID: idpay_transaction_consumer_group
7471
KAFKA_ERRORS_BROKER: kafka_broker
7572
KAFKA_ERRORS_TOPIC: idpay_error_topic
7673
KAFKA_COMMANDS_BROKER: kafka_broker
7774
KAFKA_COMMANDS_TOPIC: idpay_commands_topic
75+
idpay-eventhub-00:
76+
KAFKA_TRANSACTIONS_BROKER: kafka_broker
77+
KAFKA_TRANSACTIONS_SASL_MECHANISM_00: kafka_sasl_mechanism
78+
KAFKA_TRANSACTION_TOPIC: idpay_transaction_topic
79+
KAFKA_TRANSACTION_GROUP_ID: idpay_transaction_consumer_group
80+
7881
rest-client:
7982
PDV_BASE_URL: pdv_decrypt_base_url
8083

8184
envSecret:
8285
MONGODB_URI: mongodb-connection-string
83-
EVH_CONNECTION_REWARD_RESPONSE: evh-idpay-transaction-idpay-transaction-consumer-jaas-config-idpay-01
86+
EVH_CONNECTION_REWARD_RESPONSE: evh-idpay-transaction-idpay-transaction-consumer-jaas-config-idpay-00
8487
KAFKA_ERRORS_SASL_JAAS_CONFIG: evh-idpay-errors-idpay-errors-producer-jaas-config-idpay-01
8588
KAFKA_COMMANDS_SASL_JAAS_CONFIG: evh-idpay-commands-idpay-commands-consumer-jaas-config-idpay-01
8689
PDV_DECRYPT_API_KEY: pdv-api-key

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.1.7</version>
8+
<version>3.1.8</version>
99
</parent>
1010

1111
<groupId>it.gov.pagopa</groupId>
1212
<artifactId>idpay-transactions</artifactId>
1313
<name>idpay-transactions</name>
1414
<description>Transactions Microservice</description>
15-
<version>1.2.0</version>
15+
<version>1.2.1</version>
1616

1717
<properties>
1818
<java.version>17</java.version>

src/main/java/it/gov/pagopa/idpay/transactions/dto/RewardTransactionDTO.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package it.gov.pagopa.idpay.transactions.dto;
22

3+
import com.fasterxml.jackson.annotation.JsonAlias;
34
import it.gov.pagopa.idpay.transactions.model.RefundInfo;
45
import it.gov.pagopa.idpay.transactions.model.Reward;
56
import lombok.AllArgsConstructor;
@@ -20,6 +21,7 @@
2021
@Builder
2122
public class RewardTransactionDTO {
2223

24+
@JsonAlias("_id")
2325
private String id;
2426
private String idTrxAcquirer;
2527
private String acquirerCode;

src/main/resources/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spring:
5050
type: kafka
5151
environment:
5252
spring.cloud.stream.kafka.binder:
53-
brokers: ${KAFKA_BINDER_BROKER_ENDPOINT_REWARD_TRX:${KAFKA_BROKER:}}
53+
brokers: ${KAFKA_TRANSACTIONS_BROKER:${KAFKA_BROKER:}}
5454
configuration:
5555
sasl.jaas.config: ${EVH_CONNECTION_REWARD_RESPONSE:}
5656
kafka-errors:
@@ -75,7 +75,7 @@ spring:
7575
heartbeat.interval.ms: ${KAFKA_TRANSACTIONS_BINDER_CONFIGURATION_HEARTBEAT_INTERVAL_MS:3000}
7676
session.timeout.ms: ${KAFKA_TRANSACTIONS_BINDER_CONFIGURATION_SESSION_TIMEOUT_MS:60000}
7777
request.timeout.ms: ${KAFKA_CONFIG_REQUEST_TIMEOUT_MS:60000}
78-
sasl.mechanism: ${KAFKA_TRANSACTIONS_SASL_MECHANISM:PLAIN}
78+
sasl.mechanism: ${KAFKA_TRANSACTIONS_SASL_MECHANISM_00:PLAIN}
7979
security.protocol: ${KAFKA_TRANSACTIONS_SECURITY_PROTOCOL:SASL_SSL}
8080
connections.max.idle.ms: ${KAFKA_CONFIG_CONNECTION_MAX_IDLE_TIME:180000}
8181
metadata.max.idle.ms: ${KAFKA_CONFIG_METADATA_MAX_IDLE_MS:180000}

0 commit comments

Comments
 (0)