idvoretskyi / horizon-cloud

An operations service to deploy, manage, and scale Horizon apps
0 stars 0 forks source link

Add an API endpoint to wait until reality catches up with a version #125

Closed mlucy closed 8 years ago

mlucy commented 8 years ago

We should have a generic API for waiting until things are applied. So for example setKubeConfig should give you back a (id, version, string) pair that you can pass to /waitFor and wait until that configuration is actually applied.

On the server this should be implemented using the same Version, AppliedVersion, ErrorVersion logic currently used for HorizonConfigs.

mlucy commented 8 years ago

We don't need this any more now that we're syncing data into Horizon's rethinkdb.