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] Integrate Client generation for the Bal build command #1597

Closed
wants to merge 34 commits into from

Conversation

lnash94
Copy link
Member

@lnash94 lnash94 commented Jan 24, 2024

lnash94 and others added 26 commits October 13, 2023 21:27
[bal-build-task]Integrate OpenAPI Client generation to Ballerina package build
[bal-build-task] Implement  `add` command for updating Ballerina.toml with openapi tool config element
…m/openapi-tools into all-build-tool

# Conflicts:
#	openapi-cli/src/main/java/io/ballerina/openapi/cmd/Add.java
#	openapi-cli/src/main/java/io/ballerina/openapi/cmd/ErrorMessages.java
[bal-build-task]Fix for cache handling to openapi tool bal build integration
Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Attention: Patch coverage is 30.16529% with 338 lines in your changes are missing coverage. Please review.

Project coverage is 78.27%. Comparing base (b49a2fd) to head (9eeb194).

❗ Current head 9eeb194 differs from pull request most recent head b5c0b09. Consider uploading reports for the commit b5c0b09 to get more accurate results

Files Patch % Lines
...ina/openapi/bal/tool/OpenAPICodeGeneratorTool.java 0.00% 220 Missing ⚠️
...li/src/main/java/io/ballerina/openapi/cmd/Add.java 57.34% 46 Missing and 15 partials ⚠️
...main/java/io/ballerina/openapi/cmd/OpenApiCmd.java 29.78% 18 Missing and 15 partials ⚠️
.../java/io/ballerina/openapi/bal/tool/Constants.java 0.00% 19 Missing ⚠️
.../core/generators/client/model/OASClientConfig.java 40.00% 3 Missing ⚠️
...main/java/io/ballerina/openapi/cmd/CmdOptions.java 97.72% 1 Missing ⚠️
...re/generators/client/BallerinaClientGenerator.java 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1597      +/-   ##
============================================
- Coverage     80.86%   78.27%   -2.59%     
+ Complexity     1954     1860      -94     
============================================
  Files           154      149       -5     
  Lines         10123    10242     +119     
  Branches       1658     1648      -10     
============================================
- Hits           8186     8017     -169     
- Misses         1361     1641     +280     
- Partials        576      584       +8     

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

Copy link

sonarcloud bot commented Feb 1, 2024

Quality Gate Failed Quality Gate failed

Failed conditions

4.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

Copy link

This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the stale label is removed or commented.

@github-actions github-actions bot added the Stale label Feb 16, 2024
@lnash94 lnash94 removed the Stale label Feb 19, 2024
Copy link

github-actions bot commented Mar 5, 2024

This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the stale label is removed or commented.

@github-actions github-actions bot added the Stale label Mar 5, 2024
@lnash94 lnash94 removed the Stale label Mar 6, 2024
lnash94 and others added 4 commits March 7, 2024 16:44
Copy link

sonarcloud bot commented Mar 8, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
4.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@lnash94
Copy link
Member Author

lnash94 commented Mar 13, 2024

Close this PR with favour of #1616

@lnash94 lnash94 closed this Mar 13, 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
Development

Successfully merging this pull request may close these issues.

Include client generation to build command
1 participant