Skip to content

Commit

Permalink
MOSIP-32842 Changes to build skipping test cases
Browse files Browse the repository at this point in the history
Signed-off-by: kameshsr <[email protected]>
  • Loading branch information
kameshsr committed May 8, 2024
1 parent cbcdf72 commit 37d6997
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 73 deletions.
10 changes: 0 additions & 10 deletions partner/partner-management-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,48 +37,40 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
<version>42.2.2</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.200</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<version>5.3.3.RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -92,7 +84,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.6.3</version>
<configuration>
<layout>ZIP</layout>
<executable>true</executable>
Expand Down Expand Up @@ -128,7 +119,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down
5 changes: 0 additions & 5 deletions partner/pms-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<json.schema.validator.version>2.2.10</json.schema.validator.version>
<jackson.datatype.version>2.9.8</jackson.datatype.version>
<json.version>20180813</json.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -28,17 +26,14 @@
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>
<dependency>
<groupId>io.mosip.kernel</groupId>
Expand Down
13 changes: 0 additions & 13 deletions partner/policy-management-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,63 +31,52 @@
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<version>1.4.2</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<version>5.0.5.RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
<version>42.2.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId>io.mosip.kernel</groupId>
Expand All @@ -100,7 +89,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.6.3</version>
<configuration>
<layout>ZIP</layout>
<executable>true</executable>
Expand Down Expand Up @@ -136,7 +124,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import org.hibernate.annotations.Type;
import org.json.simple.JSONObject;

import io.swagger.annotations.ApiModel;
Expand All @@ -24,18 +23,15 @@ public class PolicyCreateRequestDto {

@NotBlank(message="value is empty or null")
@Size(min = 1, max = 128, message = "Length should be in between 1 and 128 chars")
@Type(type="string")
public String policyGroupName;

@ApiModelProperty(notes = "policy type is used to differebtiate policies.", required = true, example = "Auth/DataShare/CredentialIssuance")
@NotBlank(message = "value is empty or null. Allowed values Auth/DataShare/CredentialIssuance")
@Size(min = 1, max = 128, message = "Length should be in between 1 and 128 chars")
@Type(type="string")
public String policyType;

@NotBlank(message="value is empty or null")
@Size(min = 1, max = 128, message = "Length should be in between 1 and 128 chars")
@Type(type="string")
public String name;

@NotBlank(message="value is empty or null")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public class PolicyGroupCreateRequestDto {

@NotBlank(message="value is empty or null")
@Size(min = 1, max = 128, message = "Length should be in between 1 and 128 chars")
@Type(type="string")
public String name;

@NotBlank(message="value is empty or null")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class PolicyGroupUpdateRequestDto {

@NotBlank(message="value is empty or null")
@Size(min = 1, max = 128, message = "Length should be between 1 and 128 chars")
@Type(type="string")
private String name;

@NotBlank(message="value is empty or null")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import org.hibernate.annotations.Type;
import org.json.simple.JSONObject;

import io.swagger.annotations.ApiModel;
Expand All @@ -22,12 +21,10 @@ public class PolicyUpdateRequestDto {

@NotBlank(message="value is empty or null")
@Size(min = 1, max = 128, message = "Length should be in between 1 and 128 chars")
@Type(type="string")
private String policyGroupName;
private String policyGroupName;

@NotBlank(message="value is empty or null")
@Size(min = 1, max = 128, message = "Length should be in between 1 and 128 chars")
@Type(type="string")
private String name;

@NotBlank(message="value is empty or null")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

import io.mosip.pms.common.helper.FilterHelper;
Expand All @@ -19,7 +20,7 @@
*
*/
@Import(value = {WebSubPublisher.class,RestUtil.class,SearchHelper.class,FilterHelper.class,PageUtils.class,FilterColumnValidator.class,RestUtil.class})
@SpringBootApplication(scanBasePackages = { "io.mosip.pms.policy.*","io.mosip.pms.common.*"})
@SpringBootApplication(scanBasePackages = { "io.mosip.pms.policy.*","io.mosip.pms.common.*"},exclude={DataSourceAutoConfiguration.class})
public class PolicyServiceTest {

/**
Expand Down
3 changes: 0 additions & 3 deletions partner/policy-validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<json.schema.validator.version>2.2.10</json.schema.validator.version>
<jackson.datatype.version>2.9.8</jackson.datatype.version>
<json.version>20180813</json.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -26,7 +24,6 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>${json.version}</version>
</dependency>
<dependency>
<groupId>io.mosip.kernel</groupId>
Expand Down
Loading

0 comments on commit 37d6997

Please sign in to comment.