All our products have been updated on with the releases associated to this Sprint 105.
Chouette
Associate documents with Stop Areas & Companies
The user can associate several Documents to a Stop Area or Company:
The user can retrieve the “current” Document associated to a Stop Area or a Company and the specified Document Type via the Publication API at this endpoint:
/api/v1/datas/<publication api>/documents/stop_areas/<registration number>/<document_type> /api/v1/datas/<publication api>/documents/companies/<registration number>/<document_type>
The user documentation describes how to manage Documents associated with Lines, and now Stop Areas and Companies:
Compute Service Counts with a Macro (after an import)
- CHOUETTE-3335Getting issue details... STATUS
The user can compute service counts by using the dedicated Macro:
With this Macro, the user can have access the Service Count tools before the DataSet merge, for example just after an Import:
Controls & Macros with attribute
Controls and Macros with a Chouette attribute as target have been updated to provide an up-to-date list of attributes.
The following Controls have been improved:
The following Macros have been improved:
Search Companies with new interface
The user can search https://enroute.atlassian.net/wiki/spaces/PUBLIC/pages/1887731753/Line+Referential#Companies by using the new Search UI framework:
This new framework will provide saved searches and graphical views in the next Sprints.
Workbench Sharing
Very large improvements are performed into the Chouette SaaS code base to provide the awaited feature about Workbench Sharing.
In this Sprint, the changes, although very significant, are internal and should not be visible for the users.
Publication per Line End Of Life
The user can no longer define a Publication to export a file for each aggregated Line. This complex feature has not been used for many months and was no longer useful.
This is a step to provide improvements and new features around Publications .
GTFS Import
The Chouette SaaS GTFS import has been improved in its support of .. invalid GTFS files. This improvement avoids an import fail in many cases where the GTFS file uses an invalid syntax (unexpected value in a row, blank values, empty lines, etc).
Documentation
Many improvements have been made on the Chouette SaaS user documentation, among them:
the Chouette GraphQL API documentation has been updated to describe new attributes on Routes
the Publications documentation describes the new static period range options
the Macro lists documentation has been improved
Ara
Use a specific format for default Vehicle Journey identifier
When the user specifies a generators.reference_vehicle_journey_identifier
setting, this format is used to create Vehicle Journey identifiers. Without this setting, the generators.reference_identifier
format is used (when defined).
Example
With a generators.reference_vehicle_journey_identifier
defines with ServiceJourney:%{default}
, the generated DatedVehicleJourneyRef
will be something like ServiceJourney:ab0680a894...9838b675ea87c2c11c379e
See the Ara Partner Parameters documentation for more details.
Broadcast SIRI Stop Monitoring with a single notification
When the user defines the setting broadcast.siri.stop_monitoring.multiple_subscriptions
at true
, the SIRI Stop Monitoring Subscription Broadcaster will send a single NotifyStopMonitoring
with multiple StopMonitoringDelivery
for each subscription (which requires a notification):
Collection Situations by Line
When the user uses siri-situation-exchange-request-collector
, Ara collects Situations with request or subscription for each Line.
<?xml version='1.0' encoding='utf-8'?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sw="http://wsdl.siri.org.uk" xmlns:siri="http://www.siri.org.uk/siri"> <soap:Body> <sw:GetSituationExchange> <ServiceRequestInfo> <siri:RequestTimestamp>2030-01-01T12:01:10.000Z</siri:RequestTimestamp> <siri:RequestorRef>Ara</siri:RequestorRef> <siri:MessageIdentifier>6ba7b814-9dad-11d1-4-00c04fd430c8</siri:MessageIdentifier> </ServiceRequestInfo> <Request> <siri:RequestTimestamp>2030-01-01T12:01:10.000Z</siri:RequestTimestamp> <siri:LineRef>1234</siri:LineRef> </Request> <RequestExtension /> </sw:GetSituationExchange> </soap:Body> </soap:Envelope>
Documentation
Many improvements have been made on the Ara SaaS user documentation, among them:
the Exchange partners documentation has been updated
A new Ara Guide is available: 🇫🇷 Diffuser des données temps réel en GTFS-RT
Chouette Convert
Add Day Type for GTFS services with only dates
When a GTFS file only defines a Service via Calendar Dates, the NeTEx file contains a correct Day Type (and associated Day Type Assignments).
Avoid empty NeTEx Line name
When a GTFS Line defines a blank Route long name, this value is ignored to use the Route short name as fallback.
Avoid NeTEx Operator without id
When a GTFS file defines a single default Agency, the NeTEx file contains an Operator with a default
id.
Better support for invalid GTFS files
The Chouette Convert GTFS conversion has been improved in its support of .. invalid GTFS files. This improvement avoids an import fail in many cases where the GTFS file uses an invalid syntax (unexpected value in a row, blank values, empty lines, etc).
Avoid same identifier between Scheduled Stop Point and other Point
In some rare condition, the NeTEx file created from a GTFS one could use the identifier for a Scheduled Stop Point than a Route Point. The syntax of these identifiers are now changed to avoid this kind of duplicate.
New QA tools
The Chouette Convert SaaS product already uses the same automatic scenario framework than Chouette SaaS and Ara SaaS.
Each Chouette Convert feature is tested by one or several scenarios to ensure that the expected result is achieved:
Scenario: GTFS Route Short Name is used by default as NeTEx Line Name Given a GTFS file based on "gtfs.zip" And in this GTFS file, the Route "AB" has the following attributes: | Long Name | <empty> | | Short Name | Dummy | When this GTFS file is converted to "NeTEx" Then the NeTEx file should contain a Line "AB" with attributes: | Name | Dummy |
The enRoute team is working a new approach to challenge Chouette Convert SaaS in our QA phase: our QA servers collect every day hundred of datasets (GTFS, NeTEx, SIRI, etc). Then, this DataSet collection is used in the QA process of our tools to ensure they can process them as expected.
For Chouette Convert SaaS, a new QA tool ensures that a version/build is able to convert several hundred of DataSet. The tool ensures that a valid DataSet is converted into a another valid one by Chouette Convert SaaS and reports any error or anomaly in the result.
By processing several hundreds of these datasets with this new tool, our QA team detected several issues that have been fixed in this Sprint.
Ruby 3.3
To ensure the best performance, the Chouette Convert SaaS platform has been updated to use the latest Ruby version.
Our QA tests confirm a better memory management. But the performance improvement is smaller than expected for the moment.