@Test public void testTranslateDesignerModel() throws Exception { String response = aamWriterResource.translateDesignerModel(this.getTopology()); assertNotNull(response); }
@POST @Timed @Path("translate") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/x-yaml") @ApiOperation("Get SeaClouds-compliant AAM from topology-editor") public String translateDesignerModel(@ApiParam() String topology) { return AAM_WRITER.writeAam(topology); }
AamWriterResource implements Resource { @POST @Timed @Path("translate") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/x-yaml") @ApiOperation("Get SeaClouds-compliant AAM from topology-editor") public String translateDesignerModel(@ApiParam() String topology) { return AAM_WRITER.writeAam(topology); } }
AamWriterResource implements Resource { @POST @Timed @Path("translate") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/x-yaml") @ApiOperation("Get SeaClouds-compliant AAM from topology-editor") public String translateDesignerModel(@ApiParam() String topology) { return AAM_WRITER.writeAam(topology); }  }
AamWriterResource implements Resource { @POST @Timed @Path("translate") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/x-yaml") @ApiOperation("Get SeaClouds-compliant AAM from topology-editor") public String translateDesignerModel(@ApiParam() String topology) { return AAM_WRITER.writeAam(topology); }  @POST @Timed @Path("translate") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/x-yaml") @ApiOperation("Get SeaClouds-compliant AAM from topology-editor") String translateDesignerModel(@ApiParam() String topology); }
AamWriterResource implements Resource { @POST @Timed @Path("translate") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/x-yaml") @ApiOperation("Get SeaClouds-compliant AAM from topology-editor") public String translateDesignerModel(@ApiParam() String topology) { return AAM_WRITER.writeAam(topology); }  @POST @Timed @Path("translate") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/x-yaml") @ApiOperation("Get SeaClouds-compliant AAM from topology-editor") String translateDesignerModel(@ApiParam() String topology);  }