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

Clinical-Genomics / cg / 11459209554
78%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2024 11:30AM UTC
Jobs 1
Files 691
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

22 Oct 2024 11:28AM UTC coverage: 84.49% (-0.01%) from 84.503%
11459209554

push

github

web-flow
add application ordertype endpoint (#3864)(minor)

## Description
Closes https://github.com/Clinical-Genomics/add-new-tech/issues/130
Adds the endpoint requesting applications given the order types

### Added

- Endpoint function `get_application_order_types` in `cg/server/endpoints/applications.py`
- Error handler for endpoint in `cg/server/endpoints/error_handler.py`
- Aplication web service that returns the response to the endpoint in `cg/services/application/service.py`
- ApplicationResponse model
- Join application order query function `_get_join_application_ordertype_query` in `cg/store/base.py`
- CRUD function `link_order_types_to_application`. to create `OrderTypeApplication` entries (create)
- CRUF function `get_active_applications_by_order_type` (read)
- Status filter module `cg/store/filters/status_ordertype_application_filters.py` for OrderTypeApplication table and one filter function
- Attribute `order_types` to the `Appliacation` model in the database
- Attribute `application` to the `OrderTypeApplication` model in the database
- Tests for the filter function
- Test for the CRUD (read) function
- Fixtures
- Store helpers function
Co-authored-by: Isak Ohlsson Ångnell <40887124+islean@users.noreply.github.com>

70 of 85 new or added lines in 10 files covered. (82.35%)

23244 of 27511 relevant lines covered (84.49%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11459209554.1 22 Oct 2024 11:30AM UTC 0
84.49
Source Files on build 11459209554
Detailed source file information is not available for this build.
  • Back to Repo
  • ebc75468 on github
  • Prev Build on master (#11455367185)
  • Next Build on master (#11461060289)
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