Interface ConfigurationService

All Superinterfaces:
Service

public interface ConfigurationService
extends Service
Provides insight into server configuration paths and URLs.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getBaseUrl​(java.lang.Long vcId)
    Returns the base web URL registered for a ValueChain.
    java.lang.String getDatasetPath()
    Returns the absolute path to the directory containing the dataset.
    java.lang.String getJbossServerPath()
    Deprecated.
    java.lang.String getPlatformVersion()
    Returns the current platform version.
    java.lang.String getServerRootPath()
    Returns the absolute path to the "server" directory within tomcat which is hosting the current platform instance.
  • Method Details

    • getBaseUrl

      java.lang.String getBaseUrl​(java.lang.Long vcId)
      Returns the base web URL registered for a ValueChain. For example, on a local development machine, it would be http://myhostname:80/oms
    • getDatasetPath

      java.lang.String getDatasetPath()
      Returns the absolute path to the directory containing the dataset. For example, C:\OneSDK\default-instance\platform\datasets\Sample_dataset
    • getJbossServerPath

      @Deprecated java.lang.String getJbossServerPath()
      Deprecated.
      Returns the absolute path to the "server" directory within tomcat which is hosting the current platform instance. For example, C:\OneSDK\default-instance\platform\third-party\apache-tomcat-server\8.0.2_release.
    • getPlatformVersion

      java.lang.String getPlatformVersion()
      Returns the current platform version. For example, 8.0, 8.1
    • getServerRootPath

      java.lang.String getServerRootPath()
      Returns the absolute path to the "server" directory within tomcat which is hosting the current platform instance. For example, C:\OneSDK\default-instance\platform\third-party\apache-tomcat-server\8.0.2_release.