@Path(value="contexts") public class ContextService extends Object
| Constructor and Description |
|---|
ContextService() |
| Modifier and Type | Method and Description |
|---|---|
String |
addResourceToContext(String context,
org.gcube.common.resources.gcore.Resource resource) |
String |
createVREContext(List<String> resourceIds) |
String |
disposeVREContext() |
org.gcube.vremanagement.contextmanager.model.types.ContextList |
getContexts() |
String |
removeResourceFromContext(String context) |
@GET @Produces(value="application/json") @Path(value="") public org.gcube.vremanagement.contextmanager.model.types.ContextList getContexts()
@PUT
@Path(value="/{infra}/{vo}/{vre}")
public String createVREContext(List<String> resourceIds)
@DELETE
@Path(value="/{infra}/{vo}/{vre}")
public String disposeVREContext()
@DELETE
@Path(value="/{context:(.*(?=/resources))}/resources/{resourceId}")
public String removeResourceFromContext(@PathParam(value="context")
String context)
Copyright © 2020. All Rights Reserved.