public void registerRepoUpdateTask(URI uri, StackModule stack) {
    repoUpdateExecutor.addTask(uri, stack);
  }
Register a task to obtain the latest repo url from an external location.

@param url    external repo information URL
@param stack  stack module
ambari-server/src/main/java/org/apache/ambari/server/stack/StackContext.java