Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Elasticsearch updates, CORS changes, and minor bug fixes

Latest
Compare
Choose a tag to compare
@froi froi released this 19 Sep 22:45
· 126 commits to master since this release

What's Changed

In this release we've completly upgraded our Elasticsearch mappings to support versions 5.x and above. There were a few types that were not updated from our last release.

We've also improved our build process to avoid random failures during our integration tests and added a ALLOWED_DOMAINS configuration variable to force our users to go through our API URL api.code.gov.

Change Details

  • Added ALLOWED_DOMAINS configuration.
  • Updated our Elasticsearch types in our mappings.
  • Obsolete mappings were removed.
  • Elasticsearch settings were updated.
  • Elasticsearch mappings fields are now configured to text data type with a keyword field for sorting and aggregations.
  • Updated Elasticsearch docker image used in our integration tests (.circleci/config.yml).
  • Added a sleep time of 45 seconds to our integration test to ensure that the Elasticsearch container is up and running.
  • Minor bug fixes to indexing process and tests.

PRs Included in this release