GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Create functional class for DNS ChangeRequest · Issue #679 · googleapis/google-cloud-java

Create functional class for DNS ChangeRequest #679

New issue
Copy link
New issue
Copy link
Closed
Closed
Create functional class for DNS ChangeRequest#679
Copy link
Assignees
mderka
Labels
api: dnsIssues related to the Cloud DNS API.type: questionRequest for information or clarification. Not an issue.

Description

@mziccard
mziccard
opened on Feb 27, 2016
Issue body actions

If this has been already discussed I am sorry for bringing it up again.

A DNS change request is now mapped using a single non-functional class ChangeRequest. I see a benefit in having a functional class for change requests as well. It would be cool to be able to write:

ChangeRequest change = dns.applyChangeRequest(ChangeRequestInfo.builder...);
while (!change. isDone()) {
  Thread.sleep (1000L);
}
// change request is DONE

In the same way we do for bigquery's jobs and as I plan to do with compute's operations. What do you think?

Activity

Next
  1. mziccard
    added
    type: questionRequest for information or clarification. Not an issue.
    api: dnsIssues related to the Cloud DNS API.
    on Feb 27, 2016
  2. aozarov commented on Feb 27, 2016

    @aozarov
    aozarov
    on Feb 27, 2016
    Contributor
    More actions

    We could (I do not object), however I think in this case it would be much less useful (at least for now) as:

    • The proposed ChangeRequest will not have any other additional methods other than isDone.
    • isDone is much less useful as, there are no obvious actions to take when true (as opposed to BigQuery that you may want to query after a successful upload job).
    • I could not find any time commitment/expectation for how long such operation may take.
  3. aozarov commented on Feb 27, 2016

    @aozarov
    aozarov
    on Feb 27, 2016
    Contributor
    More actions

    I managed to find this for propagation time expectation: "You can use this command determine when your authoritative name server picks up your change, which should happen within 120 seconds"

  4. mziccard commented on Feb 27, 2016

    @mziccard
    mziccard
    on Feb 27, 2016
    ContributorAuthor
    More actions

    We could add also reload but I agree that's almost the same as isDone in terms of usage.

    You might be interested in the change to be completed to start redirecting traffic or start using records that the change request just created.

  5. mderka commented on Feb 29, 2016

    @mderka
    mderka
    on Feb 29, 2016
    More actions

    I think this goes against our decision to make change request a zone-independent struct. Since changes always happen inside zones, you would need dns.applyChangeRequest(zone, ChangeRequestInfo.builder...); in which case you can right away query done on the zone object. Otherwise, we would need to equip ChangeRequest with zone reference.

  6. mziccard commented on Feb 29, 2016

    @mziccard
    mziccard
    on Feb 29, 2016
    ContributorAuthor
    More actions

    Adding zone to ChangeRequest doesn't seem absurd to me. If you want to keep it independent from the user perspective the zone reference could be added as a private field in the functional object, without the user even knowing.

  7. mderka commented on Mar 1, 2016

    @mderka
    mderka
    on Mar 1, 2016
    More actions

    As per my discussion with @aozarov, a suitable way of handling this would be treating ChangeRequestInfo as zone-independent struct and functional object having zone. We do see value in this, but we also agreed that there are more urgent things to handle. I am assigning this to myself and categorizing as "yes, do it if you have time at the end."

  8. mderka
    self-assigned this
    on Mar 1, 2016
  9. mderka commented on Mar 25, 2016

    @mderka
    mderka
    on Mar 25, 2016
    More actions

    Before closing this, add isDone() and reload().

  10. aozarov commented on Mar 30, 2016

    @aozarov
    aozarov
    on Mar 30, 2016
    Contributor
    More actions

    Also, I find the ChangeRequest.applyTo method strange for various reasons:

    1. As user can't create ChangeRequest it means that it was returned by a get or list mehods and hence
      suggests that it was already applied, no?

    2. If we think there is a reason for re-applying it maybe it should be called reapply?

    3. If the intent was to apply it on a different zone (hence the name applyTo?) then we should pass a zone as an argument.

    /cc @mziccard @mderka

  11. aozarov
    added this to the This milestone has been deleted milestone on Mar 30, 2016
  12. mderka commented on Apr 4, 2016

    @mderka
    mderka
    on Apr 4, 2016
    More actions
    1. Correct.
    2. No, the intention was (3).
    3. Correct. Changing the signature.
  13. mderka
    closed this as completedon Apr 4, 2016
  14. theacodes
    unassigned
    mderka
    on Sep 28, 2018
  15. 10 remaining items

  16. suztomo
    added 2 commits that reference this issue on Feb 1, 2023

    deps: update iam.version to v1.3.3 (#679)

    27ee2b3

    chore(main): release 2.11.0 (#688)

    e9300fe
  17. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v24.…

    ada9ba0
  18. chingor13
    added 2 commits that reference this issue on Jan 22, 2026

    deps: update dependency com.google.cloud:native-image-support to v0.1…

    0f8afd7

    chore(main): release 2.2.9 (#681)

    9e80bc2
  19. chingor13
    added a commit that references this issue on Feb 24, 2026

    chore(deps): update dependency com.google.appengine:appengine to v1.9…

    b001f71
  20. chingor13
    added a commit that references this issue on Mar 12, 2026

    chore(deps): update dependency com.google.appengine:appengine to v1.9…

    34de237
  21. suztomo
    added a commit that references this issue on Mar 23, 2026

    test(deps): update dependency org.mockito:mockito-core to v4.1.0 (goo…

    f2f4650
  22. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(java): install maven 3.8.1 at runtime (#679)

    051436f
  23. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(java): install maven 3.8.1 at runtime (#679)

    bc26e69
  24. meltsufin
    added 4 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.protobuf:protobuf-java-util to v3.…

    e7ef708

    chore: release 1.113.0 (#674)

    977dfd7

    deps: update dependency com.google.protobuf:protobuf-java-util to v3.…

    f4de5b7

    chore: release 1.113.0 (#674)

    2bb0f69
  25. benjaminp
    added a commit that references this issue on Jul 13, 2026

    samples(bigtable): remove _veneer from Bigtable region tags (googleap…

    86e98a3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mderka
    mderka

Labels

api: dnsIssues related to the Cloud DNS API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.