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

OpenWiseSolutions / openhub-framework / 211
70%

Build:
DEFAULT BRANCH: develop
Ran 20 Jan 2017 06:57AM UTC
Jobs 1
Files 154
Run time 8s
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
211

Pull #8

travis-ci

web-flow
Application configuration in DB

- replaced @Value with Enviroment approach in ThrottlingPropertiesConfiguration
- renamed time configuration items (added suffix "Sec"): ohf.asynch.confirmation.interval -> ohf.asynch.confirmation.intervalSec
- added auto-registration of custom converters
- changed time conf. items from Integer to Seconds (ConfigurationItem<Seconds>)
- corrected getting parameters from DB - there is no need to have specific conversion in parameters from DB, there is conversion system directly in Spring framework
- added script for inserting DB parameters before unit tests
- migrated @Value to @ConfigurableValue
- changed all property names - added prefix "ohf."
- added new data types for conversion - DataTypeEnum + added unit tests for all converters
- added FixedConfigurationItem implementation for tests
- added DB script for adding configuration parameters to table 'configuration'
- changed DB sequence for generating primary IDs
- set spring.datasource.data for loading DB script for inserting conf. parameters
- created new DB table configuration_item
- added new entity DbConfigurationParam that represents one parameter in DB
- corrected building Equals and hashCode
- added DAO and Service classes for manipulation with this entity
- changed several DAO methods from Integer to Seconds
- moved datasource package from common module to core module => changed Maven dependency

Issue: OHFJIRA-15
Pull Request #8: Application configuration in DB

232 of 232 new or added lines in 33 files covered. (100.0%)

1999 of 3558 relevant lines covered (56.18%)

0.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
core/src/main/java/org/openhubframework/openhub/core/common/asynch/ExternalCallServiceImpl.java
1
100.0
core/src/main/java/org/openhubframework/openhub/core/common/contextcall/ContextCallHttpImpl.java
1
100.0
core/src/main/java/org/openhubframework/openhub/core/common/directcall/DirectCallHttpImpl.java
1
100.0
core/src/main/java/org/openhubframework/openhub/core/confcheck/ConfigurationChecker.java
1
100.0
core/src/main/java/org/openhubframework/openhub/core/configuration/ConfigurationItemImpl.java
2
100.0
core/src/main/java/org/openhubframework/openhub/core/alerts/AlertsSchedulerRoute.java
2
100.0
core/src/main/java/org/openhubframework/openhub/core/configuration/DbConfigurationParamServiceImpl.java
3
100.0
core/src/main/java/org/openhubframework/openhub/core/common/asynch/notification/EmailServiceCamelSmtpImpl.java
3
100.0
core/src/main/java/org/openhubframework/openhub/core/configuration/FixedConfigurationItem.java
5
100.0
common/src/main/java/org/openhubframework/openhub/common/converter/Converters.java
5
100.0
core/src/main/java/org/openhubframework/openhub/core/common/dao/MessageDaoJpaImpl.java
6
100.0
common/src/main/java/org/openhubframework/openhub/common/converter/TypeConverterEnum.java
6
100.0
core/src/main/java/org/openhubframework/openhub/core/configuration/DbConfigurationParamDaoJpaImpl.java
9
100.0
core/src/main/java/org/openhubframework/openhub/core/monitoring/MessagesStatus.java
17
100.0
common/src/main/java/org/openhubframework/openhub/common/converter/DurationConverters.java
17
100.0
common/src/main/java/org/openhubframework/openhub/common/converter/SecondsConverters.java

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
core/src/main/java/org/openhubframework/openhub/core/alerts/AlertsSchedulerRoute.java
1
100.0
core/src/main/java/org/openhubframework/openhub/core/common/file/DefaultFileRepository.java
Jobs
ID Job ID Ran Files Coverage
1 211.1 20 Jan 2017 06:57AM UTC 0
56.18
Travis Job 211.1
Source Files on build 211
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #211
  • Pull Request #8
  • PR Base - develop (#206)
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