Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept multiple control SHAs from content service #92

Open
ktbartholomew opened this issue Feb 4, 2016 · 0 comments
Open

Accept multiple control SHAs from content service #92

ktbartholomew opened this issue Feb 4, 2016 · 0 comments
Assignees

Comments

@ktbartholomew
Copy link
Contributor

GET https://content/control currently returns this:

{
  "sha": "6866e39c7725f56446de62e42ef087074d9bb123"
}

This works fine when a single control repo is involved and needs to be tracked, but falls short when rackerlabs/nexus-control#271 is finished and we have multiple repos to track to detect changes. In anticipation of this, the presenter needs to be able to parse the above payload, but also a payload like this:

{
  "sha": {
    "nexus-control": "abcdef",
    "developer-deconst-control": "abcdef",
    "carina-deconst-control": "abcdef"
  }
}

This will allow the presenter to update its control repos if any of them have changed, and potentially opens the door to a less obtrusive update process (e.g: only update the site that changed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant