pladdy / cabby

TAXII 2 server in Golang
MIT License
0 stars 0 forks source link

Build cabby #27

Closed pladdy closed 6 years ago

pladdy commented 6 years ago

What's new

How to test

make test

How to build

make build-debian
vagrant ssh
sudo cabby-certs
sudo CABBY_ENVIRONMENT=production cabby-cli -u test@cabby.com -p test
sudo systemctl start cabby
sudo systemctl status cabby # verify it's running

In another terminal...

curl -sk -basic -u test@cabby.com:test -H 'Accept: application/vnd.oasis.taxii+json' 'https://localhost:1234/taxii/' | jq .
codecov-io commented 6 years ago

Codecov Report

Merging #27 into master will decrease coverage by 0.17%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #27      +/-   ##
=========================================
- Coverage   97.97%   97.8%   -0.18%     
=========================================
  Files          17      17              
  Lines        1085    1091       +6     
=========================================
+ Hits         1063    1067       +4     
- Misses         12      13       +1     
- Partials       10      11       +1
Impacted Files Coverage Δ
handlers.go 100% <100%> (ø) :arrow_up:
config.go 100% <100%> (ø) :arrow_up:
backend_sqlite.go 99.28% <100%> (ø) :arrow_up:
cabby.go 95.12% <100%> (-2.25%) :arrow_down:

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 cffca36...df06b4e. Read the comment docs.