CPC G06F 11/3696 (2013.01) [G06F 9/44505 (2013.01); G06F 11/3664 (2013.01)] | 17 Claims |
1. A system that implements a configuration management tool that uses runtime injection to dynamically replace hard coded values at runtime, the system comprising:
a memory component that stores configuration files; and
a computer processor, coupled to the memory component, and further programmed to perform:
defining environment configuration values of a plurality of environments in a single configuration file using a universal unique identifier, such that a same single configuration file is utilized for the plurality of environments;
applying one or more placeholder variables for one or more corresponding key values in the single configuration file;
using the universal unique identifier, mapping the one or more corresponding key values in the single configuration file; and
at the runtime,
dynamically retrieving the universal unique identifier from the single configuration file stored in the memory,
dynamically retrieving mapping values for the universal unique identifier,
dynamically retrieving the one or more key values corresponding to the universal unique identifier based on the dynamically retrieved mapping values, and
replacing the one or more placeholder variables with the dynamically retrieved one or more corresponding key values,
wherein the universal unique identifier corresponds to a specific environment among the plurality of environments that utilize the same single configuration file.
|