paint-brush
Applying Angular Runtime Configurations in Dockerized Environmentsby@jfs
8,266 reads
8,266 reads

Applying Angular Runtime Configurations in Dockerized Environments

by JFS6mFebruary 18th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

With the shift to Cloud-first and the rise of managed infrastructure and orchestrations such as EWS, Azure AKS or GCP clusters the application landscape needs to prepare and adjust itself to match newly rising requirements. The downside of the Angular concept is, that it is a build-time configuration only. This can be achieved by getting rid of the default concept of environments using a Ajax/XHR call to retrieve the configuration dynamically instead. We implement a config service, which is instantiated on the start of the application using the appResolver fetching the config via an XHR call.

Company Mentioned

Mention Thumbnail
featured image - Applying Angular Runtime Configurations in Dockerized Environments
JFS HackerNoon profile picture
JFS

JFS

@jfs

L O A D I N G
. . . comments & more!

About Author

JFS HackerNoon profile picture
JFS@jfs

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite