Skip to content

Commit

Permalink
Mosip 32461 (mosip#1873)
Browse files Browse the repository at this point in the history
* MOSIP-32461 intial changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 few test cases fixed

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code fix

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code fix

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code fix

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code fix

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code fix

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 docker changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 docker changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 docker changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 docker changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 activemq exclude from spring boot

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 activemq exclude from spring boot

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

* MOSIP-32461 code changes

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>

---------

Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>
Co-authored-by: Sowmya Ujjappa Banakar <[email protected]>
Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>
  • Loading branch information
sowmya695 and Sowmya Ujjappa Banakar committed Jun 20, 2024
1 parent ab85c0f commit 8f4a894
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 10 deletions.
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 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,7 +13,7 @@
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}",
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 8f4a894

Please sign in to comment.