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

[master] Use toJson method from data.jsondata module in http client #2151

Closed
wants to merge 32 commits into from

Conversation

lnash94
Copy link
Member

@lnash94 lnash94 commented Sep 18, 2024

Purpose

Fix: ballerina-platform/ballerina-library#7012

Client data binding integration: ballerina-platform/ballerina-library#6747
Service data binding integration: ballerina-platform/ballerina-library#7011

Disable the below test because of data.json data module currently does not support the table types
and enable tests once this issue is done: ballerina-platform/ballerina-library#7020

  • testIntTableDatabinding()
  • testIntTableOrXmlArrayDatabinding()
  • testIntTableDatabindingByType()
  • testStringTableDatabinding()
  • testStringTableDatabindingByType()
  • testRecordTableDatabinding()
  • testRecordTableDatabindingByType()
  • testByteArrTableDatabinding()
  • testByteArrTableDatabindingByType()

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility
  • Checked the impact on OpenAPI generation

Dependent PR : ballerina-platform/module-ballerina-data.jsondata#35 once this is merged , test can be added with new data.jsondata timestamp

@lnash94 lnash94 changed the title [master] Use toJson method from data.jsondata module [master] Use toJson method from data.jsondata module in http client Sep 19, 2024
@lnash94 lnash94 force-pushed the integrate-data.json branch from 2a45f07 to 9ad1b3b Compare September 19, 2024 04:42
@lnash94
Copy link
Member Author

lnash94 commented Sep 20, 2024

Checking the feasibility of enabling this implementation because we encounter this issue ballerina-platform/ballerina-library#7008 from jsondata module

ballerina/http_request.bal Outdated Show resolved Hide resolved
ballerina/http_response.bal Outdated Show resolved Hide resolved
gradle.properties Outdated Show resolved Hide resolved
@lnash94 lnash94 force-pushed the integrate-data.json branch from 4611b5d to 6566fcb Compare September 23, 2024 18:02
@lnash94
Copy link
Member Author

lnash94 commented Sep 24, 2024

As per our discussion at the stand up 2024/09/24, this PR will be closed till we receive the fix from data.jsondata module ballerina-platform/ballerina-library#7024 and it is a blocker for the this migration

Copy link

@lnash94
Copy link
Member Author

lnash94 commented Sep 27, 2024

Close this PR and will send once this fix ballerina-platform/ballerina-library#7024 (comment)

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.

Integrate toJson method from data.jsondata module in http client
2 participants