Class DefaultEndpoints


  • public class DefaultEndpoints
    extends java.lang.Object
    Class to define the default endpoints used commonly throughout code.
    • Field Detail

      • REMOTE_ENDPOINT_PROTOCOL_DEFAULT

        public static final java.lang.String REMOTE_ENDPOINT_PROTOCOL_DEFAULT
        See Also:
        Constant Field Values
      • REMOTE_ENDPOINT_SECURE_PROTOCOL_DEFAULT

        public static final java.lang.String REMOTE_ENDPOINT_SECURE_PROTOCOL_DEFAULT
        See Also:
        Constant Field Values
      • LOCAL_ENDPOINT_PROTOCOL_DEFAULT

        public static final java.lang.String LOCAL_ENDPOINT_PROTOCOL_DEFAULT
        See Also:
        Constant Field Values
      • LOCAL_DOCUMENT_RECEIVER

        public static final java.lang.String LOCAL_DOCUMENT_RECEIVER
        See Also:
        Constant Field Values
      • LOCAL_QUERY_RECEIVER

        public static final java.lang.String LOCAL_QUERY_RECEIVER
        See Also:
        Constant Field Values
      • LOCAL_MESSAGE_RECEIVER

        public static final java.lang.String LOCAL_MESSAGE_RECEIVER
        See Also:
        Constant Field Values
      • LOCAL_ALERT_SERVICE

        public static final java.lang.String LOCAL_ALERT_SERVICE
        See Also:
        Constant Field Values
      • WORKFLOW_DEFAULT_INGEST

        public static final java.lang.String WORKFLOW_DEFAULT_INGEST
        See Also:
        Constant Field Values
      • WORKFLOW_DEFAULT_SEARCH

        public static final java.lang.String WORKFLOW_DEFAULT_SEARCH
        See Also:
        Constant Field Values
      • LOCAL_CONTENT_STORE

        public static final java.lang.String LOCAL_CONTENT_STORE
        See Also:
        Constant Field Values
      • REMOTE_MESSAGE_SERVICE_PATH

        public static final java.lang.String REMOTE_MESSAGE_SERVICE_PATH
        See Also:
        Constant Field Values
      • REMOTE_QUERY_RECEIVER_PATH

        public static final java.lang.String REMOTE_QUERY_RECEIVER_PATH
        See Also:
        Constant Field Values
      • SINK_WORKFLOW

        public static final java.lang.String SINK_WORKFLOW
        Name of the sink workflow.
        See Also:
        Constant Field Values
      • SINK_STAGE

        public static final java.lang.String SINK_STAGE
        Name of the sink component. The system guarantees that all ingestion messages eventually end up at the sink stage.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultEndpoints

        public DefaultEndpoints()
    • Method Detail

      • getRemoteQueryReceiver

        public static java.lang.String getRemoteQueryReceiver​(java.lang.String host,
                                                              int port)
      • getRemoteMessageReceiver

        public static java.lang.String getRemoteMessageReceiver​(java.lang.String host,
                                                                int port)
      • getUri

        public static java.lang.String getUri​(java.lang.String host,
                                              int port,
                                              java.lang.String component)
      • getRemoteEndpointUriFromBaseport

        public static java.lang.String getRemoteEndpointUriFromBaseport​(java.lang.String host,
                                                                        int baseport,
                                                                        java.lang.String component,
                                                                        boolean useSSL)
      • getRemoteAdminUri

        public static java.lang.String getRemoteAdminUri​(java.lang.String host,
                                                         int port)
        Parameters:
        host -
        port -
        Returns:
        the uri for communicating with the remote admin service