In your UM Cloud installation you cannot just SSH into your machine and edit one of the familiar configuration files (cmsbs.properties
, additional.attributes
etc.) to update certain global settings, modify the data model or add custom CSE plugins.
...
Erweitern | ||
---|---|---|
| ||
|
...
env/test/cmsbs-conf/conf.d/
env/staging/cmsbs-conf/conf.d/
env/prod/cmsbs-conf/conf.d/
Adding and overwriting configuration files
When a Cloud UM is deployed, configuration files will be copied together in a certain order, with files of the same name being overwritten.
The whole
cmsbs-conf/
directory is pre-populated by the familiar UM installer that is run unattendedly.Certain files are added to or overwritten in
cmsbs-conf/
to adapt the UM to the Cloud environment in general and to prepare it for the specific customer.Your custom UM Plugins will be deployed last so they could – in principle – override each and every file that pre-exists:
First,
cmsbs-conf
is copied on top of the existing directory,and second,
env/<environment>/
...
Example
Ladereihenfolge der Konfigdateien
Unsere ganz vorn mit _pi.*
Tip:
...
cmsbs-conf/
is in turn copied on top.
Loading order of configuration files
When the UM starts, configuration files will be loaded and evaluated in the following order:
cmsbs-conf/cmsbs.properties
cmsbs-conf/conf.d/*.properties
(in alphanumerical order of the respective file names)
The same applies to attribute model configuration files:
cmsbs-conf/additional.attributes
cmsbs-conf/conf.d/*.attributes
(in alphanumerical order of the respective file names)
All configuration files in cmsbs-conf/conf.d/
that are provided by Pinuts share the same file name prefix _pi.
and thus will be evaluated first.
Implementing custom REST endpoints, Jobs, Callbacks etc.
Besides adding configuration files you can also add everything that can be implemented using UM’s Core Scripting Engine like…
REST endpoints
Cronjobs
Callbacks and Hooks
Backoffice Wizards
See Tutorials for examples of frequently used programming patterns.
Info |
---|
Hint Go to Extras / System / cmsbs.properties in the UM backoffice GUI to see the effective values for all global config variables. Likewise, go to Extras / System / additional.attributes to see the accumulated attribute configuration. |