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

Add HTTP service contract type support #2037

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from
Draft

Conversation

TharmiganK
Copy link
Contributor

Purpose

$Subject

Part of: ballerina-platform/ballerina-library#6378

Examples

Checklist

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

Copy link

codecov bot commented Jun 17, 2024

Codecov Report

Attention: Patch coverage is 30.51724% with 403 lines in your changes missing coverage. Please review.

Project coverage is 79.63%. Comparing base (af747e4) to head (dd3343e).
Report is 28 commits behind head on master.

Current head dd3343e differs from pull request most recent head 27c9b4f

Please upload reports for the commit 27c9b4f to get more accurate results.

Files Patch % Lines
...ina/stdlib/http/compiler/HttpServiceValidator.java 23.13% 87 Missing and 16 partials ⚠️
...compiler/HttpServiceContractResourceValidator.java 0.00% 89 Missing ⚠️
.../compiler/codeaction/ImplementServiceContract.java 3.50% 55 Missing ⚠️
...compiler/codemodifier/ServiceTypeModifierTask.java 50.00% 31 Missing and 3 partials ⚠️
...dlib/http/compiler/HttpServiceObjTypeAnalyzer.java 16.66% 27 Missing and 3 partials ⚠️
...er/codemodifier/PayloadAnnotationModifierTask.java 31.03% 16 Missing and 4 partials ⚠️
...erina/stdlib/http/api/HttpServiceFromContract.java 0.00% 20 Missing ⚠️
...lib/http/compiler/ResourceFunctionDeclaration.java 0.00% 19 Missing ⚠️
...piler/codemodifier/HttpPayloadParamIdentifier.java 37.50% 9 Missing and 1 partial ⚠️
...allerina/stdlib/http/api/HTTPServicesRegistry.java 61.11% 6 Missing and 1 partial ⚠️
... and 7 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2037      +/-   ##
============================================
- Coverage     80.91%   79.63%   -1.28%     
- Complexity      561      595      +34     
============================================
  Files           392      399       +7     
  Lines         21696    22154     +458     
  Branches       5005     5086      +81     
============================================
+ Hits          17555    17643      +88     
- Misses         3126     3471     +345     
- Partials       1015     1040      +25     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Jun 27, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant