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

[#4074] optimize cors model init failed unclear prompt problem. #4095

Merged
merged 5 commits into from
Dec 7, 2023
Merged

[#4074] optimize cors model init failed unclear prompt problem. #4095

merged 5 commits into from
Dec 7, 2023

Conversation

chengyouling
Copy link
Contributor

No description provided.

@@ -85,16 +86,16 @@ public static <CLIENT_POOL> DeploymentOptions createClientDeployOptions(
}

// deploy Verticle and wait for its success. do not call this method in event-loop thread
public static <VERTICLE extends Verticle> boolean blockDeploy(Vertx vertx,
public static <VERTICLE extends Verticle> Map<String, String> blockDeploy(Vertx vertx,
Copy link
Contributor

Choose a reason for hiding this comment

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

return Map<String, Object> to avoid data type convert

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

VertxUtils.blockDeploy(vertx, ClientVerticle.class, deployOptions);
Map<String, String> result = VertxUtils.blockDeploy(vertx, ClientVerticle.class, deployOptions);
if (!Boolean.parseBoolean(result.get("code"))) {
throw new Exception(result.get("message"));
Copy link
Contributor

Choose a reason for hiding this comment

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

throw new IllegalStageException

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@codecov-commenter
Copy link

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (758e29a) 74.13% compared to head (a4e81db) 74.16%.
Report is 2 commits behind head on 2.8.x.

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

Files Patch % Lines
...e/servicecomb/transport/highway/HighwayClient.java 33.33% 1 Missing and 1 partial ⚠️
...ervicecomb/transport/highway/HighwayTransport.java 50.00% 1 Missing and 1 partial ⚠️
...ecomb/transport/rest/vertx/VertxRestTransport.java 50.00% 1 Missing and 1 partial ⚠️
...pache/servicecomb/foundation/vertx/VertxUtils.java 75.00% 1 Missing ⚠️
...omb/foundation/vertx/stream/BufferInputStream.java 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              2.8.x    #4095      +/-   ##
============================================
+ Coverage     74.13%   74.16%   +0.03%     
  Complexity      707      707              
============================================
  Files          1598     1594       -4     
  Lines         40255    40153     -102     
  Branches       3676     3659      -17     
============================================
- Hits          29842    29779      -63     
+ Misses         8920     8888      -32     
+ Partials       1493     1486       -7     

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

@liubao68 liubao68 merged commit 07ccddc into apache:2.8.x Dec 7, 2023
5 of 6 checks passed
@chengyouling chengyouling deleted the 2.8.x-core branch April 17, 2024 02:26
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.

3 participants