-
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.
chore: logging drools rules deleted by command (#239)
* logging drools rules deleted by command * logging drools rules deleted by command * logging drools rules deleted by command
- Loading branch information
1 parent
42f4d01
commit eb20c3b
Showing
12 changed files
with
67 additions
and
26 deletions.
There are no files selected for viewing
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
11 changes: 11 additions & 0 deletions
11
src/main/java/it/gov/pagopa/common/reactive/mongo/ReactiveMongoRepositoryExt.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,11 @@ | ||
package it.gov.pagopa.common.reactive.mongo; | ||
|
||
import com.mongodb.client.result.DeleteResult; | ||
import org.springframework.data.mongodb.repository.ReactiveMongoRepository; | ||
import org.springframework.data.repository.NoRepositoryBean; | ||
import reactor.core.publisher.Mono; | ||
|
||
@NoRepositoryBean | ||
public interface ReactiveMongoRepositoryExt<T, ID> extends ReactiveMongoRepository<T, ID> { | ||
Mono<DeleteResult> removeById(ID id); | ||
} |
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