Commit b08113a3 authored by jcorvi's avatar jcorvi
Browse files

ades api parameters

parent f71f6158
......@@ -35,23 +35,6 @@ public class DocumentController {
@RequestMapping("/documents/{id}/finding2/{findingId}")
public String findFinding2(@PathVariable(value="id") Long id, @PathVariable(value="findingId") Integer findingId) {
String snippet = documentService.findTextSnippetByDocumentIdAndFindingId2(id, findingId);
// String snippet = "{\n" +
// " \"text\": \"Ed O Kelley was the man who shot the man who shot Jesse James.\",\n" +
// " \"entities\": [\n" +
// " [\"T1\", \"Person\", [\n" +
// " [0, 11]\n" +
// " ]],\n" +
// " [\"T2\", \"Person\", [\n" +
// " [20, 23]\n" +
// " ]],\n" +
// " [\"T3\", \"Person\", [\n" +
// " [37, 40]\n" +
// " ]],\n" +
// " [\"T4\", \"Person\", [\n" +
// " [50, 61]\n" +
// " ]]\n" +
// " ]\n" +
// "}";
return snippet;
}
}
\ No newline at end of file
......@@ -2,4 +2,4 @@ spring.application.name =ades_rest_api
#Spring Boot Port
server.port = 8090
#ADES Database
spring.data.mongodb.uri=mongodb://localhost:27017/ADES
spring.data.mongodb.uri=mongodb://localhost:27017/etransafe
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment