Skip to content

Conversation

@karsonto
Copy link
Member

@karsonto karsonto commented Jan 5, 2024

Fixes #4723.

Motivation

Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.

Modifications

Describe the modifications you've done.

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

URI uri = uriBuilder.build();
HttpGet httpGet = new HttpGet(uri);
httpGet.setHeader("username",username);
httpGet.setHeader("password",password);
Copy link
Member

Choose a reason for hiding this comment

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

Can NacosConstant.USERNAME and NacosConstant.PASSWORD be used to replace them?

Copy link
Member Author

Choose a reason for hiding this comment

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

of course

@codecov
Copy link

codecov bot commented Jan 5, 2024

Codecov Report

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

Comparison is base (b3f5375) 17.44% compared to head (9a30c23) 17.44%.

Files Patch % Lines
...eventmesh/meta/nacos/service/NacosMetaService.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4724      +/-   ##
============================================
- Coverage     17.44%   17.44%   -0.01%     
  Complexity     1768     1768              
============================================
  Files           797      797              
  Lines         29845    29847       +2     
  Branches       2563     2563              
============================================
  Hits           5206     5206              
- Misses        24159    24161       +2     
  Partials        480      480              

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

Copy link
Member

@mxsm mxsm left a comment

Choose a reason for hiding this comment

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

LGTM

@mxsm mxsm merged commit 8ebc984 into apache:master Jan 5, 2024
@xwm1992 xwm1992 added this to the 1.11.0 milestone Dec 18, 2024
xuhongjia pushed a commit to Deckers-Ohana/eventmesh that referenced this pull request Mar 13, 2025
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.

[Bug] Can not obtain metadata when nacos enable authentication

5 participants