public interface

ApiSpace

implements Traceable, Manageable

 com.bluenimble.platform.api.ApiSpace

Summary

Methods
public voidaddFeature(java.lang.String name, java.lang.String feature, java.lang.String provider, JsonObject spec)

public voidaddRecyclable(java.lang.String key, Recyclable recyclable)

public voidaddSecrets(java.lang.String name, JsonObject spec)

public voidalter(java.lang.String spaceNs, JsonObject change)

public Apiapi(java.lang.String api)

public booleancontainsRecyclable(java.lang.String key)

public ApiSpacecreate(JsonObject oSpace)

public voiddeleteFeature(java.lang.String name, java.lang.String feature)

public voiddeleteSecrets(java.lang.String name)

public JsonObjectdescribe(DescribeOption opts[])

public voiddrop(java.lang.String namespace)

public CodeExecutorexecutor()

public java.lang.Objectfeature(java.lang.Class<java.lang.Object> type, java.lang.String feature, ApiContext context)

public java.lang.StringgetDescription()

public JsonObjectgetFeatures()

public java.lang.StringgetName()

public java.lang.StringgetNamespace()

public RecyclablegetRecyclable(java.lang.String key)

public java.util.Set<java.lang.String>getRecyclables()

public KeyPairgetRootKeys()

public java.lang.ObjectgetRuntime(java.lang.String name)

public JsonObjectgetSecrets(java.lang.String name)

public Apiinstall(ApiStreamSource payload)

public Apiinstall(java.lang.String spaceFolder, java.lang.String apiFile)

public JsonObjectinstance(DescribeOption opts[])

public booleanisBlocked()

public booleanisStarted()

public JsonArraykeys()

public SpaceKeyStorekeystore()

public voidlist(ApiSpace.Selector selector)

public voidpause(java.lang.String apiNs)

public voidrefresh(JsonObject descriptor)

public voidremoveRecyclable(java.lang.String key)

public ApiRequestrequest(ApiRequest parentRequest, ApiConsumer consumer, ApiSpace.Endpoint endpoint)

public voidrestart(java.lang.String spaceNs)

public voidresume(java.lang.String apiNs)

public voidsave()

public java.lang.Stringsign(ApiRequest request, java.lang.String utcTimestamp, java.lang.String accessKey, java.lang.String secretKey, boolean writeToRequest)

public ApiSpacespace(java.lang.String space)

public java.util.Collection<ApiSpace>spaces()

public voidstart(java.lang.String apiNs)

public voidstop(java.lang.String apiNs)

public voiduninstall(java.lang.String api)

Methods

public KeyPair getRootKeys()

public java.lang.String getNamespace()

public java.lang.String getName()

public java.lang.String getDescription()

public boolean isStarted()

public boolean isBlocked()

public ApiSpace create(JsonObject oSpace)

public void drop(java.lang.String namespace)

public Api install(java.lang.String spaceFolder, java.lang.String apiFile)

public Api install(ApiStreamSource payload)

public void uninstall(java.lang.String api)

public void stop(java.lang.String apiNs)

public void start(java.lang.String apiNs)

public void save()

public void restart(java.lang.String spaceNs)

public void refresh(JsonObject descriptor)

public void alter(java.lang.String spaceNs, JsonObject change)

public void pause(java.lang.String apiNs)

public void resume(java.lang.String apiNs)

public void list(ApiSpace.Selector selector)

public ApiSpace space(java.lang.String space)

public java.util.Collection<ApiSpace> spaces()

public void addFeature(java.lang.String name, java.lang.String feature, java.lang.String provider, JsonObject spec)

public void deleteFeature(java.lang.String name, java.lang.String feature)

public void addSecrets(java.lang.String name, JsonObject spec)

public JsonObject getSecrets(java.lang.String name)

public void deleteSecrets(java.lang.String name)

public JsonObject getFeatures()

public java.lang.Object getRuntime(java.lang.String name)

public JsonObject instance(DescribeOption opts[])

public Api api(java.lang.String api)

public java.lang.Object feature(java.lang.Class<java.lang.Object> type, java.lang.String feature, ApiContext context)

public ApiRequest request(ApiRequest parentRequest, ApiConsumer consumer, ApiSpace.Endpoint endpoint)

public java.lang.String sign(ApiRequest request, java.lang.String utcTimestamp, java.lang.String accessKey, java.lang.String secretKey, boolean writeToRequest)

public CodeExecutor executor()

public void addRecyclable(java.lang.String key, Recyclable recyclable)

public Recyclable getRecyclable(java.lang.String key)

public void removeRecyclable(java.lang.String key)

public boolean containsRecyclable(java.lang.String key)

public java.util.Set<java.lang.String> getRecyclables()

public JsonObject describe(DescribeOption opts[])

public SpaceKeyStore keystore()

public JsonArray keys()