Class 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 Detail

      • RestExposeHelper

        public RestExposeHelper()
    • Method Detail

      • 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