Class DIServerConfig


  • public class DIServerConfig
    extends org.pentaho.di.www.SlaveServerConfig
    Slave Server Config for Carte Servlet running within the DI Server. Overrides getRepository() and getMetaStore() to use an in-process PurRepository connection with active user credentials if not otherwise configured via slaveserverconfig.xml
    Author:
    nhudak
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PUR_REPOSITORY_PLUGIN_ID  
      static String SINGLE_DI_SERVER_INSTANCE  
      • Fields inherited from class org.pentaho.di.www.SlaveServerConfig

        XML_TAG, XML_TAG_ACCEPT_QUEUE_SIZE, XML_TAG_ACCEPTORS, XML_TAG_AUTO_CREATE, XML_TAG_AUTOSEQUENCE, XML_TAG_JETTY_OPTIONS, XML_TAG_LOW_RES_MAX_IDLE_TIME, XML_TAG_MASTERS, XML_TAG_REPOSITORY, XML_TAG_SEQUENCES
    • Constructor Summary

      Constructors 
      Constructor Description
      DIServerConfig​(org.pentaho.di.core.logging.LogChannel logChannel, Node configNode)  
      DIServerConfig​(org.pentaho.di.core.logging.LogChannel logChannel, Node configNode, org.pentaho.di.core.plugins.PluginRegistry pluginRegistry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.pentaho.metastore.stores.delegate.DelegatingMetaStore getMetaStore()  
      org.pentaho.di.repository.Repository getRepository()  
      • Methods inherited from class org.pentaho.di.www.SlaveServerConfig

        getAutoSequence, getDatabases, getFilename, getMasters, getMaxLogLines, getMaxLogTimeoutMinutes, getObjectTimeoutMinutes, getPasswordFile, getRepositoryId, getRepositoryPassword, getRepositoryUsername, getSlaveSequences, getSlaveServer, getXML, isAutomaticCreationAllowed, isJoining, isReportingToMasters, parseJettyOptions, readAutoSequences, setAutomaticCreationAllowed, setAutoSequence, setDatabases, setFilename, setJoining, setMasters, setMaxLogLines, setMaxLogTimeoutMinutes, setMetaStore, setObjectTimeoutMinutes, setPasswordFile, setReportingToMasters, setRepository, setRepositoryId, setRepositoryPassword, setRepositoryUsername, setSlaveSequences, setSlaveServer, setUpJettyOptions
    • Constructor Detail

      • DIServerConfig

        public DIServerConfig​(org.pentaho.di.core.logging.LogChannel logChannel,
                              Node configNode)
                       throws org.pentaho.di.core.exception.KettleXMLException
        Throws:
        org.pentaho.di.core.exception.KettleXMLException
      • DIServerConfig

        public DIServerConfig​(org.pentaho.di.core.logging.LogChannel logChannel,
                              Node configNode,
                              org.pentaho.di.core.plugins.PluginRegistry pluginRegistry)
                       throws org.pentaho.di.core.exception.KettleXMLException
        Throws:
        org.pentaho.di.core.exception.KettleXMLException
    • Method Detail

      • getRepository

        public org.pentaho.di.repository.Repository getRepository()
                                                           throws org.pentaho.di.core.exception.KettleException
        Overrides:
        getRepository in class org.pentaho.di.www.SlaveServerConfig
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getMetaStore

        public org.pentaho.metastore.stores.delegate.DelegatingMetaStore getMetaStore()
        Overrides:
        getMetaStore in class org.pentaho.di.www.SlaveServerConfig