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

Netflix / genie / 3191
94%
master: 94%

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

Jobs
ID Job ID Ran Files Coverage
1 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]) 27 Jan 2022 09:47PM UTC 0
93.78
Travis Job 3191.1
Source Files on build 3191
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3191
  • 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