public interface IGatewayLink
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close down the gateway link when it's no longer needed.
|
io.apiman.gateway.engine.beans.ServiceEndpoint |
getServiceEndpoint(String organizationId,
String serviceId,
String version)
Gets the service endpoint from the gateway.
|
io.apiman.gateway.engine.beans.SystemStatus |
getStatus()
Gets the current status of the gateway.
|
void |
publishService(io.apiman.gateway.engine.beans.Service service)
Publishes a new
Service. |
void |
registerApplication(io.apiman.gateway.engine.beans.Application application)
Registers a new
Application. |
void |
retireService(io.apiman.gateway.engine.beans.Service service)
Retires (removes) a
Service from the registry. |
void |
unregisterApplication(io.apiman.gateway.engine.beans.Application application)
Removes an
Application from the registry. |
io.apiman.gateway.engine.beans.SystemStatus getStatus()
throws GatewayAuthenticationException
GatewayAuthenticationExceptionvoid publishService(io.apiman.gateway.engine.beans.Service service)
throws io.apiman.gateway.engine.beans.exceptions.PublishingException,
GatewayAuthenticationException
Service.service - the service being publishedio.apiman.gateway.engine.beans.exceptions.PublishingExceptionGatewayAuthenticationExceptionvoid retireService(io.apiman.gateway.engine.beans.Service service)
throws io.apiman.gateway.engine.beans.exceptions.PublishingException,
GatewayAuthenticationException
Service from the registry.service - the service to retire/removeio.apiman.gateway.engine.beans.exceptions.PublishingExceptionGatewayAuthenticationExceptionvoid registerApplication(io.apiman.gateway.engine.beans.Application application)
throws io.apiman.gateway.engine.beans.exceptions.RegistrationException,
GatewayAuthenticationException
Application. An application is ultimately a collection of
contracts to managed services.application - the application being registeredio.apiman.gateway.engine.beans.exceptions.PublishingExceptionio.apiman.gateway.engine.beans.exceptions.RegistrationExceptionGatewayAuthenticationExceptionvoid unregisterApplication(io.apiman.gateway.engine.beans.Application application)
throws io.apiman.gateway.engine.beans.exceptions.RegistrationException,
GatewayAuthenticationException
Application from the registry.application - the application to removeio.apiman.gateway.engine.beans.exceptions.RegistrationExceptionGatewayAuthenticationExceptionio.apiman.gateway.engine.beans.ServiceEndpoint getServiceEndpoint(String organizationId, String serviceId, String version) throws GatewayAuthenticationException
organizationId - serviceId - version - io.apiman.gateway.api.rest.contract.exceptions.NotAuthorizedExceptionGatewayAuthenticationExceptionvoid close()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.