Added OperationRepo's API and unit tests