Skip to content

Commit

Permalink
MOSIP-32461 code changes
Browse files Browse the repository at this point in the history
Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>
  • Loading branch information
Sowmya Ujjappa Banakar committed May 27, 2024
1 parent 82f190a commit 8e6e649
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>
spring-boot-starter-activemq
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration;
import org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.FilterType;
Expand All @@ -24,7 +26,7 @@
* @author Pranav Kumar
*
*/
@SpringBootApplication
@SpringBootApplication(exclude = { JmsAutoConfiguration.class, ActiveMQAutoConfiguration.class })
@ComponentScan(basePackages = { "io.mosip.registration.processor.status.*",
"io.mosip.registration.processor.rest.client.*", "io.mosip.registration.processor.core.token.*",
"io.mosip.registration.processor.core.config",
Expand All @@ -33,7 +35,7 @@
excludeFilters = @Filter(type = FilterType.ASSIGNABLE_TYPE, value = { RegistrationStatusServiceBeanConfig.class,
RestConfigBean.class, KafkaMosipEventBus.class, VertxMosipEventBus.class, StageHealthCheckHandler.class,
MosipVerticleManager.class, MosipVerticleAPIManager.class, MosipEventBus.class,
PropertyLoaderConfig.class, ActivemqConfigBean.class }))
PropertyLoaderConfig.class }))
public class RegistrationStatusApiApplication
{
public static void main( String[] args )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>
spring-boot-starter-activemq
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration;
import org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.FilterType;
Expand All @@ -11,13 +13,13 @@
import io.mosip.registration.processor.rest.client.config.RestConfigBean;
import io.mosip.registration.processor.status.config.RegistrationStatusBeanConfig;

@SpringBootApplication
@SpringBootApplication(exclude = { JmsAutoConfiguration.class, ActiveMQAutoConfiguration.class })
@ComponentScan(basePackages= {"io.mosip.registration.processor.status.*","io.mosip.registration.processor.rest.client.*",
"io.mosip.registration.processor.core.token.*", "io.mosip.registration.processor.core.config",
"io.mosip.registration.processor.transaction.*", "${mosip.auth.adapter.impl.basepackage}",
"io.mosip.registration.processor.core.kernel.beans" },
excludeFilters = @Filter(type = FilterType.ASSIGNABLE_TYPE, value = { RestConfigBean.class,
PropertyLoaderConfig.class, ActivemqConfigBean.class }))
PropertyLoaderConfig.class }))
public class RegistrationTransactionServiceApplication {

public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration;
import org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.ComponentScan.Filter;

import io.mosip.kernel.dataaccess.hibernate.config.HibernateDaoConfig;
import io.mosip.registration.processor.core.config.configserverloader.PropertyLoaderConfig;
import io.mosip.registration.processor.rest.client.config.RestConfigBean;

@SpringBootApplication
@SpringBootApplication(exclude = { JmsAutoConfiguration.class, ActiveMQAutoConfiguration.class })
@ComponentScan( basePackages = { "io.mosip.registration.processor.status.*",
"io.mosip.registration.processor.rest.client.*", "io.mosip.registration.processor.util",
"io.mosip.registration.processor.core.config",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ health.config.enabled=false

server.port=8098
server.servlet.path=/registrationprocessor/v1/landingzone

spring.mvc.servlet.path=${server.servlet.path}

#management.endpoint.health.show-details=always
#management.endpoints.web.exposure.include=info,health,refresh
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
package io.mosip.registration.processor.notification;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration;
import org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.scheduling.annotation.EnableScheduling;

import io.mosip.registration.processor.core.config.configserverloader.PropertyLoaderConfig;

import io.mosip.registration.processor.rest.client.config.RestConfigBean;
/**
* Init class for Notification service.
Expand All @@ -16,7 +20,7 @@
* @since 1.0.0
*
*/
@SpringBootApplication
@SpringBootApplication(exclude = { JmsAutoConfiguration.class, ActiveMQAutoConfiguration.class })
@ComponentScan( basePackages = { "io.mosip.registration.processor.notification.*",
"io.mosip.kernel.websub.api.*","${mosip.auth.adapter.impl.basepackage}", "io.mosip.registration.processor.message.sender.config",
"io.mosip.registration.processor.rest.client.*", "io.mosip.registration.processor.packet.storage.config",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ server.port=8088
health.config.enabled=false
management.endpoints.web.exposure.include=refresh
server.servlet.path=/registrationprocessor/v1/notification

spring.mvc.servlet.path=${server.servlet.path}
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
package io.mosip.registration.processor.workflowmanager;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.actuate.jms.JmsHealthIndicator;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration;
import org.springframework.boot.autoconfigure.jms.activemq.ActiveMQAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
Expand All @@ -16,16 +19,18 @@
import io.mosip.registration.processor.workflowmanager.verticle.WorkflowInternalActionVerticle;

@Configuration
@EnableAutoConfiguration
@EnableAutoConfiguration(exclude = { JmsAutoConfiguration.class, ActiveMQAutoConfiguration.class })
@SpringBootApplication
@ComponentScan(basePackages = { "io.mosip.registration.processor.core.config",
"${mosip.auth.adapter.impl.basepackage}",
"io.mosip.registration.processor.workflowmanager.config",
"io.mosip.registration.processor.status.config",
"io.mosip.registration.processor.core.kernel.beans",
"io.mosip.registration.processor.packet.storage.config",
"io.mosip.kernel.websub.api.config.publisher" }, excludeFilters = @Filter(type = FilterType.ASSIGNABLE_TYPE, value = {
HibernateDaoConfig.class, PropertyLoaderConfig.class }))
"io.mosip.kernel.websub.api.config.publisher",
"io.mosip.registration.processor.packet.storage.utils.ActiveMqConnectionUtility" }, excludeFilters = @Filter(type = FilterType.ASSIGNABLE_TYPE, value = {
HibernateDaoConfig.class, PropertyLoaderConfig.class
}))
public class WorkflowManagerApplication
{
public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ health.config.enabled=false
eventbus.port=5754
server.port=8026
server.servlet.path=/registrationprocessor/v1/workflowmanager
spring.mvc.servlet.path=${server.servlet.path}
mosip.regproc.workflow-manager.internal.action.server.port=8024
mosip.regproc.workflow-manager.internal.action.eventbus.port=5751
mosip.regproc.workflow-manager.workflowaction.server.port=8023
Expand Down

0 comments on commit 8e6e649

Please sign in to comment.