fixed rest client spring config