Moving rest webapp in subfolder. Adding variable in rest api path