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

Idva5 1269/test structure of csv file #6

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

hemerem-ch
Copy link

@hemerem-ch hemerem-ch commented Oct 18, 2024

Short description outlining key changes/additions
Adding validation for each of the cells in the CSV file
JIRA Ticket Number
IDVA5-1269

Type of change

  • Bug fix
  • [/ ] New feature
  • Breaking change
  • Infrastructure change

Pull request checklist

  • I have added unit tests for new code that I have added
  • I have added/updated functional tests where appropriate
  • The code follows our coding standards

An exhaustive list of peer review checks can be read here

@swalke-ch
Copy link
Contributor

looks good so far. 👍



private Boolean isValidFieldHeaders(CSVRecord record) {
List<String> actualHeaders = record.toList();
Copy link

@sampankumar sampankumar Oct 22, 2024

Choose a reason for hiding this comment

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

Will the order matter? If not then we might have to get the index of column dynamically based on the name of the column

Copy link
Contributor

@swalke-ch swalke-ch left a comment

Choose a reason for hiding this comment

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

LGTM. Good work 👍

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.

5 participants