Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAS-939 Survey Status Change #289

Merged
merged 12 commits into from
Feb 15, 2024
Merged

RAS-939 Survey Status Change #289

merged 12 commits into from
Feb 15, 2024

Conversation

arroyoAle
Copy link
Contributor

@arroyoAle arroyoAle commented Jan 31, 2024

What and why?

Adds a new case group transition from complete to not started to allow business users a new status change in rOps

How to test?

Jira

https://jira.ons.gov.uk/browse/RAS-939

@arroyoAle arroyoAle changed the title Adding new casegroup transition RAS-939 Survey Status Change Feb 5, 2024
@arroyoAle arroyoAle marked this pull request as ready for review February 5, 2024 14:03
complete, CategoryDTO.CategoryName.OFFLINE_RESPONSE_PROCESSED);

// Then
assertEquals(CaseGroupStatus.COMPLETE, destinationState);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this right? I was expecting not started

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right I've fixed this

@SteveScorfield
Copy link
Contributor

/deploy scorfs

@ras-rm-pr-bot
Copy link
Collaborator

Deploying to dev cluster with following parameters:

  • namespace: scorfs

  • tag: pr-289

  • configBranch: main

  • paramKey: ``

  • paramValue: ``

Copy link
Contributor

@SteveScorfield SteveScorfield left a comment

Choose a reason for hiding this comment

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

Looks good to me. Tested and reviewed.

@@ -262,6 +262,10 @@ private StateTransitionManager<CaseState, CaseEvent> caseStateTransitionManager(
CaseGroupStatus.NOLONGERREQUIRED,
CategoryDTO.CategoryName.COMPLETED_TO_NOTSTARTED,
CaseGroupStatus.NOTSTARTED);
builder.put(
Copy link
Contributor

Choose a reason for hiding this comment

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

It's very minor but I'd update the comment to include this transition change as well just to prevent any potential future confusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comment has been updated

@SteveScorfield
Copy link
Contributor

/deploy scorfs

@ras-rm-pr-bot
Copy link
Collaborator

Deploying to dev cluster with following parameters:

  • namespace: scorfs

  • tag: pr-289

  • configBranch: main

  • paramKey: ``

  • paramValue: ``

@arroyoAle arroyoAle merged commit 57e1145 into main Feb 15, 2024
1 check passed
@arroyoAle arroyoAle deleted the complete-to-not-started branch February 15, 2024 11:54
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.

4 participants