-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove unused bean.xml files (#18136)
- Loading branch information
Showing
10 changed files
with
38 additions
and
185 deletions.
There are no files selected for viewing
8 changes: 0 additions & 8 deletions
8
dhis-2/dhis-services/dhis-service-tracker/src/main/resources/META-INF/dhis/beans.xml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
dhis-2/dhis-support/dhis-support-artemis/src/main/resources/META-INF/dhis/beans.xml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
dhis-2/dhis-support/dhis-support-audit/src/main/resources/META-INF/dhis/beans.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
dhis-2/dhis-support/dhis-support-system/src/test/java/org/hisp/dhis/system/SystemTest.java
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
...dhis-support/dhis-support-system/src/test/java/org/hisp/dhis/system/SystemTestConfig.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ | |
import java.util.Map; | ||
import javax.sql.DataSource; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.hisp.dhis.artemis.config.ArtemisConfig; | ||
import org.hisp.dhis.association.jdbc.JdbcOrgUnitAssociationStoreConfiguration; | ||
import org.hisp.dhis.commons.jackson.config.JacksonObjectMapperConfig; | ||
import org.hisp.dhis.commons.util.DebugUtils; | ||
|
@@ -54,6 +55,8 @@ | |
import org.hisp.dhis.security.SystemAuthoritiesProvider; | ||
import org.hisp.dhis.test.config.NoOpFlywayConfiguration; | ||
import org.hisp.dhis.test.h2.H2SqlFunction; | ||
import org.hisp.dhis.tracker.imports.config.TrackerPreheatConfig; | ||
import org.hisp.dhis.webapi.security.config.PasswordEncoderConfig; | ||
import org.springframework.beans.factory.annotation.Autowired; | ||
import org.springframework.beans.factory.annotation.Qualifier; | ||
import org.springframework.context.annotation.Bean; | ||
|
@@ -62,14 +65,12 @@ | |
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.context.annotation.FilterType; | ||
import org.springframework.context.annotation.Import; | ||
import org.springframework.context.annotation.ImportResource; | ||
import org.springframework.context.annotation.Primary; | ||
import org.springframework.core.annotation.Order; | ||
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; | ||
import org.springframework.security.authentication.DefaultAuthenticationEventPublisher; | ||
import org.springframework.security.authentication.event.AuthenticationFailureBadCredentialsEvent; | ||
import org.springframework.security.core.session.SessionRegistry; | ||
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; | ||
import org.springframework.security.oauth2.core.OAuth2AuthenticationException; | ||
import org.springframework.security.web.savedrequest.HttpSessionRequestCache; | ||
import org.springframework.security.web.savedrequest.RequestCache; | ||
|
@@ -82,7 +83,6 @@ | |
* @author Gintare Vilkelyte <[email protected] | ||
*/ | ||
@Configuration | ||
@ImportResource(locations = {"classpath*:/META-INF/dhis/beans.xml"}) | ||
@ComponentScan( | ||
basePackages = {"org.hisp.dhis"}, | ||
useDefaultFilters = false, | ||
|
@@ -93,6 +93,8 @@ | |
}, | ||
excludeFilters = @Filter(Configuration.class)) | ||
@Import({ | ||
ArtemisConfig.class, | ||
PasswordEncoderConfig.class, | ||
HibernateConfig.class, | ||
DataSourceConfig.class, | ||
AnalyticsDataSourceConfig.class, | ||
|
@@ -113,6 +115,7 @@ | |
org.hisp.dhis.validation.config.StoreConfig.class, | ||
org.hisp.dhis.reporting.config.StoreConfig.class, | ||
org.hisp.dhis.analytics.config.ServiceConfig.class, | ||
TrackerPreheatConfig.class, | ||
JacksonObjectMapperConfig.class, | ||
JdbcOrgUnitAssociationStoreConfiguration.class, | ||
StartupConfig.class | ||
|
@@ -172,11 +175,6 @@ public DataSource actualDataSource() { | |
} | ||
} | ||
|
||
@Bean | ||
public BCryptPasswordEncoder bCryptPasswordEncoder() { | ||
return new BCryptPasswordEncoder(); | ||
} | ||
|
||
@Bean | ||
public DefaultAuthenticationEventPublisher authenticationEventPublisher() { | ||
DefaultAuthenticationEventPublisher defaultAuthenticationEventPublisher = | ||
|
51 changes: 0 additions & 51 deletions
51
...va/org/hisp/dhis/webapi/controller/tracker/export/event/EventExportTestConfiguration.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters