I understood from 2 answers in SO, this and this, that even if we update the Application Settings, the current portal UI does not reflect those changes, but that if we read through our application, we would get the updated settings...
That is not happening in my NodeJs application for some odd reason:
as a Bitbucket pipeline step, I get the last committed hash and using the Kudo REST API, I update my application setting, and that works fine as seen in the Kudo settings:
The bad is that when requesting such variable through process.env.SOURCE_VERSION
I get the string
that is in the portal GUI and not this one:
and that, in HTML translates to:
that 123 string is exactly what is in the portal GUI
From the answers I've found, it must be something I'm forgetting ... but I've been stuck on this for some time and I can't figure it out what am I missing :(
As a very weird test, I've updated the portal GUI to 1234
and, even Kudo settings still show the git commit hash, in the HTML page I now get 1234
.
So it's definitely showing changes, but not what I dynamically update, just the portal variables :/