rode / grafeas-elasticsearch

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

(WIP) Eng 1981 #4

Closed gesparza3 closed 3 years ago

gesparza3 commented 3 years ago

This PR implements occurrence creation methods which will store new occurrences in an index within Elasticsearch. Currently still need to implement ListOccurrences and UpdateOccurrence

codecov[bot] commented 3 years ago

Codecov Report

Merging #4 (006ccf0) into main (691f565) will increase coverage by 26.92%. The diff coverage is 45.73%.

Impacted file tree graph

@@             Coverage Diff             @@
##             main       #4       +/-   ##
===========================================
+ Coverage   19.35%   46.28%   +26.92%     
===========================================
  Files           1        1               
  Lines          62      242      +180     
===========================================
+ Hits           12      112      +100     
- Misses         49      119       +70     
- Partials        1       11       +10     
Impacted Files Coverage Δ
go/v1beta1/storage/elasticsearch.go 46.28% <45.73%> (+26.92%) :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 691f565...006ccf0. Read the comment docs.

mrparkers commented 3 years ago

closing in favor of #5