getInputFeatures
public java.util.List<java.lang.String> getInputFeatures(java.lang.String mvelExpr)
Gets the input features in the mvel expression.
It leverages Mvel compiler to compute the input variables. However, Mvel needs to resolve the imports via the
classloader. To make this functionality light, we don't want to rely on the class loaders as sometimes we only
have a simple config file. Instead, we use a heuristic approach to replace the import with some dummy class that
we have and the input variables will still be correctly computed by Mvel.
TODO - 7784): Migrate this inline mvel expression to a more structured derived syntax
Part of the reason we need to do this is we are not using the more explicit derived syntax where input features
are explicitly specified. We should explore if we can migrate the implicit inline derived features to the explicit
ones.