• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

target / consensource-api / #124
63%

Build:
DEFAULT BRANCH: master
Ran 22 Feb 2021 10:38PM UTC
Jobs 1
Files 23
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#124

push

web-flow
Add csv endpoint to get file of factories (#40)

* Add csv endpoint to get file of factories

- Add GET endpoint at `/api/csv/factories.csv`
- Add `csv` crate
- Add `Row` type to serialize factory name + address to csv
- Add endpoint to main server and test server
- Add unit tests for file writing and for the endpoint

Signed-off-by: Trevor McDonald <trevor.mcdonald@target.com>

* Update factory csv file endpoint

- Change format to be one row per factory-cert combo
- Include organization id
- Include certificate standard name and valid dates
- Add unit tests for new format

* Handle bad timestamps on conversion to csv files

1141 of 1806 relevant lines covered (63.18%)

1.41 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/main.rs
Jobs
ID Job ID Ran Files Coverage
1 #124.1 22 Feb 2021 10:38PM UTC 0
63.18
Source Files on build #124
  • Tree
  • List 23
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bd2d3945 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc