瀏覽代碼

add redis functionality to NodeResourceManager

tags/v0.10.5
Jonathan Cobb 4 年之前
父節點
當前提交
90c491312d
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +7
    -0
      bubble-server/src/main/java/bubble/resources/cloud/NodeManagerResource.java

+ 7
- 0
bubble-server/src/main/java/bubble/resources/cloud/NodeManagerResource.java 查看文件

@@ -179,6 +179,13 @@ public class NodeManagerResource {
return callNodeManager(request, "service");
}

@POST @Path("/redis/{key}")
public Response readRedisKey (@Context ContainerRequest ctx,
@PathParam("key") String key) {
final HttpRequestBean request = validateNodeManagerRequest(ctx, "redis/"+key);
return callNodeManager(request, "redis");
}

@POST @Path("/patch/file/{component}/{path : .+}")
@Consumes(MULTIPART_FORM_DATA)
public Response patchFile (@Context ContainerRequest ctx,


Loading…
取消
儲存