2.4 Config Server apply
Config Server tab · momo-ticket-system ext API · RCM Config Server (KrakenD gateway)
Figure 4 — Applying a Config Server change: write RCM first, mark done afterwards
Safety design
- RCM is written first, momo-ticket-system is marked afterwards — RCM is the real system of record; if the later marking fails, the change itself has already taken effect and momo-ticket-system merely still shows it as pending, so it can be retried safely.
- Empty-value guard — when
valueis an empty string the apply is refused outright, so a production RCM value is never wiped to blank. - Multi-environment merged apply — the
environmentfield can be "TC+TP" or "TC+TP+GCP"; cogwork first resolves the credentials of every environment before it writes anything, and if any environment fails it stops and reports progress clearly, never marking a half-applied change as done.
Known limitation
caution
The "Deploy" toggle on the RCM web UI (the enable field in the API response) cannot be written through the API-key write API — in testing, sending enable:true on a write is silently ignored by RCM. Every value written through the API is therefore in the "not enabled" state, and somebody has to open the key's Deploy toggle on the RCM web UI by hand before it actually takes effect. An issue has been raised with the RCM maintainers (see rcm-enable-deploy-toggle.md).