noi-techpark / odh-api-core

.Net Core Port of ODH Tourism Api
2 stars 2 forks source link

Check and Optimize EventShort DeleteDeleteEvents Sync between EBMS and DB #410

Closed RudiThoeni closed 7 months ago

RudiThoeni commented 8 months ago

There is a procedure in the Sync called "Delete Deleted Events" This procedure is there to delete Events that where created by mistake and deleted on EBMS

The EBMS Service did not return this item anymore so it was deleted on the DB........

I have to optimize this procedure maybe to -deactivate the events instead of delete -make some tests because there is some mismatch between time handling on the service and on my DB, i noticed that on midnight it occurs that events are deleted more frequently..... -The Service returns all Events from TODAY and in my DB Query i confront this with all Events from TODAY. All Ids that are no more on the Service are deleted..... so i assume there is some 1 hour timeshift between the two services..

RudiThoeni commented 8 months ago

check active field check Mapping Id

RudiThoeni commented 7 months ago