@Path(value="/v1.0/application-configuration")
@Produces(value="application/json")
@Consumes(value="application/json")
@Validated
public interface ApplicationConfiguration
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getFromTable(String namespace,
String key) |
javax.ws.rs.core.Response |
getListOfConfigurationByNamespaceFromTable(String namespace) |
javax.ws.rs.core.Response |
insertToTable(String namespace,
String key,
InputStream fileContainingSchema) |
@POST @Path(value="/") @Consumes(value="multipart/form-data") javax.ws.rs.core.Response insertToTable(@QueryParam(value="namespace") String namespace, @QueryParam(value="key") String key, InputStream fileContainingSchema)
@GET @Path(value="/{namespace}/{key}") javax.ws.rs.core.Response getFromTable(@PathParam(value="namespace") String namespace, @PathParam(value="key") String key)
@GET @Path(value="/{namespace}") javax.ws.rs.core.Response getListOfConfigurationByNamespaceFromTable(@PathParam(value="namespace") String namespace)
Copyright © 2017. All rights reserved.