Drop tool-specific naming convention (git hosting service)

Issue-ID: ONAPARC-540
Change-Id: Id1c8e94008752efd3d40d0e0eca44d81930c692a
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
diff --git a/bootstrap/codesearch/create_config.py b/bootstrap/codesearch/create_config.py
index e7a55c3..109219d 100755
--- a/bootstrap/codesearch/create_config.py
+++ b/bootstrap/codesearch/create_config.py
@@ -9,7 +9,7 @@
 import sys
 
 DEFAULT_GERRIT = "https://gerrit.onap.org/r"
-DEFAULT_CGIT = "https://git.onap.org"
+DEFAULT_GIT = "https://git.onap.org"
 API_PROJECTS = "/projects/"
 
 MAGIC_PREFIX = ")]}'"
@@ -27,12 +27,12 @@
     return projects.keys()
 
 
-def create_repos_list(projects, cgit):
+def create_repos_list(projects, git):
     """Create a map of all projects to their repositories' URLs."""
     repos_list = {}
     for project in projects:
         repos_list[project] = {
-            "url": "{}/{}".format(cgit, project),
+            "url": "{}/{}".format(git, project),
             "url-pattern": {
                 "base-url": "{url}/tree/{path}{anchor}",
                 "anchor": "#n{line}"
@@ -46,7 +46,7 @@
     """Return parsed command-line arguments."""
     parser = argparse.ArgumentParser(description=__doc__)
     parser.add_argument('--gerrit', help='Gerrit address', default=DEFAULT_GERRIT)
-    parser.add_argument('--cgit', help='cgit address', default=DEFAULT_CGIT)
+    parser.add_argument('--git', help='git address', default=DEFAULT_GIT)
 
     return parser.parse_args()
 
@@ -55,7 +55,7 @@
     """Main entry point for the script."""
     arguments = parse_arguments()
 
-    repos = create_repos_list(get_projects_list(arguments.gerrit), arguments.cgit)
+    repos = create_repos_list(get_projects_list(arguments.gerrit), arguments.git)
     config = {
         "max-concurrent-indexers": 2,
         "dbpath": "data",