Hi.
I don’t really know where to put this question, so someone please move it if it’s completely wrong
I sometimes get the following two warnings in my log and I have no idea why. To my knowledge I don’t use any regex stuff anywhere and hence I haven’t got the regex transformation installed (in fact, I have no transformation add’ons at all installed).
12:59:35.547 [WARN ] [.core.transform.TransformationHelper] - Cannot get service reference for transformation service of type REGEX
12:59:35.553 [WARN ] [hab.binding.exec.handler.ExecHandler] - Couldn't transform response because transformationService of type 'REGEX' is unavailable
In fact the errors always seem to come some seconds after the abovementioned item’s content is changed. Does it use regex in some way that I don’t understand?
I suppose it is possible that it defaults the transform to REGEX((.*)) when one isn’t supplied. It seems bad to me to have a hidden dependency like this if it is indeed the source of the warning.
The “fixes” for the warning seem obvious:
install the REGEX transformation
use some other transform in the Thing
Though a real fix would be to remove the hidden dependency or at least document it prominently in the readme.