Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4436

[VRP] Mock Nominatim API in the Cypress test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.13.1.GA
    • 7.12.0.GA, 7.12.1.GA
    • OptaPlanner
    • False
    • None
    • False
    • CR1
    • CR1
    • ---
    • ---
    • 2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8)

      Enable Nominatim mock in OptaPlanner 8.13

      OptaWeb Vehicle Routing has an end-to-end test that uses the geosearch feature (looking up coordinates for a given address). The app uses https://nominatim.openstreetmap.org, which is a public online service. The public server often has downtimes and since the mentioned test depends on it, the CI stability suffers. Fortunately, it's easy to mock the geosearch API and return the same cached response without contacting the service during the test.

      Let's backport this to the 8.13.x branch for a smooth 7.13 release.

              jlocker Jiří Locker (Inactive)
              adupliak Anna Dupliak
              Anna Dupliak Anna Dupliak
              Anna Dupliak Anna Dupliak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: