xebialabs-community / xld-openshift-plugin

Plugin to deploy war files on jboss gears in open shift and support for OpenShift v3 on Kubernetes
2 stars 6 forks source link

openshift.Resource does not perform token substituion on json/yml files by default #7

Closed MarkRx closed 7 years ago

MarkRx commented 7 years ago

This is inconvenient as resources are specified in yml or json format.

It could be done using the following in synthetic.xml:

<property name="textFileNamesRegex" hidden="true" default=".+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt | json | yml | yaml )" />

I don't know why XLD does not support this on deployables by default. It shouldn't be a problem for json files as the string "{{" is not valid json (though "}}" is).

jdewinne commented 7 years ago

Fixed this in v6.2.2. Thanks for reporting.