@Path(value="/v1/api/applicative-test") public class ApplicativeTestResource extends Object
Constructor and Description |
---|
ApplicativeTestResource(ApplicativeTestService applicativeTestService,
String testSystemSipDirectory) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
launchCucumberTest()
launch cucumber test
|
javax.ws.rs.core.Response |
listReports()
list the report of system test
|
javax.ws.rs.core.Response |
reportByName(String fileName)
return a specific report according to his name.
|
javax.ws.rs.core.Response |
status()
get status of the test
|
javax.ws.rs.core.Response |
synchronizedTestDirectory()
synchronize tnr directory
|
public ApplicativeTestResource(ApplicativeTestService applicativeTestService, String testSystemSipDirectory)
applicativeTestService
- servicetestSystemSipDirectory
- base path on feature@POST @Produces(value="application/json") public javax.ws.rs.core.Response launchCucumberTest()
@HEAD public javax.ws.rs.core.Response status()
@GET @Produces(value="application/json") public javax.ws.rs.core.Response listReports() throws IOException
IOException
@GET @Path(value="/{report}") @Produces(value="application/octet-stream") public javax.ws.rs.core.Response reportByName(@PathParam(value="report") String fileName) throws IOException
fileName
- name of the reportIOException
@POST @Path(value="/sync") public javax.ws.rs.core.Response synchronizedTestDirectory() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2018 Vitam. All rights reserved.