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

Status API should report last time that OPA received a successful/non-download bundle response #2009

Closed
tsandall opened this issue Jan 16, 2020 · 0 comments · Fixed by #2076
Assignees

Comments

@tsandall
Copy link
Member

Currently OPA reports the timestamp of the last successful bundle download and bundle activation via the Status API. Status API implementations may also wish to know the last time OPA successfully attempted to refresh the bundle (i.e., in this case, the bundle server replied with HTTP 304).

@tsandall tsandall self-assigned this Feb 7, 2020
tsandall added a commit to tsandall/opa that referenced this issue Feb 7, 2020
This commit updates the bundle plugin to record the last successful
download _attempt_ timestamp in the bundle status. This way Status API
implementations can easily check whether the OPA has been able to
recently check-in for bundle updates.

Fixes open-policy-agent#2009

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
tsandall added a commit that referenced this issue Feb 7, 2020
This commit updates the bundle plugin to record the last successful
download _attempt_ timestamp in the bundle status. This way Status API
implementations can easily check whether the OPA has been able to
recently check-in for bundle updates.

Fixes #2009

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant