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

uc-cdis / indexd / 1887
88%

Build:
DEFAULT BRANCH: master
Ran 22 May 2020 07:25PM UTC
Jobs 1
Files 38
Run time 4s
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
1887

push

travis-ci-com

web-flow
(PXP-5525): Add blank version of record (#271)

* Update swagger API docs

* First pass implement POST /index/blank/{GUID}

- Create a blank record that is a new version of a previous record
(i.e. shared a baseid with previous record)
- acl/authz carry over from previous record
- requires update permission on previous record
- user must specify uploader field, can optionally specify file_name field
(following convention of POST /index/blank)

* Add unit tests for POST /index/blank/{GUID}

* Fix errors

- Return 201 on success
- Fix syntax error in driver

* Run black

* Remove buggy test

* Test no record found condition

* Run black

* Remove unnecessary guard for duplicate GUID

* Revert deletion of test_create_blank_record_with_baseid

* Run black

* Update indexd/index/blueprint.py

Co-authored-by: Pauline Ribeyre <ribeyre@uchicago.edu>

* Support specifying guid

- allow specifying guid
- update swagger docs
- check for GUID already exists
- write tests for specifying guid

* Update swagger docs

- Remove unneeded OutputRefWithUrl
- Update index/blank and index/blank/{{GUID}} endpoints to return 201, not 200

* Add test for creating blank version of blank record

* Fix typo, remove unused import, run black

Co-authored-by: Pauline Ribeyre <ribeyre@uchicago.edu>

1634 of 1816 relevant lines covered (89.98%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1887.1 (COVERALLS_TOKEN=[secure]) 22 May 2020 07:25PM UTC 0
89.98
Travis Job 1887.1
Source Files on build 1887
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1887
  • 16c3e4fc on github
  • Prev Build on master (#1881)
  • Next Build on master (#1892)
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

© 2026 Coveralls, Inc