* Add oss registry support * fix test * refactor and clean up URL parse logic * add:design docs * change default registry to oss