config RESTAdapter