@GET
 @Produces(MediaType.TEXT_HTML)
 public Response ring() {
   String rendered =
       soyService.renderPlugin(
           pluginRegion,
           new AmzaStressPluginRegionInput(
               "", false, "", "", "", 0, 0, 0, 0, 0, 0, "none", true, false, "", RowType.primary));
   return Response.ok(rendered).build();
 }
 @POST
 @Produces(MediaType.TEXT_HTML)
 @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
 public Response action(
     @FormParam("client") @DefaultValue("false") boolean client,
     @FormParam("name") @DefaultValue("") String name,
     @FormParam("indexClassName") @DefaultValue("berkeleydb") String indexClassName,
     @FormParam("ringName") @DefaultValue("default") String ringName,
     @FormParam("regionPrefix") @DefaultValue("") String regionPrefix,
     @FormParam("ringSize") @DefaultValue("3") int ringSize,
     @FormParam("numBatches") @DefaultValue("1") int numBatches,
     @FormParam("batchSize") @DefaultValue("1") int batchSize,
     @FormParam("numPartitions") @DefaultValue("1") int numPartitions,
     @FormParam("numThreadsPerRegion") @DefaultValue("1") int numThreadsPerRegion,
     @FormParam("numKeyPrefixes") @DefaultValue("0") int numKeyPrefixes,
     @FormParam("consistency") @DefaultValue("none") String consistency,
     @FormParam("requireConsistency") @DefaultValue("false") boolean requireConsistency,
     @FormParam("orderedInsertion") @DefaultValue("false") boolean orderedInsertion,
     @FormParam("action") @DefaultValue("") String action,
     @FormParam("rowType") @DefaultValue("primary") String rowType) {
   String rendered =
       soyService.renderPlugin(
           pluginRegion,
           new AmzaStressPluginRegionInput(
               name.trim(),
               client,
               indexClassName.trim(),
               ringName,
               regionPrefix.trim(),
               ringSize,
               numBatches,
               batchSize,
               numPartitions,
               numThreadsPerRegion,
               numKeyPrefixes,
               consistency,
               requireConsistency,
               orderedInsertion,
               action,
               RowType.valueOf(rowType)));
   return Response.ok(rendered).build();
 }