Inject RepoApi and config in linkitem

Change-Id: Ic6dc04549948026cf8e4be997cf0f8cf509bf0a1
Merge "Inject RepoApi and config in linkitem"