Skip to content

DTSRD-4329. flyway script to add skills into skill table#1081

Open
SabinaHMCTS wants to merge 46 commits intomasterfrom
DTSRD-4329
Open

DTSRD-4329. flyway script to add skills into skill table#1081
SabinaHMCTS wants to merge 46 commits intomasterfrom
DTSRD-4329

Conversation

@SabinaHMCTS
Copy link
Contributor

@SabinaHMCTS SabinaHMCTS commented Sep 2, 2025

JIRA link (if applicable)

DTSRD-4329 "Add new Skills for HRS Service"

Change description

flyway script to add HRS skills into skill table

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

[ ] Yes
[ ] No

lukasz-wolski
lukasz-wolski previously approved these changes Sep 2, 2025
Copy link
Contributor

@lukasz-wolski lukasz-wolski left a comment

Choose a reason for hiding this comment

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

approved with comments inlined

assertThat(serviceSkills.size()).isEqualTo(SKILL_COUNT);

for (ServiceSkill ss: serviceSkills) {
log.info(":::: skill fetched is" + ss.getId());
Copy link
Contributor

Choose a reason for hiding this comment

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

readability: a space after 'is' would make id value clearer

lukasz-wolski
lukasz-wolski previously approved these changes Sep 4, 2025
public static final String STAFF_REF_DATA_SKILL_URL = "/refdata/case-worker/skill";
public static final String STAFF_REF_DATA_RD_STAFF_UI_KEY =
"StaffRefDataController.retrieveAllServiceSkills";
public static final int SKILL_COUNT = 5;
Copy link
Contributor

Choose a reason for hiding this comment

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

its not skill count, its a service ids count, rename to reflect the same

"StaffRefDataController.retrieveAllServiceSkills";
public static final int SKILL_COUNT = 5;
public static final int AAA7_SKILL_COUNT = 2;
public static final int HRS1_SKILL_COUNT = 15;
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename this variable name to HRS_SKILL_COUNT from HRS1_SKILL_COUNT

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants