Class CombinedConfig


  • public class CombinedConfig
    extends java.lang.Object
    This class recreates the json format used in ACS 6.1 where we just had an array of transformers and each transformer has a list of node options. The idea of this code is that it replaces the references with the actual node options that have been separated out into their own section.

    The T-Router and T-Engines return the format with the node option separated into their own section. Pipeline definitions used by the LocalTransformServiceRegistry may use node reference options defined in the json returned by T-Engines. with the actual definitions from the node options reference section. It also combines multiple json sources into a single jsonNode structure that can be parsed as before.

    • Constructor Detail

      • CombinedConfig

        public CombinedConfig​(org.apache.commons.logging.Log log)
    • Method Detail

      • addRemoteConfig

        public boolean addRemoteConfig​(java.util.List<java.lang.String> urls,
                                       java.lang.String remoteType)
      • addLocalConfig

        public void addLocalConfig​(java.lang.String path)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • getTransforms

        public java.util.List<org.alfresco.transform.client.model.config.CombinedConfig.TransformAndItsOrigin> getTransforms()
                                                                                                                      throws java.io.IOException
        Throws:
        java.io.IOException