KEYCLOAK-1542 - code cleanup ahead of PR

This commit is contained in:
Vlastimil Elias 2015-07-22 13:35:56 +02:00
parent 84e40cbc2c
commit 85816be967
4 changed files with 0 additions and 21 deletions

View file

@ -231,12 +231,6 @@ public class DefaultJpaConnectionProviderFactory implements JpaConnectionProvide
public String getDatabaseProduct() { public String getDatabaseProduct() {
return databaseProduct; return databaseProduct;
} }
@Override
public boolean isOk() {
// TODO KEYCLOAK-1578 - implement operational monitoring of JPA DB connection
return true;
}
} }
} }

View file

@ -212,12 +212,6 @@ public class DefaultMongoConnectionFactoryProvider implements MongoConnectionPro
public String driverVersion; public String driverVersion;
public String user; public String user;
@Override
public boolean isOk() {
// TODO KEYCLOAK-1578 - implement operational monitoring of Mongo DB connection
return true;
}
public String getAddress() { public String getAddress() {
return address; return address;
} }

View file

@ -11,12 +11,4 @@ import java.io.Serializable;
*/ */
public interface ProviderOperationalInfo extends Serializable { public interface ProviderOperationalInfo extends Serializable {
/**
* Return true if provider is OK from operation point of view. It means it is able to perform necessary work.
* It can return false for example if remote DB of JPA provider is not available, or LDAP server of LDAP based user federation provider is not available.
*
* @return true if provider is OK to perform his operation.
*/
boolean isOk();
} }

View file

@ -19,7 +19,6 @@ import org.keycloak.Version;
import org.keycloak.broker.provider.IdentityProvider; import org.keycloak.broker.provider.IdentityProvider;
import org.keycloak.broker.provider.IdentityProviderFactory; import org.keycloak.broker.provider.IdentityProviderFactory;
import org.keycloak.connections.jpa.JpaConnectionProvider; import org.keycloak.connections.jpa.JpaConnectionProvider;
import org.keycloak.connections.mongo.DefaultMongoConnectionFactoryProvider.MongoDbInfo;
import org.keycloak.connections.mongo.MongoConnectionProvider; import org.keycloak.connections.mongo.MongoConnectionProvider;
import org.keycloak.events.EventListenerProvider; import org.keycloak.events.EventListenerProvider;
import org.keycloak.events.EventType; import org.keycloak.events.EventType;