rode / grafeas-elasticsearch

An implementation of the Grafeas storage backend based on Elasticsearch
Apache License 2.0
12 stars 5 forks source link

implement BatchCreateOccurrences and CreateOccurrence #8

Closed mrparkers closed 3 years ago

mrparkers commented 3 years ago

I was able to test this by using the grafeas go sdk, but I couldn't figure out how to hit the REST endpoint correctly.

this should now be working with test coverage

codecov[bot] commented 3 years ago

Codecov Report

Merging #8 (24d7934) into main (a0898b8) will increase coverage by 0.63%. The diff coverage is 83.58%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   67.31%   67.95%   +0.63%     
==========================================
  Files           3        3              
  Lines         410      440      +30     
==========================================
+ Hits          276      299      +23     
- Misses        115      120       +5     
- Partials       19       21       +2     
Impacted Files Coverage Δ
go/v1beta1/storage/types.go 75.00% <ø> (ø)
go/v1beta1/storage/elasticsearch.go 62.12% <83.58%> (+1.29%) :arrow_up:

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 a0898b8...24d7934. Read the comment docs.