Applying Angular Runtime Configurations in Dockerized Environmentsby@jfs
7,871 reads

Applying Angular Runtime Configurations in Dockerized Environments

February 18th 2020
6m
by @jfs 7,871 reads
tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

Receive Stories from @jfs

react to story with heart

RELATED STORIES

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