/** * @see io.apiman.gateway.api.rest.contract.ISystemResource#getStatus() */ @Override public SystemStatus getStatus() { SystemStatus status = new SystemStatus(); status.setId("apiman-gateway-api"); //$NON-NLS-1$ status.setName("API Gateway REST API"); //$NON-NLS-1$ status.setDescription("The API Gateway REST API is used by the API Manager to publish APIs and register clients. You can use it directly if you wish, but if you are utilizing the API Manager then it's probably best to avoid invoking this API directly."); //$NON-NLS-1$ status.setUp(true); status.setVersion(getEngine().getVersion()); return status; }
@Override public SystemStatus getStatus() { SystemStatus status = new SystemStatus(); if (engine != null) { status.setUp(true); status.setVersion(engine.getVersion()); } else { status.setUp(false); } return status; }
/** * Checks that the gateway is up. */ private boolean isGatewayUp() throws GatewayAuthenticationException { SystemStatus status = getClient().getStatus(); return status.isUp(); }
@Override public SystemStatus getStatus() { SystemStatus status = new SystemStatus(); status.setUp(true); status.setVersion(engine.getVersion()); return status; } }
/** * Checks that the gateway is up. */ private boolean isGatewayUp() { SystemStatus status = getClient().getStatus(); return status.isUp(); }
/** * @see io.apiman.gateway.api.rest.contract.ISystemResource#getStatus() */ @Override public SystemStatus getStatus() { SystemStatus status = new SystemStatus(); status.setId("apiman-gateway-api"); //$NON-NLS-1$ status.setName("API Gateway REST API"); //$NON-NLS-1$ status.setDescription("The API Gateway REST API is used by the API Manager to publish APIs and register clients. You can use it directly if you wish, but if you are utilizing the API Manager then it's probably best to avoid invoking this API directly."); //$NON-NLS-1$ status.setUp(true); status.setVersion(getEngine().getVersion()); return status; }