Rest api

bad bugfix..my bad
and update attribute to tomcat goal added