osrd
osrd copied to clipboard
Create a generic search engine
Description
Create a search engine to allow the front to look for objects.
Acceptance criteria
- [ ] The engine must be as generic as possible
- [ ] It must be possible to search for a line by its name or code
- [ ] It must be possible to search for a OP by its name or codes
- [ ] It must be possible to search for a signal by its name, line name or line code
- [ ] It must be possible to search for a railway station by its name, trigram or UIC
- [ ] We need an endpoint to retrieve a geojson object by it's ID (the selected search object)
- [ ] The search endpoint response must be paginated.
- [ ] The page size can be configured by the client query.
- [ ] The page number can be configured by the client query.
Definition of ready
- [ ] The enabler story is well defined
- [ ] Acceptance criterias are defined
- [ ] The individual responsible for validating the enbaler story is assigned
- [ ] Does not depend on an missing feature
- [ ] Negociable with the implementation team
- [ ] Valuable to the end users
- [ ] Estimable by the implementation team
- [ ] As small as it can be
- [ ] Testable by the implementation team
Definition of done
- [ ] Acceptance criteria are met
- [ ] Automated tests are written against acceptance criteria
- [ ] Story ok-ed by Product Owner
- [ ] Documentation updated