Skip to content

Commit

Permalink
MOSIP-32842 updated bootstrap
Browse files Browse the repository at this point in the history
Signed-off-by: kameshsr <[email protected]>
  • Loading branch information
kameshsr committed May 13, 2024
1 parent 68e23c4 commit 4c5d00e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ openapi.info.license.url=https://docs.mosip.io/platform/license

------OpenApi properties--------
mosipbox.public.url=http://localhost:9109
openapi.partnerManagementService.servers[0].url=http://localhost:9109/v1/partnermanager
openapi.partnerManagementService.servers[0].url=${mosipbox.public.url}/v1/partnermanager
openapi.partnerManagementService.servers[0].description= Partner Management Service

Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
package io.mosip.pms.policy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

import io.mosip.pms.common.helper.WebSubPublisher;

@SpringBootApplication
@Import(value = {WebSubPublisher.class})
@ComponentScan({ "io.mosip.pms.policy.*", "${mosip.auth.adapter.impl.basepackage}","io.mosip.pms.common.*"})
@ComponentScan({ "io.mosip.*", "${mosip.auth.adapter.impl.basepackage}"})
@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class,
DataSourceTransactionManagerAutoConfiguration.class, HibernateJpaAutoConfiguration.class })
public class PmpPolicyApplication {

public static void main(String[] args) {
Expand Down

0 comments on commit 4c5d00e

Please sign in to comment.