mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-12 17:04:48 +00:00
ACS-3476: Re-adding a getAdditional method
It was needed for proper processing of ConfigurationProperties annotation and allowing for TRANSFORMER_ROUTES_ADDITIONAL_<engineName> for backwards compatibility. Spring mechanism takes the "transform.routes" gets the "additional" as a setting and adds to map ("ai", configFile). Without this get, the spring mechanism can't add this property due to no access to additional variable
This commit is contained in:
parent
4805ccee31
commit
dfa9f15f72
@ -50,6 +50,11 @@ public class TransformConfigFilesHistoric
|
|||||||
// environment variables like TRANSFORMER_ROUTES_ADDITIONAL_<engineName>.
|
// environment variables like TRANSFORMER_ROUTES_ADDITIONAL_<engineName>.
|
||||||
private final Map<String, String> additional = new HashMap<>();
|
private final Map<String, String> additional = new HashMap<>();
|
||||||
|
|
||||||
|
//Used by ConfigurationProperties annotation
|
||||||
|
public Map<String, String> getAdditional() {
|
||||||
|
return additional;
|
||||||
|
}
|
||||||
|
|
||||||
private String TRANSFORMER_ROUTES_FROM_CLASSPATH = "transformer-pipelines.json";
|
private String TRANSFORMER_ROUTES_FROM_CLASSPATH = "transformer-pipelines.json";
|
||||||
|
|
||||||
@Value("${transformer-routes-path}")
|
@Value("${transformer-routes-path}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user