Mercurial > lada > lada-server
diff src/main/java/de/intevation/lada/rest/importer/LafImportService.java @ 1069:fdc752cd17fe schema-update
Removed old importer stuff and added new Importer based on antlr4 grammar.
WIP! Currently only the parser without mapping to objects
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 30 Sep 2016 14:05:28 +0200 |
parents | 5bdd1631a451 |
children | 7683c4162746 |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/importer/LafImportService.java Tue Sep 20 16:01:02 2016 +0200 +++ b/src/main/java/de/intevation/lada/rest/importer/LafImportService.java Fri Sep 30 14:05:28 2016 +0200 @@ -34,7 +34,7 @@ * * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> */ -@Path("data/laf/import") +@Path("data/import") @RequestScoped public class LafImportService { @@ -65,7 +65,8 @@ @Consumes(MediaType.TEXT_PLAIN) public Response upload( String content, - @Context HttpServletRequest request) { + @Context HttpServletRequest request + ) { UserInfo userInfo = authorization.getInfo(request); importer.doImport(content, userInfo);