Package com.day.cq.dam.scene7.api
Interface Scene7EndpointsManager
public interface Scene7EndpointsManager
The
Scene7EndpointsManager is responsible for monitoring and providing endpoints' details to services that need this information.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAPIServer(String region) Returns the URL for the API server corresponding to a region.getAPIVersion(String region) Returns the API version of servers from a region.getIPSServer(String region) Returns the URL for the IPS server corresponding to a region.Returns a list of the registered Scene7 endpoints.getSPSServer(String region) Returns the URL for the SPS server corresponding to a region.getViewerSdkServer(String region) Returns the URL for the viewer SDK corresponding to a region.
-
Field Details
-
ENDPOINTS_ROOT_FOLDER
- See Also:
-
ENDPOINT_RESOURCE_TYPE
- See Also:
-
API_URL_PROP
- See Also:
-
IPS_URL_PROP
- See Also:
-
SPS_URL_PROP
- See Also:
-
DEFAULT_SECURE_PREVIEW_URL_PROP
- See Also:
-
VIEWERSDK_URL_PROP
- See Also:
-
API_VERSION_PROP
- See Also:
-
-
Method Details
-
getAPIServer
Returns the URL for the API server corresponding to a region.- Parameters:
region-- Returns:
- an
URLobject representing the API server URL
-
getIPSServer
Returns the URL for the IPS server corresponding to a region.- Parameters:
region-- Returns:
- an
URLobject representing the IPS server URL
-
getSPSServer
Returns the URL for the SPS server corresponding to a region.- Parameters:
region-- Returns:
- an
URLobject representing the SPS server URL
-
getViewerSdkServer
Returns the URL for the viewer SDK corresponding to a region.- Parameters:
region-- Returns:
- an
URLobject representing the viewer SDK URL
-
getAPIVersion
Returns the API version of servers from a region.- Parameters:
region-- Returns:
- API version
-
getScene7Endpoints
List<Scene7Endpoint> getScene7Endpoints()Returns a list of the registered Scene7 endpoints.- Returns:
- the endpoints
-