Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Update dependency com.github.hmcts:sscs-common to v4.24.0 #431

Merged
merged 3 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ dependencies {
implementation group: 'ch.qos.logback', name: 'logback-core', version: '1.2.10'
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.10'

implementation group: 'com.github.hmcts', name: 'sscs-common', version: '4.23.0'
implementation group: 'com.github.hmcts', name: 'sscs-common', version: '4.24.0'

implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.36'

Expand Down Expand Up @@ -420,6 +420,29 @@ dependencyManagement {
dependencySet(group: 'org.yaml', version: '1.33') {
entry 'snakeyaml'
}

// CVE-2022-41881, CVE-2022-41915
dependencySet(group: 'io.netty', version: '4.1.86.Final') {
entry 'netty-buffer'
entry 'netty-common'
entry 'netty-codec'
entry 'netty-codec-http'
entry 'netty-codec-http2'
entry 'netty-codec-socks'
entry 'netty-codec-dns'
entry 'netty-handler'
entry 'netty-handler-proxy'
entry 'netty-resolver'
entry 'netty-resolver-dns'
entry 'netty-resolver-dns-native-macos'
entry 'netty-resolver-dns-classes-macos'
entry 'netty-transport'
entry 'netty-transport-native-epoll'
entry 'netty-transport-native-kqueue'
entry 'netty-transport-native-unix-common'
entry 'netty-transport-classes-kqueue'
entry 'netty-transport-classes-epoll'
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void processEventMessage(HmcMessage hmcMessage)

DwpState resolvedState = hearingUpdateService.resolveDwpState(hmcStatus);
if (resolvedState != null) {
caseData.setDwpState(resolvedState.getId());
caseData.setDwpState(resolvedState);
}
if (isHearingUpdated(hmcStatus, hearingResponse)) {
hearingUpdateService.updateHearing(hearingResponse, caseData);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void testReturnedStatusShouldUpdateDwpStateForCaseData() throws Exception {
processHmcMessageService.processEventMessage(hmcMessage);

// then
assertThat(sscsCaseDetails.getData().getDwpState()).isEqualTo(DwpState.HEARING_DATE_ISSUED.getId());
assertThat(sscsCaseDetails.getData().getDwpState()).isEqualTo(DwpState.HEARING_DATE_ISSUED);
}

@Test
Expand Down