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

allegro / ralph / 7792
85%

Build:
DEFAULT BRANCH: ng
Ran 13 Apr 2017 10:04AM UTC
Jobs 1
Files 229
Run time 34s
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
7792

push

travis-ci

mkurek
Refactor operation status (#3014)

* Refactor operation status

List of possible operation statuses along with their meaning is
a flexible matter, especially in cases, when an external change
management software is used. Given that, having to rewrite and
release a new version of Ralph in order to adapt to the changes
is not a way to go.

This patch removes a hard-coded list of statuses from Ralph and
replaces it with a reference to a manageable entity called
OperationStatus. Those entities are manageable botj over the API
and the UI.

The change management listener's behavior was also set to create
new operation types in responce to incomming messages instead of
ignoring operations that have an unknown status.

* Fix missing migrations

* Fix broken test

* Flatten for status, type and assignee in the API

* Optimized status filter

47 of 47 new or added lines in 7 files covered. (100.0%)

12126 of 14292 relevant lines covered (84.84%)

0.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/ralph/operations/filters.py
Jobs
ID Job ID Ran Files Coverage
3 7792.3 (DJANGO_VERSION=1.8.17 TEST_DB_ENGINE=psql) 13 Apr 2017 10:04AM UTC 0
84.84
Travis Job 7792.3
Source Files on build 7792
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7792
  • dd911fe5 on github
  • Prev Build on ng (#7791)
  • Next Build on ng (#7795)
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