Sprint 51

All our products have been updated on Dec 18, 2020 with the releases associated to this Sprint 51.

 

Chouette

Stop Area Providers

When the user creates or imports a new Stop Area or a Connection Link, the resource is associated to a Stop Area Provider of the user’s Workbench.

The user can only edit/destroy a resource associated to a Stop Area Provider which he’s owned (in fact, associated to the user’s workbench).

Each Workbench has a default Stop Area Provider. But the user can now define its own providers:

This logic allows:

  • several teams into a Workgroup to provide their own Stop Areas (or Connection Links) in the same Stop Area referential without conflict.

  • manages several Stop Areas with the same “import” code (like GTFS stop id). If a Stop Area “A” is associated to a Stop Area Provider, an import or an user with another Stop Area Provider can create/update another Stop Area with the same code (registration number).

An existing Stop Area or Connection Link can be associated to another Stop Area Provider owned by the user.

Line Provider

As Stop Area Provider, the Line Provider regroups Lines, Companies, Networks and Line Notices.

When the user creates or imports a new Line, Company, Network or Line Notice, the resource is associated to a Line Provider of the user’s Workbench.

The user can only edit/destroy a resource associated to a Line Provider which he’s owned (in fact, associated to the user’s workbench).

Each Workbench has a default Line Provider.

GraphQL API : Search lines by transport mode and/or company

The user can search lines by:

  • one or many transport modes

  • one or many companies

1 2 3 4 5 6 7 8 9 10 11 { lines(company: "chouette:Company:f9b1d751-6f88-4af6-96cf-a7aa426e1d32:LOC", transportMode: bus){ ... } } { lines(companies: ["chouette:Company:f9b1d751-6f88-4af6-96cf-a7aa426e1d32:LOC", "chouette:Company:f9b2d751-6f18-4af7-96cf-a7aa426e1d32:LOC"]){ ... } }

More examples can be found inside Postman API documentation.

The transportMode or transportModes attribute should be included in the Chouette transport mode enumeration:

  • air

  • bus

  • coach

  • funicular

  • hireCar

  • metro

  • rail

  • taxi

  • telecabin

  • tram

  • water

The company and the companies attribute should use a company identifier.

GraphQL API : Improve Stop Area loading

To improve the reliability and speed of GraphQL API, we’ve improved the performances for loading Stop Area relations like :

  • Parent

  • Referent

  • Children

Technical upgrades

We’re constantly upgrading the technical stack used in Chouette. The Chouette Javascript stack used to provide a rich user interface, like the vehicle journey editor, maps have been upgraded.

Performances

We've improved performances for :

  • merge operation : the service count computation has been optimized

  • import api : the loading of imports list has been optimized