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

NitorCreations / nflow / 4096
83%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2020 11:46AM UTC
Jobs 12
Files 133
Run time 21min
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
4096

push

travis-ci

web-flow
Map exceptions to error responses in all rest endpoints (#396)

* Create base classes for jax-rs and spring-web resource to provice common exception mappings

* use handleExceptions in all jax-rs endpoints

* use nflow eclipse formatter settings in nflow-rest-api-jax-rs

* use nflow formatter settings in nflow-rest-api-spring-web

* use handleExceptions in all spring-web endpoints

* wrap EmptyResultDataAccessException to NflowNotFoundException in workflow service to provide better exception message for mapping

* add tests for handleExceptions

* return 404 not found instead of 409 conflict when updated workflow instance is not found

* test different exception mappings in ResourceBaseTest

Co-authored-by: Edvard Fonsell <edvard.fonsell@nitorcreations.com>

97 of 97 new or added lines in 15 files covered. (100.0%)

2797 of 3424 relevant lines covered (81.69%)

9.8 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
nflow-engine/src/main/java/io/nflow/engine/service/NflowNotFoundException.java
2
100.0
nflow-rest-api-spring-web/src/main/java/io/nflow/rest/v1/springweb/WorkflowDefinitionResource.java
2
100.0
nflow-rest-api-spring-web/src/main/java/io/nflow/rest/v1/springweb/WorkflowExecutorResource.java
4
100.0
nflow-engine/src/main/java/io/nflow/engine/service/WorkflowInstanceService.java
4
100.0
nflow-rest-api-spring-web/src/main/java/io/nflow/rest/v1/springweb/StatisticsResource.java
5
100.0
nflow-rest-api-jax-rs/src/main/java/io/nflow/rest/v1/jaxrs/WorkflowInstanceResource.java
5
100.0
nflow-rest-api-spring-web/src/main/java/io/nflow/rest/v1/springweb/MaintenanceResource.java
17
100.0
nflow-rest-api-spring-web/src/main/java/io/nflow/rest/v1/springweb/WorkflowInstanceResource.java
Jobs
ID Job ID Ran Files Coverage
1 4096.1 (DB=h2) 23 Apr 2020 11:46AM UTC 0
81.7
Travis Job 4096.1
2 4096.2 (DB=postgresql) 23 Apr 2020 11:46AM UTC 0
81.7
Travis Job 4096.2
3 4096.3 (DB=mysql) 23 Apr 2020 11:46AM UTC 0
81.7
Travis Job 4096.3
4 4096.4 (DB=mariadb) 23 Apr 2020 11:46AM UTC 0
81.7
Travis Job 4096.4
5 4096.5 (DB=sqlserver) 23 Apr 2020 11:47AM UTC 0
81.7
Travis Job 4096.5
6 4096.6 (DB=db2) 23 Apr 2020 12:00PM UTC 0
81.7
Travis Job 4096.6
7 4096.7 (DB=h2) 23 Apr 2020 11:55AM UTC 0
81.69
Travis Job 4096.7
8 4096.8 (DB=postgresql) 23 Apr 2020 11:55AM UTC 0
81.69
Travis Job 4096.8
9 4096.9 (DB=mysql) 23 Apr 2020 11:55AM UTC 0
81.69
Travis Job 4096.9
10 4096.10 (DB=mariadb) 23 Apr 2020 11:56AM UTC 0
81.69
Travis Job 4096.10
11 4096.11 (DB=sqlserver) 23 Apr 2020 12:04PM UTC 0
81.69
Travis Job 4096.11
12 4096.12 (DB=db2) 23 Apr 2020 12:08PM UTC 0
81.69
Travis Job 4096.12
Source Files on build 4096
  • Tree
  • List 133
  • Changed 14
  • Source Changed 11
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #4096
  • 41d929df on github
  • Prev Build on master (#4095)
  • Next Build on master (#4099)
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