GeezerVison is showing github.com — Change TTL to accept unit · Issue #581 · googleapis/google-cloud-java
Change TTL to accept unit #581Labels api: dnsIssues related to the Cloud DNS API. Activityjgeewax commented on Jan 26, 2016 Cool - thanks for looking at this.
I was thinking this might make more sense as taking a number (ie, 123 meaning "123 seconds") as well as a Duration (ie, Duration.ofSeconds(123) being "123 seconds").
Does that make sense? @aozarov , @mziccard, thoughts ? mziccard commented on Jan 26, 2016 If I am not mistaken Duration.ofSeconds is part of Java 8 and now we are sticking to java 7.
As soon as we move to java 8 we should support Duration and all of java8's time support. added 2 commits that reference this issue on Jan 28, 2016This issue will close once commit c364ff3 is merged into the 'master' branch.c364ff3 This issue will close once commit a2fdb69 is merged into the 'main' branch.a2fdb69 mderka commented on Jan 28, 2016 So, for now we have the TimeUnit solution. Duration.ofSeconds should be implemented when moving to Java 8. aozarov commented on Jan 29, 2016 Right, I think #592 is the best we can do for now.
We already have an open issue for changing our API on Java 8 (#108) and we can use that issue as
a laundry list of things that we should change (including this one). In that case, I think we can close
this issue.. @jgeewax ? jgeewax commented on Feb 3, 2016 If it's covered by #108, then sure.
MetadataMetadataapi: dnsIssues related to the Cloud DNS API. DevelopmentNo branches or pull requestsIssue actions
|