Renamed method
This commit is contained in:
parent
c2ed490fd9
commit
4a557031d6
|
@ -142,7 +142,7 @@ public class ContextManager extends BaseRest {
|
||||||
@POST
|
@POST
|
||||||
@Path("{" + ContextManager.CONTEXT_UUID_PATH_PARAMETER + "}")
|
@Path("{" + ContextManager.CONTEXT_UUID_PATH_PARAMETER + "}")
|
||||||
@Consumes({MediaType.TEXT_PLAIN, ResourceInitializer.APPLICATION_JSON_CHARSET_UTF_8})
|
@Consumes({MediaType.TEXT_PLAIN, ResourceInitializer.APPLICATION_JSON_CHARSET_UTF_8})
|
||||||
public void activate(@PathParam(ContextManager.CONTEXT_UUID_PATH_PARAMETER) String uuid, String json)
|
public void changeState(@PathParam(ContextManager.CONTEXT_UUID_PATH_PARAMETER) String uuid, String json)
|
||||||
throws ResourceRegistryException {
|
throws ResourceRegistryException {
|
||||||
logger.info("Requested to activate {} with UUID {}", Context.NAME, uuid);
|
logger.info("Requested to activate {} with UUID {}", Context.NAME, uuid);
|
||||||
setAccountingMethod(Method.UPDATE, Context.NAME);
|
setAccountingMethod(Method.UPDATE, Context.NAME);
|
||||||
|
|
Loading…
Reference in New Issue