Refactor #785

Updated by bcourt over 6 years ago

This task is to create a repository model without implementing full manager support or migrating the existing managers. It is only to create the base mongoengine object for repositories. Creating this object first will allow other work to proceed in parallel after this task is complete.


* A working mongoengine model that addresses the current fields in the repos collection with no changes to the data structure
* Support for all the functionality of the pulp/server/managers/repo/ method as well.
* Indexes on the mongoengine model that match the current fields
* Conversion of the managers to use the new object is *NOT* part of this task

Conversion guide":
Unit conversion plan: