1

I was wondering if it was possible to use properties in the cd_client_conf.xml? I was expecting the same behaviour as the WEB8 microservices. In those microservices configuration files you can set ${property.name} and just add VM options to fill them in.

The problem we are trying to solve is that we want as little of environment configuration as possible within our git repository and move it to machines themselves. We are using spring profiles set within the tomcats to specify which profile is active. Now we want to do something similar for the configuration files within /classes.

Kr,

Thomas

4
  • Which CIL version are you using ? This support was not there in 8.2 and added in later releases.
    – vinayknl
    Commented Mar 17, 2017 at 15:06
  • DXA 1.5 uses CIL 8.2 Commented Mar 17, 2017 at 16:43
  • So we have to keep different cd_client_conf.xml files for each environment as long as we keep using DXA 1.5? Commented Mar 18, 2017 at 15:20
  • You can probably combine DXA 1.5 with a newer CIL version, but this has not been tested. Indeed, it's recommended to use a newer DXA version. Commented Mar 20, 2017 at 7:25

1 Answer 1

1

From CIL's perspective, as mentioned by Rick in comments, since DXA 1.5 uses 8.2 CIL, property placeholder for client configuration (cd_client_conf.xml)is not implemented. So, upgrade to newer version of DXA (which has newer CIL) is suggested approach where this feature is available.

3
  • Which CIL version has the feature? CIL 8.3? Both Java and .NET? Commented Mar 21, 2017 at 7:11
  • In CIL Java 8.3 (which uses cd_client_conf.xml) this feature was introduced. Not implemented in .Net.
    – vinayknl
    Commented Mar 21, 2017 at 9:24
  • 1
    OK, that means you will have to use DXA Java 1.6 or higher to benefit from this feature. Commented Mar 21, 2017 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.