@RestController @RequestMapping(path="api/v1/test-defs") public class TestDefinitionRestAPI extends AbstractRestResource
The url pattern:
gson, logger| Constructor and Description |
|---|
TestDefinitionRestAPI(MongoTestDAO testDAO) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTestDef(String release,
int schema) |
String |
getTestDefs(boolean activeOnly,
int skip,
int count) |
copyDBObject, maskValuespublic TestDefinitionRestAPI(MongoTestDAO testDAO)
testDAO - low-level data service for tests@GetMapping(produces="application/json") public String getTestDefs(@RequestParam(value="activeOnly",defaultValue="true") boolean activeOnly, @RequestParam(value="skip",defaultValue="0") int skip, @RequestParam(value="count",defaultValue="50") int count)
Copyright © 2005–2018 Alfresco Software. All rights reserved.