forked from mosip/partner-management-services
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MOSIP-32842 Fixed partner manager startup issue
Signed-off-by: kameshsr <[email protected]>
- Loading branch information
Showing
4 changed files
with
30 additions
and
17 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...-management-service/src/main/java/io/mosip/pms/config/PartnerManagerDataSourceConfig.java
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package io.mosip.pms.config; | ||
|
||
/* | ||
* @author Kamesh Shekhar Prasad | ||
* | ||
*/ | ||
|
||
import io.mosip.kernel.dataaccess.hibernate.config.HibernateDaoConfig; | ||
import io.mosip.kernel.dataaccess.hibernate.repository.impl.HibernateRepositoryImpl; | ||
import io.mosip.pms.device.authdevice.entity.DeviceDetail; | ||
import org.springframework.boot.autoconfigure.domain.EntityScan; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories; | ||
|
||
import java.util.Map; | ||
|
||
@Configuration | ||
@EnableJpaRepositories(entityManagerFactoryRef = "entityManagerFactory", | ||
basePackages = "io.mosip.pms.device.authdevice.repository.*", | ||
repositoryBaseClass = HibernateRepositoryImpl.class) | ||
@EntityScan(basePackageClasses = { DeviceDetail.class }) | ||
public class PartnerManagerDataSourceConfig extends HibernateDaoConfig { | ||
|
||
|
||
public Map<String, Object> jpaProperties() { | ||
return super.jpaProperties(); | ||
} | ||
} |
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
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