Class WebApplicationConfig

    • Constructor Detail

      • WebApplicationConfig

        public WebApplicationConfig​(java.util.List<MongoDbNode> mongoDbNodes,
                                    java.lang.String dbName,
                                    java.lang.String clusterName,
                                    java.util.List<ElasticsearchNode> elasticsearchNodes,
                                    MappingLoader mappingLoader)
        Default constructor (keep it ?)
        Parameters:
        mongoDbNodes - nodes mongoDb
        dbName - mongoDb name
        clusterName - elastic search cluster name
        elasticsearchNodes - nodes elastic search
    • Method Detail

      • getBaseUrl

        public java.lang.String getBaseUrl()
        Returns:
        baseUrl
      • setBaseUrl

        public WebApplicationConfig setBaseUrl​(java.lang.String baseUrl)
        Parameters:
        baseUrl - the base url
      • getBaseUri

        public java.lang.String getBaseUri()
      • getStaticContent

        public java.lang.String getStaticContent()
        Returns:
        static content
      • setStaticContent

        public WebApplicationConfig setStaticContent​(java.lang.String staticContent)
        Parameters:
        staticContent - static content from server
      • isSecure

        public boolean isSecure()
        Returns:
        true if athentication needed, false otherwise
      • setSecure

        public void setSecure​(boolean secure)
        Parameters:
        secure - the secure access value
      • getSipDirectory

        public java.lang.String getSipDirectory()
        Returns:
        the directory path that contains SIPs ready for upload
      • setSipDirectory

        public void setSipDirectory​(java.lang.String sipDirectory)
        Parameters:
        sipDirectory - the directory path that contains SIPs ready for upload
      • getServerHost

        public java.lang.String getServerHost()
        Returns:
        the server host
      • setServerHost

        public void setServerHost​(java.lang.String serverHost)
        Parameters:
        serverHost - the server host
      • getPort

        public int getPort()
        Returns:
        the port number
      • setPort

        public void setPort​(int port)
        Parameters:
        port - the port number
      • getMasterdataDbName

        public java.lang.String getMasterdataDbName()
        Returns:
        masterdata database name
      • setMasterdataDbName

        public void setMasterdataDbName​(java.lang.String masterdataDbName)
        Parameters:
        masterdataDbName - masterdata database name
      • getLogbookDbName

        public java.lang.String getLogbookDbName()
        Returns:
        logbook database name
      • setLogbookDbName

        public void setLogbookDbName​(java.lang.String logbookDbName)
        Parameters:
        logbookDbName - logbook database name
      • getMetadataDbName

        public java.lang.String getMetadataDbName()
        Returns:
        metadata database name
      • setMetadataDbName

        public void setMetadataDbName​(java.lang.String metadataDbName)
        Parameters:
        metadataDbName - metadata database name
      • getTestSystemSipDirectory

        public java.lang.String getTestSystemSipDirectory()
        Returns:
        folder to store integration test
      • setTestSystemSipDirectory

        public void setTestSystemSipDirectory​(java.lang.String testSystemSipDirectory)
        Parameters:
        testSystemSipDirectory - folder to store integration test
      • getTestSystemReportDirectory

        public java.lang.String getTestSystemReportDirectory()
        Returns:
        folder to store report of system test
      • setTestSystemReportDirectory

        public void setTestSystemReportDirectory​(java.lang.String testSystemReportDirectory)
        Parameters:
        testSystemReportDirectory - folder to store report of system test
      • getPerformanceReportDirectory

        public java.lang.String getPerformanceReportDirectory()
        Returns:
        performance report directory
      • setPerformanceReportDirectory

        public void setPerformanceReportDirectory​(java.lang.String performanceReportDirectory)
        Parameters:
        performanceReportDirectory - performance report directory
      • getSecureMode

        public java.util.List<java.lang.String> getSecureMode()
        get secure mode
        Returns:
        secure mode
      • setSecureMode

        public void setSecureMode​(java.util.List<java.lang.String> secureMode)
        Parameters:
        secureMode -
      • getIngestMaxThread

        public int getIngestMaxThread()
      • setIngestMaxThread

        public void setIngestMaxThread​(int ingestMaxThread)
      • setFunctionalAdminAdmin

        public void setFunctionalAdminAdmin​(FunctionalAdminAdmin functionalAdminAdmin)
      • setElasticsearchExternalMetadataMappings

        public void setElasticsearchExternalMetadataMappings​(java.util.List<ElasticsearchExternalMetadataMapping> elasticsearchExternalMetadataMappings)
      • getWorkspaceUrl

        public java.lang.String getWorkspaceUrl()
      • getClusterName

        public java.lang.String getClusterName()
      • getElasticsearchNodes

        public java.util.List<ElasticsearchNode> getElasticsearchNodes()