write ApiType NCC/SCC in smt.conf during mirgation
query organization repositories
add mark_repos_mirrorable()
make setMirrorableCatalogs work with SCC
fix syntax errors