in src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraModule.java [50:72]
protected void configure() {
bind(ItsFacade.class).to(JiraItsFacade.class);
bind(ItsFacadeFactory.class).to(JiraItsServer.class).asEagerSingleton();
bind(ProjectConfigEntry.class)
.annotatedWith(Exports.named(PROJECT_CONFIG_URL_KEY))
.toInstance(new JiraUrlProjectConfigEntry("Server URL"));
bind(ProjectConfigEntry.class)
.annotatedWith(Exports.named(PROJECT_CONFIG_USERNAME_KEY))
.toInstance(new ProjectConfigEntry("JIRA username", ""));
bind(ProjectConfigEntry.class)
.annotatedWith(Exports.named(PROJECT_CONFIG_PASSWORD_KEY))
.toInstance(new ProjectConfigEntry("JIRA password", ""));
bind(ItsConfig.class);
bind(JiraItsServerInfoProvider.class);
bind(CustomAction.class)
.annotatedWith(Exports.named(MarkPropertyAsReleasedVersion.ACTION_NAME))
.to(MarkPropertyAsReleasedVersion.class);
install(new ItsHookModule(pluginName, pluginCfgFactory));
install(JiraItsServerCacheImpl.module());
listener().to(JiraItsStartupHealthcheck.class);
LOG.info("JIRA is configured as ITS");
}