Cleanup uneccessary rest api

Signed-off-by: walteryang <walteryang47@gmail.com>
Adjust java source level to 1.7

Signed-off-by: walteryang <walteryang47@gmail.com>
Remove some uneccessary jboss mudules

Signed-off-by: walteryang <walteryang47@gmail.com>