-
Notifications
You must be signed in to change notification settings - Fork 2
Implementazione nuova API di anonimizzazione indirizzo #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/PN-17799
Are you sure you want to change the base?
Conversation
1b1eeed to
603a338
Compare
603a338 to
694b5ae
Compare
|
| private String pr; | ||
| @ToString.Exclude @Getter(onMethod=@__({@DynamoDbAttribute(COL_COUNTRY)})) | ||
| private String country; | ||
| @ToString.Exclude @Getter(onMethod=@__({@DynamoDbAttribute(COL_ATTEMPT)})) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stefano-rughetti-nttdata Il @ToString.Exclude è inutile nei nuovi campi.
Inoltre eliminerei il ToString.Exclude anche per pr, city, city2, country
| ) | ||
| .map(response -> { | ||
| log.debug("{} paperRequestId:{} paperAddressId:{}", EXIT_LOG, response.getPaperRequestId(), response.getAddressId()); | ||
| return ResponseEntity.ok(ControllerMapper.createPaperAddressResponse(response)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stefano-rughetti-nttdata più giusto che il mapping lo faccia il service.
| public class ControllerMapper { | ||
| public static PaperAddressResponse createPaperAddressResponse(PaperAddressEntity entity) { | ||
| return new PaperAddressResponse() | ||
| .paperAddressId(entity.getAddressId()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stefano-rughetti-nttdata eliminerei questa classe e farei restituire al service direttamente l'Id



No description provided.