apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.5k stars 1.16k forks source link

Eliminate/Reduce redundant API GW configuration #1697

Closed mdeuser closed 7 years ago

mdeuser commented 7 years ago

API GW configuration is stored in both the API GW and in an OpenWhisk database. Updating an existing configuration value across both stores is not currently atomic and is subject to being out of sync.

One possible solution is to implement an atomic operation across a chain of actions and API calls. When an action in the chain fails, all prior actions should roll-back.

Another less complicated solution is to reduce or eliminate all of the redundant configuration so that the configuration operation is does not require a sequence of APIs/actions.

mdeuser commented 7 years ago

Resolved by PR #1730; closing issue