Class KymaApiExportHelper
- java.lang.Object
-
- de.hybris.platform.kymaintegrationservices.utils.KymaApiExportHelper
-
public class KymaApiExportHelper extends java.lang.ObjectHelper class for API export to kyma
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPI_REG_SERVICE_IDstatic java.lang.StringDEFAULT_API_REG_SERVICE_IDstatic java.lang.StringDEFAULT_GETINFO_DESTINATION_IDstatic java.lang.StringDEFAULT_RENEWAL_SERVICE_IDstatic java.lang.StringGETINFO_DESTINATION_ID_KEYstatic java.lang.StringRENEWAL_SERVICE_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetDestinationId(ExposedDestinationModel exposedDestination)Method to get formatted destinationId for kymastatic booleanisUrlsEqualIgnoringQuery(java.lang.String urlString1, java.lang.String urlString2)Method to check if two urls strings correspond to the same destination
-
-
-
Field Detail
-
API_REG_SERVICE_ID
public static final java.lang.String API_REG_SERVICE_ID
- See Also:
- Constant Field Values
-
DEFAULT_API_REG_SERVICE_ID
public static final java.lang.String DEFAULT_API_REG_SERVICE_ID
- See Also:
- Constant Field Values
-
GETINFO_DESTINATION_ID_KEY
public static final java.lang.String GETINFO_DESTINATION_ID_KEY
- See Also:
- Constant Field Values
-
DEFAULT_GETINFO_DESTINATION_ID
public static final java.lang.String DEFAULT_GETINFO_DESTINATION_ID
- See Also:
- Constant Field Values
-
RENEWAL_SERVICE_ID
public static final java.lang.String RENEWAL_SERVICE_ID
- See Also:
- Constant Field Values
-
DEFAULT_RENEWAL_SERVICE_ID
public static final java.lang.String DEFAULT_RENEWAL_SERVICE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDestinationId
public static java.lang.String getDestinationId(ExposedDestinationModel exposedDestination)
Method to get formatted destinationId for kyma- Parameters:
exposedDestination- ExposedDestination- Returns:
- formatted destinationId
-
isUrlsEqualIgnoringQuery
public static boolean isUrlsEqualIgnoringQuery(java.lang.String urlString1, java.lang.String urlString2) throws java.net.URISyntaxExceptionMethod to check if two urls strings correspond to the same destination- Parameters:
urlString1- Url StringurlString2- Url String- Returns:
- true if urls are equal
- Throws:
java.net.URISyntaxException
-
-