add spring data rest source to prepare next function