noi-techpark / odh-api-core

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

As a developer i want to find out the effective object changes of the LTS Pushes that are done on ODH and improve the object chnages algorithm if the changes are not relevant for ODH #348

Closed RudiThoeni closed 1 year ago

RudiThoeni commented 1 year ago
RudiThoeni commented 1 year ago

Results:

The most pushes with object changes where on ActivityData, Slopes & Lifts, the state changed from IsOpen: true to IsOpen: false in one day ODH registered ca. 3000 pushes from lts image So I took a slope "Terenten" with LTS RID: EC53959A7BD345093D917A5F8662B716 and examinated further

This example here shows the pushes we get from LTS for this slope where the data changed image

In each Push the state changes from IsOpen : true to IsOpen: false and vice versa.........

I found this strange for a Slope, to exclude some sync errors in ODH i directly retrieved the data from the LTS Interface every 10 minutes so i requested "ActivityDetailRQ" with this ID "EC53959A7BD345093D917A5F8662B716"

For the status i get a alternating IsOpen Info, here the results of my requests (i did a request every 5 minutes ca.)

<Status IsOpen="0" IsPrepared="1" IsEnabled="1" CopyrightChecked="1" IsReadOnly="0" Favourite="0" LastChange="2023-03-08T15:45:18" />
<Status IsOpen="1" IsPrepared="1" IsEnabled="1" CopyrightChecked="1" IsReadOnly="0" Favourite="0" LastChange="2023-03-08T15:49:23" />
<Status IsOpen="0" IsPrepared="1" IsEnabled="1" CopyrightChecked="1" IsReadOnly="0" Favourite="0" LastChange="2023-03-08T15:55:19" />
<Status IsOpen="1" IsPrepared="1" IsEnabled="1" CopyrightChecked="1" IsReadOnly="0" Favourite="0" LastChange="2023-03-08T15:58:54" />
<Status IsOpen="0" IsPrepared="1" IsEnabled="1" CopyrightChecked="1" IsReadOnly="0" Favourite="0" LastChange="2023-03-08T16:05:26" />
<Status IsOpen="1" IsPrepared="1" IsEnabled="1" CopyrightChecked="1" IsReadOnly="0" Favourite="0" LastChange="2023-03-08T16:05:41" />
<Status IsOpen="0" IsPrepared="1" IsEnabled="1" CopyrightChecked="1" IsReadOnly="0" Favourite="0" LastChange="2023-03-08T16:15:22" />
<Status IsOpen="1" IsPrepared="1" IsEnabled="1" CopyrightChecked="1" IsReadOnly="0" Favourite="0" LastChange="2023-03-08T16:21:55" />

I had a look into the Dolomiti Superski Interface to exclude the information provided from DSS is the cause

The ID on DSS is ("pid": 3352, "rid": 10280) But on the DSS Interface i did not see any status change.....

Conclusion: I think in the LTS Sync with Dolomiti Superski there is something wrong with the IsOpen Information. Maybe the DSS Webservice sometimes does not respond and lts sets isopen by default to false instead of keeping the old state...

RudiThoeni commented 1 year ago

fixed by lts, pushes are significantely decreased

RudiThoeni commented 1 year ago

issue on RT https://issues.opendatahub.com/Ticket/Display.html?id=8840

RudiThoeni commented 1 year ago

we decided that customer care takes over and documents this issue as potential success story