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

Netflix / genie / 3191 / 1
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: lt_log_failed_dependency
DEFAULT BRANCH: master
Ran 27 Jan 2022 09:47PM UTC
Files 558
Run time 48s
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

27 Jan 2022 07:57PM UTC coverage: 93.784%. First build
GRGIT_USER=[secure] NETFLIX_OSS_REPO_USERNAME=[secure] NETFLIX_OSS_REPO_PASSWORD=[secure] NETFLIX_OSS_SONATYPE_USERNAME=[secure] NETFLIX_OSS_SONATYPE_PASSWORD=[secure] NETFLIX_OSS_SIGNING_PASSWORD=[secure] NETFLIX_OSS_SIGNING_FILE_PASSWORD=[secure] DOCKER_USER=[secure] DOCKER_PASSWORD=[secure]

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

Source Files on job 3191.1 (GRGIT_USER=[secure] NETFLIX_OSS_REPO_USERNAME=[secure] NETFLIX_OSS_REPO_PASSWORD=[secure] NETFLIX_OSS_SONATYPE_USERNAME=[secure] NETFLIX_OSS_SONATYPE_PASSWORD=[secure] NETFLIX_OSS_SIGNING_PASSWORD=[secure] NETFLIX_OSS_SIGNING_FILE_PASSWORD=[secure] DOCKER_USER=[secure] DOCKER_PASSWORD=[secure])
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2912
  • Travis Job 3191.1
  • 12fa8390 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

© 2026 Coveralls, Inc