Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-9201 elasticsearh streets data #720

Merged
merged 20 commits into from
Nov 7, 2023
Merged

UHF-9201 elasticsearh streets data #720

merged 20 commits into from
Nov 7, 2023

Conversation

rpnykanen
Copy link
Contributor

@rpnykanen rpnykanen commented Nov 3, 2023

UHF-9201

Fetch street data for street maintenance search.

What was done

  • Added new index for street data
  • Added custom datasource which indexes data without using drupal entities
  • Added custom street data datatype.

How to install

How to test

  • Go to search api indexes
  • See that street data index exists
  • See that all street data index admin views works without problem
  • Don't use cli to index just yet.
  • Go to index view, Build tracking information for street data, rebuild should find a bit under 8000 hits
  • Click the indexing button. all 8000 items should be indexed
  • Do an elasticsearch query to see that the data exists (docker compose ps, check the elastic port)
  • localhost:{elastic port}/_search?size=1000
  • Index should have data.
  • Running drush commands for elastin indexing should work with no problems
  • Check that this feature works
  • Check that code follows our standards

Other PRs

City-of-Helsinki/drupal-helfi-platform-config#632

@Jussiles Jussiles self-requested a review November 3, 2023 10:44
Copy link

sonarqubecloud bot commented Nov 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@Jussiles Jussiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! 🦜

@rpnykanen rpnykanen merged commit d623cee into dev Nov 7, 2023
3 checks passed
@rpnykanen rpnykanen deleted the UHF-9201_elastic_streets branch November 7, 2023 05:50
@hyrsky hyrsky mentioned this pull request Nov 15, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants