Skip to main content

Diagnostyka batch (hangfire)

Maxime avatar
Written by Maxime
Updated over 4 months ago

To tutaj zapytanie żeby wylistować joby jakie poszły per user (to jest to externalUserId nadawane przez API)

1db.getCollection('hangfire.jobGraph').find({Arguments:/regression_AISP_BPKOPLPW_2021-06-30T13:07:03.059Z/i,'CreatedAt':{$gte:new ISODate('2021-08-29 13:55:36.610+02:00')}}) 2

Tutaj zapytanie które wylistuje te główne joby

1db.getCollection('hangfire.jobGraph').find({Arguments:/syncAll/i,'CreatedAt':{$gte:new ISODate('2021-08-29 13:55:36.610+02:00')}}) 2

Zapytanie na wylistowanie czy dany user ma wiecej consentow aktywnych w danych banku (tutaj ID z userservicu)

1db.getCollection('Consent').find({'userId':UUID("8bf40ded-0c73-4523-8326-32ebc0703964"),'bankSwiftCode':'BREXPLPW','status':'Confirmed'}) 2

Did this answer your question?