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-601 # Resolve JSON.CONTENT as object or array #612

Merged
merged 12 commits into from
Jan 22, 2024

Conversation

vivektiwary
Copy link
Contributor

@vivektiwary vivektiwary commented Dec 15, 2023

Fixes Issue: #601

PR Branch
#ADD LINK TO THE PR BRANCH

Motivation and Context

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

@authorjapps
Copy link
Owner

Hello @vivektiwary , Hope you're well. Thanks for the PR. Looking great from impl point of view.

Can you please take care of a few more things in the PR?

1

Can you please add some tests as I couldn't find any in the PR ?
You can look and follow the tests how they are written for "JSON.FILE:".
Please add:
a) Unit tests (top priority)
b) Integration tests (next priority)

2

Once added, please tick the following checkboxes encircled.
image

@@ -31,6 +31,8 @@ public class ZeroCodeValueTokens {
public static final String SYSTEM_ENV = "SYSTEM.ENV:";
public static final String $VALUE = ".$VALUE";
public static final String ABS_PATH = "ABS.PATH:";
public static final String JSON_CONTENT = "JSON.CONTENT:";
Copy link
Owner

Choose a reason for hiding this comment

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

Can you please add some Unit tests?

Then, add integration tests after that.

@vivektiwary
Copy link
Contributor Author

vivektiwary commented Dec 16, 2023 via email

@authorjapps authorjapps linked an issue Dec 16, 2023 that may be closed by this pull request
@vivektiwary
Copy link
Contributor Author

I have added a few Unit test cases, working on some more. Then I will add the integration test cases as well.

@authorjapps
Copy link
Owner

I have added a few Unit test cases, working on some more. Then I will add the integration test cases as well.

Sounds great.
Just have a watch on the "Checks" tab for CI status after your commits.
CI Link: https://github.com/authorjapps/zerocode/pull/612/checks

@vivektiwary vivektiwary marked this pull request as ready for review December 29, 2023 14:12
@vivektiwary
Copy link
Contributor Author

@authorjapps this PR is now ready for review.

@authorjapps
Copy link
Owner

@vivektiwary , can you look at the build failures and get them fixed?
Thanks in advance

@authorjapps authorjapps merged commit c1cc7db into authorjapps:master Jan 22, 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.

Resolve JSON.CONTENT with JSON object or JSON array
3 participants