Interface ApiRegistrationStrategy
-
- All Known Implementing Classes:
DefaultApiRegistrationStrategy
,KymaApiRegistrationStrategy
public interface ApiRegistrationStrategy
Service for exporting/registration webservices specifications
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
registerExposedDestination(ExposedDestinationModel destination)
Send api specification to register exposed destinationjava.util.List<RegisteredDestinationData>
retrieveRegisteredExposedDestinations(DestinationTargetModel destinationTarget)
Retrieves all registered exposed destination from target systemvoid
unregisterExposedDestination(ExposedDestinationModel destination)
Send api specification to unregister exposed destinationvoid
unregisterExposedDestinationByTargetId(java.lang.String targetId, java.lang.String destinationTargetId)
Unregister exposed destination from target system
-
-
-
Method Detail
-
registerExposedDestination
void registerExposedDestination(ExposedDestinationModel destination) throws ApiRegistrationException
Send api specification to register exposed destination- Parameters:
destination
-- Throws:
ApiRegistrationException
-
unregisterExposedDestination
void unregisterExposedDestination(ExposedDestinationModel destination) throws ApiRegistrationException
Send api specification to unregister exposed destination- Parameters:
destination
-- Throws:
ApiRegistrationException
-
retrieveRegisteredExposedDestinations
java.util.List<RegisteredDestinationData> retrieveRegisteredExposedDestinations(DestinationTargetModel destinationTarget) throws ApiRegistrationException
Retrieves all registered exposed destination from target system- Returns:
- list of destination data
- Throws:
ApiRegistrationException
- in case when retrieving destinations fails
-
unregisterExposedDestinationByTargetId
void unregisterExposedDestinationByTargetId(java.lang.String targetId, java.lang.String destinationTargetId) throws ApiRegistrationException
Unregister exposed destination from target system- Parameters:
targetId
- target id of the registered destinationdestinationTargetId
- id of the destination target- Throws:
ApiRegistrationException
-
-