Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Start of REST documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
medined committed Jun 23, 2014
1 parent 52daf69 commit 6208a84
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ http://localhost:11001/trace

### D4M URLs

http://localhost:11000/tables/list?user=root&password=secret
http://localhost:11000/tables/create?user=root&password=secret
http://localhost:11000/tables-create?baseTableName=foo
http://localhost:11000/tables-create?baseTableName=bar&addSplitsForSha1=true
Expand Down
5 changes: 5 additions & 0 deletions rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ public D4MResponse list(
rv.setTables(Tables.getNameToIdMap(accumuloService.getInstance()));
return rv;
}

}

0 comments on commit 6208a84

Please sign in to comment.