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

Netflix / genie
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: lt_log_failed_dependency
DEFAULT BRANCH: master
Repo Added 10 Mar 2016 01:51AM UTC
Files 567
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

LAST BUILD ON BRANCH v4.1.2
branch: v4.1.2
CHANGE BRANCH
x
Reset
  • v4.1.2
  • 3.0.x
  • 3.1.x
  • 3.2.x
  • 3.3.x
  • 4.0.x
  • 4.1.x
  • 4.2.x
  • SlowBuildDebug
  • c.n.genie.web.events.GenieEventBusImpl
  • dependabot/npm_and_yarn/genie-ui/npm-6.13.4
  • dev-snapshot
  • develop
  • master
  • replace-bintray
  • revert-923-GENIE-412-job-working-directory
  • rollbackGradleChanges
  • rpalcolea-patch-1
  • snapshot-test
  • v3.3.11
  • v3.3.12
  • v3.3.13
  • v3.3.15
  • v3.3.16
  • v3.3.18
  • v3.3.19
  • v3.3.20
  • v3.3.22
  • v4.0.0
  • v4.0.0-rc.1
  • v4.0.0-rc.10
  • v4.0.0-rc.11
  • v4.0.0-rc.12
  • v4.0.0-rc.13
  • v4.0.0-rc.14
  • v4.0.0-rc.15
  • v4.0.0-rc.16
  • v4.0.0-rc.19
  • v4.0.0-rc.2
  • v4.0.0-rc.20
  • v4.0.0-rc.21
  • v4.0.0-rc.22
  • v4.0.0-rc.23
  • v4.0.0-rc.24
  • v4.0.0-rc.25
  • v4.0.0-rc.27
  • v4.0.0-rc.28
  • v4.0.0-rc.29
  • v4.0.0-rc.31
  • v4.0.0-rc.32
  • v4.0.0-rc.33
  • v4.0.0-rc.34
  • v4.0.0-rc.35
  • v4.0.0-rc.36
  • v4.0.0-rc.37
  • v4.0.0-rc.38
  • v4.0.0-rc.4
  • v4.0.0-rc.41
  • v4.0.0-rc.42
  • v4.0.0-rc.43
  • v4.0.0-rc.44
  • v4.0.0-rc.45
  • v4.0.0-rc.46
  • v4.0.0-rc.47
  • v4.0.0-rc.48
  • v4.0.0-rc.49
  • v4.0.0-rc.5
  • v4.0.0-rc.50
  • v4.0.0-rc.51
  • v4.0.0-rc.52
  • v4.0.0-rc.53
  • v4.0.0-rc.54
  • v4.0.0-rc.55
  • v4.0.0-rc.56
  • v4.0.0-rc.57
  • v4.0.0-rc.58
  • v4.0.0-rc.59
  • v4.0.0-rc.60
  • v4.0.0-rc.61
  • v4.0.0-rc.63
  • v4.0.0-rc.64
  • v4.0.0-rc.65
  • v4.0.0-rc.66
  • v4.0.0-rc.67
  • v4.0.0-rc.68
  • v4.0.0-rc.69
  • v4.0.0-rc.70
  • v4.0.0-rc.71
  • v4.0.0-rc.72
  • v4.0.0-rc.73
  • v4.0.0-rc.74
  • v4.0.0-rc.75
  • v4.0.0-rc.77
  • v4.0.0-rc.78
  • v4.0.0-rc.80
  • v4.0.0-rc.81
  • v4.0.0-rc.82
  • v4.0.0-rc.83
  • v4.0.0-rc.84
  • v4.0.0-rc.85
  • v4.0.0-rc.86
  • v4.0.0-rc.87
  • v4.0.0-rc.88
  • v4.0.0-rc.89
  • v4.0.0-rc.9
  • v4.0.0-rc.90
  • v4.0.0-rc.91
  • v4.0.0-rc.92
  • v4.0.0-rc.94
  • v4.0.0-rc.95
  • v4.0.0-rc.96
  • v4.0.0-rc.97
  • v4.0.0-rc.98
  • v4.0.1
  • v4.0.2
  • v4.0.3
  • v4.0.4
  • v4.0.5
  • v4.0.6
  • v4.1.0
  • v4.1.1
  • v4.1.3
  • v4.1.4
  • v4.1.5
  • v4.1.6
  • v4.2.0
  • v4.2.1
  • v4.2.2
  • v4.3.0

pending completion
3191

push

travis-ci-com

tgianos
Standardize JSON serialization of V3 API model insant fields

Previously the JSON serialization relied on the default Jackson behavior which was to defer to `toString()` however that followed the ISO standard and would serialize to whatever fractionional
number of digits were available. On Java 8 JDKs this was ok as it would always do milliseconds. On a Java 11 JDK it would expand to 6 digits of precision which still adhers to the spec. The
problem was that within Netflix there is a widely used client with a long upgrade path that hardcoded some 3 digit precision expectation in its parsing rather than using a standard ISO8601 parsing
library for the time strings returned by the API.

This change creates a custom serializer which truncates all available Instants to millisecond precition before preceeding with the standard serialization logic of calling `toStriong()`. This should
ensure backwards compatibility as we run the server on Java 11 JDKs.

13429 of 14319 relevant lines covered (93.78%)

0.94 hits per line

Relevant lines Covered
Build:
Build:
14319 RELEVANT LINES 13429 COVERED LINES
0.94 HITS PER LINE
Source Files on v4.1.2
  • Tree
  • List 558
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
3191 v4.1.2 Standardize JSON serialization of V3 API model insant fields Previously the JSON serialization relied on the default Jackson behavior which was to defer to `toString()` however that followed the ISO standard and would serialize to whatever fracti... push 27 Jan 2022 09:47PM UTC tgianos travis-ci-com pending completion  
See All Builds (2685)
  • Repo on GitHub
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