Skip to content

Commit

Permalink
Added gpuData into OnboardingResourceMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
giampieroferrara committed Nov 27, 2024
1 parent 21b1b90 commit 02894ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import io.swagger.annotations.ApiModelProperty;
import it.pagopa.selfcare.onboarding.common.InstitutionType;
import it.pagopa.selfcare.onboarding.connector.model.onboarding.GPUData;
import lombok.Data;

import javax.validation.Valid;
Expand Down Expand Up @@ -74,4 +75,7 @@ public class OnboardingProductDto {

@ApiModelProperty(value = "${swagger.onboarding.institutions.model.aggregates}")
private List<AggregateInstitution> aggregates;

@ApiModelProperty(value = "${swagger.onboarding.institutions.model.gpuData}")
private GPUData gpuData;
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public interface OnboardingResourceMapper {
@Mapping(source = "assistanceContacts.supportEmail", target = "institutionUpdate.supportEmail")
@Mapping(source = "assistanceContacts.supportPhone", target = "institutionUpdate.supportPhone")
@Mapping(source = "additionalInformations", target = "institutionUpdate.additionalInformations")
@Mapping(source = "gpuData", target = "institutionUpdate.gpuData")
@Mapping(source = "originId", target = "originId")
OnboardingData toEntity(OnboardingProductDto dto);

Expand Down
1 change: 1 addition & 0 deletions web/src/main/resources/swagger/swagger_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ swagger.onboarding.institutions.model.vatNumber=Institution's VAT number
swagger.onboarding.institutions.model.publicServices=Institution's service type
swagger.onboarding.institutions.model.pricingPlan=Product's pricing plan
swagger.onboarding.institutions.model.origin=Institution data origin
swagger.onboarding.institutions.model.gpuData=Institution's GPU data
swagger.onboarding.institutions.model.institutionType=Institution's type
swagger.onboarding.institutions.model.userRole=Logged user's role
swagger.onboarding.institutions.model.pspData=Payment Service Provider (PSP) specific data
Expand Down

0 comments on commit 02894ed

Please sign in to comment.