Class EmbeddedMongoConfiguration

java.lang.Object
org.ikasan.component.endpoint.mongo.test.EmbeddedMongoConfiguration

public class EmbeddedMongoConfiguration extends Object
Used to keep the configuration in one place for EmbeddedMongo
Author:
Kieron Edwards
  • Field Details

  • Constructor Details

    • EmbeddedMongoConfiguration

      public EmbeddedMongoConfiguration()
  • Method Details

    • getDistributionDirectory

      public String getDistributionDirectory()
    • setDistributionDirectory

      public void setDistributionDirectory(String distributionDirectory)
      Set the directory where embedded mongo will look for a mongo .zip distribution to download Use this if you are behind a firewall and cant easily access the mongo distribution site
    • getDatabaseDirectory

      public String getDatabaseDirectory()
    • setDatabaseDirectory

      public void setDatabaseDirectory(String databaseDirectory)
      Set the directory for the database files
    • getArchiveStorageDirectory

      public String getArchiveStorageDirectory()
    • setArchiveStorageDirectory

      public void setArchiveStorageDirectory(String archiveStorageDirectory)
      Set the directory where the distribution zip is downloaded to
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
      Set mongo version ensuring you are using a sufficient version of the mongo-java-driver for this and that you can access the distribution zip associated with this version
    • getPort

      public Integer getPort()
    • setPort

      public void setPort(Integer port)
    • getHttpProxyHost

      public String getHttpProxyHost()
    • setHttpProxyHost

      public void setHttpProxyHost(String httpProxyHost)
    • getHttpProxyPort

      public String getHttpProxyPort()
    • setHttpProxyPort

      public void setHttpProxyPort(String httpProxyPort)
    • toString

      public String toString()
      Overrides:
      toString in class Object