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

Fix problem of rest protocol PR #352 #395

Merged
merged 202 commits into from
Mar 10, 2020
Merged

Conversation

Patrick0308
Copy link
Contributor

What this PR does:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@AlexStocks
Copy link
Contributor

@Patrick0308 would u change this pr name pls? fix what rest protocol? If there is an issue, you can fix #issue-id. If not, you should write it clearly.

If the title is not clearly, the release note is not readable.

@codecov-io
Copy link

codecov-io commented Mar 9, 2020

Codecov Report

Merging #395 into feature/rest will decrease coverage by 2.35%.
The diff coverage is 59.37%.

Impacted file tree graph

@@               Coverage Diff                @@
##           feature/rest     #395      +/-   ##
================================================
- Coverage         69.19%   66.84%   -2.36%     
================================================
  Files               171      158      -13     
  Lines              9697     8213    -1484     
================================================
- Hits               6710     5490    -1220     
+ Misses             2382     2200     -182     
+ Partials            605      523      -82
Impacted Files Coverage Δ
common/extension/rest_server.go 0% <ø> (ø) ⬆️
common/extension/rest_client.go 0% <ø> (ø) ⬆️
protocol/rest/rest_config_initializer.go 86.25% <100%> (ø) ⬆️
...l/rest/rest_config_reader/default_config_reader.go 60% <28.57%> (+14.54%) ⬆️
config/provider_config.go 58.06% <50%> (-9.29%) ⬇️
config/consumer_config.go 55.31% <50%> (-4.94%) ⬇️
protocol/rest/rest_invoker.go 72.54% <50%> (-0.53%) ⬇️
protocol/rest/rest_protocol.go 80.28% <68.75%> (-5.23%) ⬇️
config_center/nacos/facade.go 37.5% <0%> (-25%) ⬇️
config_center/nacos/client.go 55.55% <0%> (-14.64%) ⬇️
... and 48 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84a2b65...f184ee9. Read the comment docs.

@Patrick0308
Copy link
Contributor Author

@AlexStocks This pr will be merged to the branch of feature/rest. You can see detail in Rest Protocol Pull Request .

@AlexStocks
Copy link
Contributor

AlexStocks commented Mar 10, 2020

@flycash pls own this pr and rename the pr title.

@Patrick0308 Patrick0308 changed the title Fix rest protocol Fix problem of rest protocol PR #352 Mar 10, 2020
}

// byPriority Sort by priority
type byPriority []router.Router
Copy link
Contributor

Choose a reason for hiding this comment

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

can u change its name to PriorityArray?

@zouyx zouyx merged commit f8f2b56 into apache:feature/rest Mar 10, 2020
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.