Skip to content

SPRDT-660 reworked implementation#123

Open
rajasekharkunchala wants to merge 4 commits intoteam/cct-1981from
dev/sprdt-660b
Open

SPRDT-660 reworked implementation#123
rajasekharkunchala wants to merge 4 commits intoteam/cct-1981from
dev/sprdt-660b

Conversation

@rajasekharkunchala
Copy link

Before creating a pull request make sure that:

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/SPRDT-660

Change description

Move sjp pubhub functionality to new publishing service

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

List<Map<String, Object>> courtList = new ArrayList<>();
for (Map<String, Object> readyCase : readyCases) {
Map<String, Object> entry = new LinkedHashMap<>();
entry.put("caseUrn", readyCase.get("caseUrn"));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check the source and see if it's strongly typed.

# Set to false to disable SJP publish to CaTH (e.g. in envs where SJP is not used)
cath:
sjp:
publishing-enabled: ${CATH_SJP_PUBLISHING_ENABLED:true}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe scheduler will be the driver?

import uk.gov.hmcts.cp.openapi.model.CourtListPublishResponse;
import uk.gov.hmcts.cp.openapi.model.CourtListType;
import uk.gov.hmcts.cp.openapi.model.PublishCourtListRequest;
import uk.gov.hmcts.cp.openapi.model.PublishCourtListResponse;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add proper in-container integration tests

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants