Class RestExposeHelper

java.lang.Object
de.fraunhofer.iese.mydata.registry.RestExposeHelper

@Component @ConditionalOnProperty(prefix="mydata", name="external-server-url") public class RestExposeHelper extends Object
Holds the mapping Path --> componentId and retrieves Health-Information from IMyDataComponent instances
  • Constructor Details

    • RestExposeHelper

      public RestExposeHelper()
  • Method Details

    • getPipComponentIdForPath

      public Optional<de.fraunhofer.iese.mydata.component.ComponentId> getPipComponentIdForPath(String path)
      Retrieve the componentId of PIP associated with the given path
      Parameters:
      path - the path
      Returns:
      the componentId associated with that path or null
    • getPxpComponentIdForPath

      public Optional<de.fraunhofer.iese.mydata.component.ComponentId> getPxpComponentIdForPath(String path)
      Retrieve the componentId of PXP associated with the given path
      Parameters:
      path - the path
      Returns:
      the componentId associated with that path or null