MobilityData / gtfs-realtime-validator

Java-based tool that validates General Transit Feed Specification (GTFS)-realtime feeds
Other
41 stars 10 forks source link

Add information message on monitoring parameters #54

Open isabelle-dr opened 2 years ago

isabelle-dr commented 2 years ago

Issue by barbeau Oct 30, 2017 Originally opened as https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/302


Summary:

Moved to a new issue from:

286 (comment)

We need to add an informational component to provide feedback to users what parameters are being used for their monitoring session to explain to the user what's happening in the background for the shapes.txt processing and the set interval. This is because our server architecture has one thread monitoring each unique GTFS-realtime feed, so if someone starts monitoring a feed that someone else is already monitoring we have defined logic on whose settings win for interval and shapes.txt.

Here's an example informational message:

* {monitoring interval info here}
* {shapes info here}

Here's the logic for the monitoring interval:

We need to define exactly where this message appears. Currently I'm thinking the top of the "Monitoring" page in a small banner at the top is the best location, as the shapes.txt and interval info could be passed back to the client from the call to GtfsRtFeed.startMonitor() API.

@Suryakandukoori Do you want to do a quick mockup of the UI for this before you actually implement?

Steps to reproduce:

Set the shapes.txt and interval options in the web UI and start monitoring

Expected behavior:

Tell me what parameters are actually being used to monitor the feed if another user already set parameters for the same feed.

Observed behavior:

There is no way to know via the UI what actual parameters are being used if they conflicted with another user's parameters.

Platform:

N/A