Skip to content

Commit 1b3984d

Browse files
author
Slimane AMAR
committed
Add a util method to make an http async request in the tests
1 parent b286aba commit 1b3984d

File tree

5 files changed

+97
-395
lines changed

5 files changed

+97
-395
lines changed

src/main/java/org/gridsuite/modification/server/repositories/NetworkModificationRepository.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,6 @@ public Integer getModificationsCount(@NonNull UUID groupUuid, boolean stashed) {
549549
return modificationRepository.countByGroupIdAndStashed(groupUuid, stashed);
550550
}
551551

552-
@Transactional(readOnly = true)
553-
public List<ModificationInfos> getModificationsInfos(@NonNull List<UUID> uuids) {
554-
return getModificationsInfosNonTransactional(uuids);
555-
}
556-
557552
private List<ModificationInfos> getModificationsInfosNonTransactional(List<UUID> uuids) {
558553
// Spring-data findAllById doc says: the order of elements in the result is not guaranteed
559554
Map<UUID, ModificationEntity> entities = modificationRepository.findAllById(uuids)

0 commit comments

Comments
 (0)