Closed davidebz closed 2 years ago
Hi @davidebz, please open a PR... (https://github.com/noi-techpark/odh-docs/wiki/Contributor-Guidelines:-Getting-started#source-code)
@Piiit @dulvui please also ensure to cancel all the predictions that were imported with the deployment of this component, so that we have clean predictions in production once we deploy this
I have send the pull request on the main branch, I hope is ok. Sincerely I have not testet the fix. Please inform us when is in production so we can immediately check that is correct
I stopped the running data-collectors in testing and production. I will delete the data first in the testing db, check that everything is fine and then delete the data in production. Deleting data takes a lot of time (the delete queries need some hours) so we will probably be ready on Monday to merge this PR and redo the deployment with the bugfixe. @davidebz I'll let you know when the bugfix is running on testing, so you can check if everything works fine
I deleted now all files on testing and the PR is merged and running there. @davidebz Probably tomorrow I can merge into production, so you can check
@dulvui let us integrate a small time series in the testing environment so to compare the different forecasts in the time domain using analytics. Once we are sure that everything now works as expected, let's put in production (I would suggest begin of next week).
@rcavaliere Okay that works fine
@davidebz I think that the forecasts still have issues in the timestamp considered, have a look at this example:
You need to compare the forecasts to "occupied" instead of "free", then it looks OK:
Actually there are no current forecasts, but that might be because it was a test.
-- Chris
Ah sorry you are right, I compared the wrong type. Looks fine, @dulvui we can put this in production
@davidebz @rcavaliere The dc is now running in production and it looks fine. Please check if everything is correct.
@dulvui perfect! Now it works as expected. Thanks for your work, integration completed.
To fix please change the MainParkingForecast.java class at line 89
from
new SimpleRecordDto(timestampMillis, propertyValue, datatypeConfiguration.getPeriod()));
to
new SimpleRecordDto(forecastDatatypeTimestamp.toInstant().toEpochMilli(), propertyValue, datatypeConfiguration.getPeriod()));