Code Monkey home page Code Monkey logo

transitime's People

Contributors

carabalb avatar changtung avatar edsfocci avatar egan109 avatar gelinger777 avatar hubertgoeuropa avatar kurtraschke avatar nselikoff avatar scrudden avatar sdjacobs avatar sheldonabrown avatar simonberrebi avatar skibu avatar tsimursh avatar vesavlad avatar vsperez avatar wkulesza avatar

transitime's Issues

Endpoints in current use

Hi,

There is list of endpoints what we current use in our web-app:

  1. command

/command/allCalendars
/command/addAVLExport
/command/activeBlockByRouteNameWithVehicles
/command/activeBlocksByRouteWithoutVehicles
/command/blocks
/command/blockIds
/command/blocksTerse
/command/currentCalendars
/command/exports
/command/getExportFile
/command/gtfs-rt/tripUpdates
/command/routesDetails
/command/routes
/command/removeVehicleToBlock
/command/vehicleToBlock
/command/vehiclesToBlock
/command/vehicleIds
/command/vehiclesDetails
/command/cancelTrip
/command/reenableTrip
/command/scheduleVertStops
/command/serviceIds
/command/trip
/command/tripIds
/command/siri/vehicleMonitoring
/command/stops

  1. reports

/reports/avlReport
/reports/lastAvlJsonData
/reports/scheduleAdh
/reports/tripsWithTravelTimes
/reports/tripsByDate
-> .jsp
/reports/predAccuracyIntervalsData.jsp
/reports/predAccuracyRangeData.jsp
/reports/data/summaryScheduleAdherence.jsp
/reports/predAccuracyScatterData.jsp

Regards,
goEuropa

Move queries for generating reports from JSP to actual API resource

Is your enhancement request to replace an existing functionality within TheTransitClock?
If the functionality already exists, please provide a clear description of its current behavior.

Is your enhancement request related to a problem? Please describe.
A clear description of what the problem is.

Describe the solution you'd like
A clear description of the expected functionality.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Example datasets
Please provide related datasets to test and validate the new functionality.

Api does not behave the same between former and current version

Endpoint modification suggestion

  1. Block id is not required, but mostly the following endpoint won't return anything, if you don't provide block id as parameter (this vehiclesToBlock is populated by post command of vehicletoblock)

/command/vehiclesToBlock?blockId=412-1-2

Suggestion to have this endpoint work without any parameters and return info for all block ids

  1. Too many requests required for this endpoint of schedule adherence by route endpoint:

reports/scheduleAdh?r=494&beginDate=03-21-2024&numDays=1&beginTime=00%3A01&endTime=23%3A59&allowableEarly=1&allowableLate=3

For each trip, it should contain also vehicle id, as otherwise we need to send requests to many endpoints like the one below:
/reports/tripWithTravelTimes?tripId=494-1-2-R-16%3A31&date=2024-03-21

Integrate Guice or similar DI framework

Is your enhancement request to replace an existing functionality within TheTransitClock?
If the functionality already exists, please provide a clear description of its current behavior.

Is your enhancement request related to a problem? Please describe.
A clear description of what the problem is.

Describe the solution you'd like
A clear description of the expected functionality.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Example datasets
Please provide related datasets to test and validate the new functionality.

API URLs don't include /api suffix ?

Original TC has /api as suffix to all api endpoints. This implementation doesn't use that. Same with /web suffix. Is it possible to configure TC in a way so that those prefixes are included (at least api part)?

Integrate migration management system (flyway or liquibase)

Is your enhancement request to replace an existing functionality within TheTransitClock?
Currently migration is done through hibernate which is not quite stable and not quite so configurable. It would be very good to have migrations running using flyway or liquibase

Is your enhancement request related to a problem? Please describe.
Each time the app starts it needs a clean database because of possible conflicting migrations. This could work and works actually but if we want to ensure kalman predictions to be running , then the app should run without stop for longer period -> having the database migration in case of hotfix possible.

Describe the solution you'd like
Integrate migration management system (flyway or liquibase)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.