-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Merge pull request #245 from pagopa/release-uat
feat: Release uat
- Loading branch information
Showing
30 changed files
with
413 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/it/gov/pagopa/admissibility/config/AdmissibilityErrorManagerConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package it.gov.pagopa.admissibility.config; | ||
|
||
import it.gov.pagopa.admissibility.utils.OnboardingConstants; | ||
import it.gov.pagopa.common.web.dto.ErrorDTO; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
public class AdmissibilityErrorManagerConfig { | ||
|
||
@Bean | ||
ErrorDTO defaultErrorDTO() { | ||
return new ErrorDTO( | ||
OnboardingConstants.ExceptionCode.GENERIC_ERROR, | ||
"A generic error occurred" | ||
); | ||
} | ||
|
||
@Bean | ||
ErrorDTO tooManyRequestsErrorDTO() { | ||
return new ErrorDTO(OnboardingConstants.ExceptionCode.TOO_MANY_REQUESTS, "Too Many Requests"); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/it/gov/pagopa/admissibility/connector/repository/DroolsRuleRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package it.gov.pagopa.admissibility.connector.repository; | ||
|
||
import it.gov.pagopa.admissibility.model.DroolsRule; | ||
import org.springframework.data.mongodb.repository.ReactiveMongoRepository; | ||
import it.gov.pagopa.common.reactive.mongo.ReactiveMongoRepositoryExt; | ||
|
||
/** | ||
* it will handle the persistence of {@link it.gov.pagopa.admissibility.model.DroolsRule} entity*/ | ||
public interface DroolsRuleRepository extends ReactiveMongoRepository<DroolsRule, String> { | ||
public interface DroolsRuleRepository extends ReactiveMongoRepositoryExt<DroolsRule, String> { | ||
} |
4 changes: 2 additions & 2 deletions
4
...n/java/it/gov/pagopa/admissibility/connector/repository/InitiativeCountersRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package it.gov.pagopa.admissibility.connector.repository; | ||
|
||
import it.gov.pagopa.admissibility.model.InitiativeCounters; | ||
import org.springframework.data.mongodb.repository.ReactiveMongoRepository; | ||
import it.gov.pagopa.common.reactive.mongo.ReactiveMongoRepositoryExt; | ||
|
||
/** | ||
* it will handle the persistence of {@link InitiativeCounters} entity*/ | ||
public interface InitiativeCountersRepository extends ReactiveMongoRepository<InitiativeCounters, String>, InitiativeCountersReservationOpsRepository { | ||
public interface InitiativeCountersRepository extends ReactiveMongoRepositoryExt<InitiativeCounters, String>, InitiativeCountersReservationOpsRepository { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.