macwire configuration and productrepository injection