Co-authored-by: wxiaoguang <[email protected]>
Repository creation depends on many models, so moving it to service layer is better.