The method had been used by the developer cockpit. It would have required some changes concerning Indexation, but we did not want to do that, as dev cockpit is unmaintained.
return !database.getDialect().supportsMigration();
}
- /**
- * Used by Developer Cockpit
- */
- public void indexComponent(String componentUuid) {
- DbClient dbClient = get(DbClient.class);
- try (DbSession dbSession = dbClient.openSession(false)) {
- dbClient.componentIndexDao().indexResource(dbSession, componentUuid);
- }
- }
-
public List<IdentityProvider> getIdentityProviders() {
return get(IdentityProviderRepository.class).getAllEnabledAndSorted();
}