(build-init-fn files schema properties-atom)
Build a function that will read a properties file, merge it with system properties, coerce and validate it, transform it into a nested map with keyword keys, and then store it in memory.
Build a function that will read a properties file, merge it with system properties, coerce and validate it, transform it into a nested map with keyword keys, and then store it in memory.
(make-property-env-map schema)
Map of environment variable name to property name for the given schema
Map of environment variable name to property name for the given schema
(prop->env prop)
Convert a property name into an environment variable name
Convert a property name into an environment variable name
(read-env-variables schema)
Get a map of properties from environment variables
Get a map of properties from environment variables
(read-property-files files)
Read all the property files (that exist) and merge the properties into a single map
Read all the property files (that exist) and merge the properties into a single map
(transform properties)
Convert a flat map of property->value into a nested map with keyword keys, splitting on '.'
Convert a flat map of property->value into a nested map with keyword keys, splitting on '.'
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close