Skip to content

Conversation

@kiivihal
Copy link
Member

@kiivihal kiivihal commented Dec 2, 2020

This pull-request contains some fixes to the v1 bulk indexing API.

  • when indexing via the bulk index API the recordType is also included for indexing. 'mdr' and 'narthex_record' are supported as the defaults when received from Nathex

  • due to a bug in the external RDF library when using rdf2go.Graph().All() does not return all the matching triples. This working around using rd2go.Graph().IterTriples() makes sure that resolving the RDF labels returns all the labels.

The Graph().All() functions seems to randomly miss certain triples when
iterating. When using IterTriples directly this bug does not manifest.
@kiivihal kiivihal marked this pull request as draft December 2, 2020 20:29
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2020

CLA Assistant Lite All Contributors have signed the CLA.

@codecov
Copy link

codecov bot commented Dec 2, 2020

Codecov Report

Merging #64 (70068ad) into master (72e9e60) will decrease coverage by 0.00%.
The diff coverage is 40.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
- Coverage   31.94%   31.94%   -0.01%     
==========================================
  Files         115      115              
  Lines       13642    13649       +7     
==========================================
+ Hits         4358     4360       +2     
- Misses       9011     9015       +4     
- Partials      273      274       +1     
Flag Coverage Δ
unittests 31.94% <40.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
hub3/fragments/v1.go 71.64% <40.00%> (-0.77%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72e9e60...70068ad. Read the comment docs.

warmwaterkruik
warmwaterkruik previously approved these changes Dec 5, 2020
Copy link
Contributor

@warmwaterkruik warmwaterkruik left a comment

Choose a reason for hiding this comment

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

Looks good. Robot tests are clean as well.

@github-actions
Copy link
Contributor

CLA Assistant Lite All Contributors have signed the CLA.

@kiivihal kiivihal marked this pull request as ready for review December 10, 2020 10:05
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@warmwaterkruik warmwaterkruik left a comment

Choose a reason for hiding this comment

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

mooi

@warmwaterkruik warmwaterkruik merged commit 2d9b504 into master Dec 10, 2020
@warmwaterkruik warmwaterkruik deleted the feature/v1-indexing-fixes branch December 10, 2020 10:18
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants