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

ISSUE-409 # Added support for csv file in the parameterized csvSource #476

Merged
merged 12 commits into from
Jan 27, 2024

Conversation

imprashant
Copy link
Collaborator

@imprashant imprashant commented Jan 27, 2021

Issue #409

PR Branch
https://github.com/imprashant/zerocode/tree/409-csvsource-from-file

Support externalized csv files under Parameterized CSV source

This PR intends to address the problem mentioned in issue 409, to add support to fetch parameters from external csv source file.

Checklist:

  • Unit tests added

  • Integration tests added

  • Test names are meaningful

  • Feature manually tested

  • Branch build passed

  • No 'package.*' in the imports

  • Relevant Wiki page updated with clear instruction for the end user

    • Not applicable. This was only a refactor change, no functional or behaviour changes were introduced
  • Http test added to http-testing module(if applicable) ?

    • Not applicable. The changes did not affect HTTP automation flow
  • Kafka test added to kafka-testing module(if applicable) ?

    • Not applicable. The changes did not affect Kafka automation flow

@a1shadows
Copy link
Collaborator

Seems like an awesome feature. Any plans to review and merge? @authorjapps

@authorjapps
Copy link
Owner

CI Build status is here:
https://github.com/authorjapps/zerocode/pull/476/checks

Once Green, then will attempt to merge

}
],
"parameterized": {
"csvSource":"parameterized_csv/params.csv"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Updated code to read from resources folder without referring to "./test/...".
Changed method impl to include Path prefix to "./test/...".

There shohuld be a better way to do this, I have put this as a quick fix. Please feel free to amend this.

Copy link
Owner

Choose a reason for hiding this comment

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

@imprashant , any news on this comment ? Or are you happy for us to merge it?

@authorjapps
Copy link
Owner

All look good.
Awaiting for this minor comment to be addressed by @imprashant.
Happy to merge and release otherwise.
ETA: 20/01/2024

@authorjapps authorjapps merged commit 0c0d93e into master Jan 27, 2024
1 check passed
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.

Parameterized csvSource with body payload from reusable external JSON file
4 participants