noi-techpark / bdp-elaborations

GNU Affero General Public License v3.0
0 stars 4 forks source link

As a Open Data Hub Manager I would like to have the SkyAlps data exported in the GTFS format, so to import them in the Open Trip Planner #18

Closed rcavaliere closed 1 year ago

rcavaliere commented 1 year ago
rcavaliere commented 1 year ago

@dulvui please try to have a look at the work of Gruppo FOS and deploy this application - see https://github.com/noi-techpark/bdp-elaborations/pull/20

dulvui commented 1 year ago

@rcavaliere I merged now and will create the test deployment now.

rcavaliere commented 1 year ago

@dulvui can you please give some priority to this task in the next sprint? I know the issue here with the supplier, but we would like to close this in reasonable short times.

dulvui commented 1 year ago

@rcavaliere Okay, I will gibe it more priority. I will try to finish the s3 bucket upload this afternoon

dulvui commented 1 year ago

@rcavaliere It works now also with S3 bucket upload. I configured a scheduler that uploads every day at midnight 24:00 the files to and S3 bucket. Here a example of the Routes.txt file https://flighdata-skyalps-gtfs-test.s3.eu-west-1.amazonaws.com/Routes.txt Lets check together on Monday if everything is fine and if other things are missing.

rcavaliere commented 1 year ago

@dulvui I have started to test this, but there are a lot of mistakes / missing things with respect of what we specified. I will prepare a detailed summary mail to the supplier

rcavaliere commented 1 year ago

Testing on-going, current development not OK (lot of open points to be fixed), supplier will make a new PR

dulvui commented 1 year ago

@rcavaliere I was now able to merge the new PR and the changes are live in testing. The files are already updated by the new version on the S3 bucket. Can you please check if the files are correct now?

rcavaliere commented 1 year ago

@dulvui thanks! I will test them in the next days, probably on Friday

rcavaliere commented 1 year ago

@dulvui new testing session completed, better but still with issues. Wait for new PR by SkyAlps fixing these last points.

rcavaliere commented 1 year ago

@dulvui 3rd PR available: https://github.com/noi-techpark/bdp-elaborations/pull/26 please integrate it and hope that all remaining issues are solved, I will further test this.

I think we need to discuss tomorrow how to make the GTFS data available, the common way is a ZIP file. In my opinion this elaboration can be triggered every day, and every day a new GTFS export is produced (with a different file name, which includes the data, e.g. "2023-04-27_SkyAlps_GTFS.zip")

ohnewein commented 1 year ago

Providing a ZIP File in some way breaks the concept of "API first" of the Open Data Hub.

Is there really no way to handle this over API calls?

rcavaliere commented 1 year ago

@dulvui testing completed, please put on production (once the user story https://github.com/noi-techpark/com.opendatahub.api.gtfs/issues/1 is implemented)