gerrit/gerrit-server/src/main/java/com/google/gerrit/server
Jacek Centkowski b6e94a00a0 Introduce mechanism to overload Gerrit core modules
CacheImpl [1] introduced the possibility to overload core Gerrit
module with one that is provided by library. This change
generalizes it so that any Gerrit core module can be overloaded.

How to overload Gerrit core module:
* identify module that needs to be overloaded and mark it with
@ModuleImpl(name="moduleX") annotation; note that circular dependencies
from different module qualifies particular instance as non-candidate
* build lib module that provides alternative implementation
to the module in question and mark it with the same
annotation
* place implementation jar under GERRIT_SITE/lib dir and add
gerrit.installModule entry with your.package.Module path to
gerrit.config.

[1] https://gerrit-review.googlesource.com/c/gerrit/+/173162

Change-Id: Ic6dac8d1cc558abdcfd7a1cc257dbd7f8924ff9b
Signed-off-by: Jacek Centkowski <jcentkowski@collab.net>
2018-05-14 13:09:55 +09:00
..
access Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
account Add more debug logging to account creation 2018-04-24 10:55:22 -04:00
api ChangeApiImpl: Don't catch RestApiException on rebase 2017-03-30 16:18:25 +09:00
args4j Align SSH create-project with REST API 2018-03-10 01:01:35 +00:00
auth MissingCredentialsException: Fix grammar in javadoc 2017-04-12 12:39:39 +09:00
avatar Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
cache Introduce mechanism to overload Gerrit core modules 2018-05-14 13:09:55 +09:00
change Replace "the the" occurences with "the" (wrong repetition) 2018-04-19 09:30:07 +02:00
config TrackingFootersProvider: Fix spelling mistake in log message 2018-05-08 08:21:36 +09:00
data Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
documentation Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
edit Improve error message when publishing an already published change edit 2017-05-24 12:01:18 +00:00
events EventFactory: Log PatchListNotAvailableException always as error 2018-05-08 08:21:36 +09:00
extensions EventUtil: Always say 'event listener' in logs 2018-05-08 08:21:36 +09:00
git WorkQueue: Add metrics 2018-05-10 07:57:43 +09:00
group GetAuditLog: Fix NPE if group UUID cannot be resolved 2018-04-17 11:14:04 +00:00
index Remove duplication between both index modules 2018-04-24 17:40:08 +00:00
ioutil Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
mail Upgrade to google-java-format 1.5 2018-04-18 09:06:49 +02:00
mime Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
notedb Upgrade to google-java-format 1.5 2018-04-18 09:06:49 +02:00
patch DiffSummaryLoader: Remove unused logger 2018-05-08 08:21:36 +09:00
plugins Fix plugin IT test for plugins using @PluginData annotation 2017-12-13 21:14:18 -05:00
project Upgrade to google-java-format 1.5 2018-04-18 09:06:49 +02:00
query Fix internal errors when 'destination:' refers to non-existing destination 2018-04-16 16:41:51 +02:00
schema Upgrade to google-java-format 1.5 2018-04-18 09:06:49 +02:00
securestore PluginConfigFactory: reload also outdated secure store 2017-02-17 12:42:00 +01:00
ssh Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
tools Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
update Upgrade to google-java-format 1.5 2018-04-18 09:06:49 +02:00
util Upgrade Guava to 22.0 2017-11-02 19:10:14 +00:00
validators Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
AccessPath.java
AnonymousUser.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ApprovalCopier.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ApprovalsUtil.java ApprovalsUtil: Throw RestApiExceptions from check* methods 2017-02-21 10:07:19 -05:00
ChangeFinder.java Add account predicate that checks if user can see a certain change 2018-03-22 14:17:39 +09:00
ChangeMessagesUtil.java BatchUpdate: Extract interfaces for *Context 2017-03-13 10:06:34 -04:00
ChangeUtil.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CmdLineParserModule.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CommentsUtil.java BatchUpdate: Extract interfaces for *Context 2017-03-13 10:06:34 -04:00
CommonConverters.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CurrentUser.java Migrate external IDs to NoteDb (part 1) 2017-02-28 09:09:39 +01:00
EnableSignedPush.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
GerritPersonIdent.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
GerritPersonIdentProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
GpgException.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
IdentifiedUser.java Squash redundant string concatenations introduced by google-java-format 2017-02-17 08:57:46 +09:00
InternalUser.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
LibModuleLoader.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ModuleImpl.java Introduce mechanism to overload Gerrit core modules 2018-05-14 13:09:55 +09:00
ModuleOverloader.java Introduce mechanism to overload Gerrit core modules 2018-05-14 13:09:55 +09:00
OptionUtil.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
OutputFormat.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
PatchSetUtil.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
PeerDaemonUser.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
PluginUser.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ProjectUtil.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
RemotePeer.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
RequestCleanup.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ReviewerRecommender.java Upgrade to google-java-format 1.5 2018-04-18 09:06:49 +02:00
ReviewerSet.java Revert "Always use REVIEW state in ReviewDb" 2017-03-06 08:54:07 +01:00
ReviewerStatusUpdate.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ReviewersUtil.java ReviewersUtil: Add logging and metrics for reviewer suggestion 2017-05-11 09:57:57 +09:00
Sequences.java AllProjectsCreator: Seed refs/sequences/changes if applicable 2017-03-17 15:23:19 -04:00
StarredChangesUtil.java Squash redundant string concatenations introduced by google-java-format 2017-02-17 08:57:46 +09:00
StartupCheck.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
StartupChecks.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
StartupException.java Add support for performing checks on Gerrit start up 2017-01-31 16:47:14 +01:00
StringUtil.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
UrlEncoded.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
WebLinks.java WebLinks: Don't show file weblinks for magic files 2017-10-03 07:51:45 +01:00