neo4j-contrib/neo4j-on-cloud-foundry

[Adapter] Introduce real Range type instead of "1000-30000" strings

Open

#8 opened on Oct 20, 2017

 (0 comments) (0 reactions) (0 assignees)Kotlin (1 fork)github user discovery
good first issuenice-to-have

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

We should use a proper type instead of using String in the Update section of the Plan passed to produce the Manifest for the canary_watch_time and update_watch_time (see http://docs.pivotal.io/svc-sdk/odb/0-18/creating.html#plan-json-schema).

We'll need to create and register a custom Gson TypeAdapter for this Range type for Gson to be able to deserialize the Plan passed as parameter.

Contributor guide