fixed refresh rest datasource
Merge pull request #626 from apruden/refresh-rest-datasource

fixed refresh rest datasource