Skip to content

Commit

Permalink
LCAM-1148: Upgrade to crime-commons rest-client fat-jar lib and gradl…
Browse files Browse the repository at this point in the history
…e dependency cleanup
  • Loading branch information
skasthuri36326 committed Jan 16, 2024
2 parents 04ad4c3 + 8524afd commit 1304916
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 112 deletions.
7 changes: 3 additions & 4 deletions crime-evidence/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.springframework.boot.gradle.plugin.SpringBootPlugin

plugins {
id "java"
id "jacoco"
Expand All @@ -17,10 +15,10 @@ jacoco {
}

def versions = [
pitest : "1.4.10",
pitest : "1.4.10",
crimeCommonsVersion : "2.13.6",
wmStubRunnerVersion : "4.0.1",
springDocWebMVCVersion : "2.1.0"
springDocWebMVCVersion : "2.1.0"
]

java {
Expand All @@ -39,6 +37,7 @@ repositories {

dependencies {
implementation "uk.gov.justice.service.laa-crime:crime-commons-spring-boot-starter-rest-client:$versions.crimeCommonsVersion:all"
implementation "uk.gov.justice.service.laa-crime:crime-commons-classes:$versions.crimeCommonsVersion"

implementation "org.springframework.boot:spring-boot-starter-validation"
implementation "org.springframework.boot:spring-boot-starter-oauth2-resource-server"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import uk.gov.justice.laa.crime.evidence.dto.EvidenceFeeRulesDTO;
import uk.gov.justice.laa.crime.evidence.model.common.ApiCalculateEvidenceFeeResponse;
import uk.gov.justice.laa.crime.evidence.model.common.ApiEvidenceFee;
import uk.gov.justice.laa.crime.evidence.staticdata.enums.EvidenceFeeLevel;
import uk.gov.justice.laa.crime.enums.EvidenceFeeLevel;
import uk.gov.justice.laa.crime.evidence.staticdata.enums.EvidenceFeeRules;

@Slf4j
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.apache.commons.lang3.StringUtils;
import uk.gov.justice.laa.crime.enums.EvidenceFeeLevel;
import uk.gov.justice.laa.crime.evidence.dto.EvidenceFeeRulesDTO;

import java.util.stream.Stream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import uk.gov.justice.laa.crime.evidence.data.builder.TestModelDataBuilder;
import uk.gov.justice.laa.crime.evidence.dto.CapitalEvidenceDTO;
import uk.gov.justice.laa.crime.evidence.dto.CrimeEvidenceDTO;
import uk.gov.justice.laa.crime.evidence.staticdata.enums.EvidenceFeeLevel;
import uk.gov.justice.laa.crime.enums.EvidenceFeeLevel;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import uk.gov.justice.laa.crime.evidence.data.builder.TestModelDataBuilder;
import uk.gov.justice.laa.crime.evidence.dto.EvidenceFeeDTO;
import uk.gov.justice.laa.crime.evidence.model.common.ApiCalculateEvidenceFeeRequest;
import uk.gov.justice.laa.crime.evidence.staticdata.enums.EvidenceFeeLevel;
import uk.gov.justice.laa.crime.enums.EvidenceFeeLevel;

import static org.assertj.core.api.Assertions.assertThat;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import uk.gov.justice.laa.crime.evidence.data.builder.TestModelDataBuilder;
import uk.gov.justice.laa.crime.evidence.dto.CrimeEvidenceDTO;
import uk.gov.justice.laa.crime.evidence.service.EvidenceService;
import uk.gov.justice.laa.crime.evidence.util.RequestBuilderUtils;
import uk.gov.justice.laa.crime.util.RequestBuilderUtils;

import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import static org.mockito.ArgumentMatchers.any;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import uk.gov.justice.laa.crime.evidence.CrimeEvidenceApplication;
import uk.gov.justice.laa.crime.evidence.config.CrimeEvidenceTestConfiguration;
import uk.gov.justice.laa.crime.evidence.data.builder.TestModelDataBuilder;
import uk.gov.justice.laa.crime.evidence.util.RequestBuilderUtils;
import uk.gov.justice.laa.crime.util.RequestBuilderUtils;

import java.util.Map;
import java.util.UUID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import uk.gov.justice.laa.crime.evidence.model.common.ApiCalculateEvidenceFeeResponse;
import uk.gov.justice.laa.crime.evidence.model.common.ApiCapitalEvidence;
import uk.gov.justice.laa.crime.evidence.model.common.ApiEvidenceFee;
import uk.gov.justice.laa.crime.evidence.staticdata.enums.EvidenceFeeLevel;
import uk.gov.justice.laa.crime.enums.EvidenceFeeLevel;

import java.time.LocalDateTime;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import uk.gov.justice.laa.crime.evidence.data.builder.TestModelDataBuilder;
import uk.gov.justice.laa.crime.evidence.dto.CrimeEvidenceDTO;
import uk.gov.justice.laa.crime.evidence.model.common.ApiCalculateEvidenceFeeResponse;
import uk.gov.justice.laa.crime.evidence.staticdata.enums.EvidenceFeeLevel;
import uk.gov.justice.laa.crime.enums.EvidenceFeeLevel;

import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import static org.mockito.ArgumentMatchers.anyInt;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package uk.gov.justice.laa.crime.evidence.staticdata.enums;

import org.junit.jupiter.api.Test;
import uk.gov.justice.laa.crime.enums.EvidenceFeeLevel;
import uk.gov.justice.laa.crime.evidence.dto.EvidenceFeeRulesDTO;

import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
Expand Down

This file was deleted.

0 comments on commit 1304916

Please sign in to comment.