Set the rest entity service to deprecated, will be replaced by a event driven setup