code: protected static void submitSuccessfulPathRegistration(EventSubmitter eventSubmitter, HiveSpec spec) {
      eventSubmitter.submit(PATH_REGISTRATION + SUCCESS_POSTFIX,
          getAdditionalMetadata(spec, Optional.<Exception> absent()));
    }
docs: Path Registration