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

#2222 - IER 12 Implementation blue fields #2315

Merged
merged 15 commits into from
Sep 21, 2023

Conversation

dheepak-aot
Copy link
Collaborator

@dheepak-aot dheepak-aot commented Sep 19, 2023

IER Implementation of blue fields

Note: Application event code and application event date is not handled in the current ticket as it will be done in seperate ticket.

For reference Please use the spreadsheet from General > Files >Analysis > Institution File Specs > IER12_Analysis_Output_and_Mapping_Part_1_V2_PR.xlsx
from teams.

Mapping has been done for 23 blue fields excluding Application event code and Application event date.

  • Following variables are created newly in fulltime-assessment-*.bpmn to be used for IER12

calulatedDataStudentMaritalStatusCode (value has "SI" | "SP" | "MA")

image

calculatedDataDependantTotalMSOLAllowance

image

updated calculatedDataTotalMSOLAllowance to use the variable calulatedDataStudentMaritalStatusCode instead on doing same calculation again.

image

calaulatedDataTotalNonEducationalCosts

image

  • Updated the spreadsheet with details which were discussed during the implementation

  • In memory calculations were used when the IER field mapping was achievable from existing assessment_data values. We did not create new workflow variables for them.
    For e.g.
    image

  • Few variables which were required for workflow_data were initialized to null in the assessment gateway as they were not guaranteed in all the scenarios.
    image

  • Added filler for the 10th award slot.

image

Generated sample file

IER_012_2023-09-19_08.32.57.txt

@dheepak-aot dheepak-aot self-assigned this Sep 19, 2023
@dheepak-aot dheepak-aot added Integration Camunda Worflow Involves camunda workflow changes labels Sep 19, 2023
@dheepak-aot dheepak-aot marked this pull request as ready for review September 19, 2023 19:47
@@ -28,8 +29,7 @@ export class IER12FileDetail implements IER12FileLine {
studentGivenName?: string;
studentBirthDate: Date;
studentGroupCode: "A" | "B";
// Analysis pending for the field.
studentMaritalStatusCode?: string;
studentMaritalStatusCode: "SI" | "SP" | "MA";
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was wondering if it wouldn't be better to create a Enum for that.

Copy link
Collaborator Author

@dheepak-aot dheepak-aot Sep 21, 2023

Choose a reason for hiding this comment

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

I see your point. I was thinking back and forth about creating enum.

Only thing which stopped me from creating enum was, the enum isn't going to be used anywhere like ApplicationStatusCode which was used for a transformation.

image

Having said that, I can definitely create a type to keep the type creation in one place.

image

Comment on lines 106 to 108
UC = "UC",
EC = "EC",
CI = "CI",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you add a comment above the items describing them, please?

Copy link
Collaborator

@andrepestana-aot andrepestana-aot left a comment

Choose a reason for hiding this comment

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

Good job. Left some comments.

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

Nice work and great progress on IER12. I left minor comments, please take a look.

@@ -120,10 +124,16 @@ export class StudentAssessmentService extends RecordDataModelService<StudentAsse
{
assessmentDate: dateEqualTo(processingDate),
offering: { institutionLocation: { hasIntegration: true } },
application: {
applicationStatus: Not(ApplicationStatus.Overwritten),
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@ann-aot ann-aot left a comment

Choose a reason for hiding this comment

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

Good work @dheepak-aot . some minor comments and questions

@@ -28,8 +29,7 @@ export class IER12FileDetail implements IER12FileLine {
studentGivenName?: string;
studentBirthDate: Date;
studentGroupCode: "A" | "B";
// Analysis pending for the field.
studentMaritalStatusCode?: string;
studentMaritalStatusCode: "SI" | "SP" | "MA";
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we move this to the ier12-integration-model ?

Copy link
Collaborator

@guru-aot guru-aot left a comment

Choose a reason for hiding this comment

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

LGTM, nice work @dheepak-aot, just a minor suggestion

Copy link
Collaborator

@andrewsignori-aot andrewsignori-aot left a comment

Choose a reason for hiding this comment

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

Great work with the changes and for all the additional analysis needed along the development that was not estimated in the original ticket. Looks good 👍

Copy link
Contributor

@ann-aot ann-aot left a comment

Choose a reason for hiding this comment

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

Great work @dheepak-aot with the analysis and the implementation

Copy link
Collaborator

@andrepestana-aot andrepestana-aot 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. Thanks for the changes!

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.7% 0.7% Duplication

@github-actions
Copy link

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 17.53% ( 2205 / 12582 )
Methods: 8.13% ( 129 / 1586 )
Lines: 20.29% ( 1932 / 9524 )
Branches: 9.78% ( 144 / 1472 )

@github-actions
Copy link

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 46.73% ( 300 / 642 )
Methods: 40% ( 32 / 80 )
Lines: 51.02% ( 251 / 492 )
Branches: 24.29% ( 17 / 70 )

@github-actions
Copy link

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 74.31% ( 483 / 650 )
Methods: 66.67% ( 54 / 81 )
Lines: 76.4% ( 424 / 555 )
Branches: 35.71% ( 5 / 14 )

@github-actions
Copy link

E2E SIMS API Coverage Report

Totals Coverage
Statements: 54.48% ( 3995 / 7333 )
Methods: 51.31% ( 488 / 951 )
Lines: 59.3% ( 3245 / 5472 )
Branches: 28.79% ( 262 / 910 )

Copy link
Collaborator

@sh16011993 sh16011993 left a comment

Choose a reason for hiding this comment

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

Nice work @dheepak-aot 👍

@dheepak-aot dheepak-aot merged commit b2d13ae into main Sep 21, 2023
@dheepak-aot dheepak-aot temporarily deployed to DEV September 21, 2023 21:22 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV September 21, 2023 21:24 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV September 21, 2023 21:24 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV September 21, 2023 21:24 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV September 21, 2023 21:24 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV September 21, 2023 21:26 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot temporarily deployed to DEV September 21, 2023 21:26 — with GitHub Actions Inactive
@dheepak-aot dheepak-aot deleted the feature/#2222-ier-12-implementation branch September 21, 2023 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Camunda Worflow Involves camunda workflow changes Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants