Skip to content

Commit

Permalink
feature: remove unused query method
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-spierefka committed Apr 18, 2024
1 parent 4cd74a5 commit 9ec9733
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public interface MessageStateMongoRepo extends MongoRepository<MessageStateMongo
Slice<MessageStateMongoDocument> findStatusFailedWithCallbackExceptionAsc();
@Query(value = "{ \"error.type\": \"de.telekom.horizon.dude.exception.CallbackUrlNotFoundException\" , \"status\": { \"$eq\": \"FAILED\" } }", sort = "{timestamp: 1}")
Slice<MessageStateMongoDocument> findStatusFailedWithCallbackExceptionAsc(Pageable pageable);
@Query(value = "{ \"error.type\": \"de.telekom.horizon.dude.exception.CallbackUrlNotFoundException\" , \"status\": { \"$eq\": \"FAILED\" } }", sort = "{timestamp: 1}")
Slice<MessageStateMongoDocument> findByFailedWithCallbackExceptionAndSubscriptionIdsAndTimestampLessThanEqual(Status status, List<String> subscriptionIds, Date upperTimestampThreshold, Pageable pageable);

@Query(value = "{status: {$in: ?0}, deliveryType: ?1, subscriptionId: ?2}", sort = "{timestamp: 1}")
List<MessageStateMongoDocument> findByStatusInAndDeliveryTypeAndSubscriptionIdAsc(List<Status> status, DeliveryType deliveryType, String subscriptionId);
Expand Down

0 comments on commit 9ec9733

Please sign in to comment.