sollhui opened a new pull request, #69316:
URL: https://github.com/apache/doris/pull/69316

   ### What problem does this PR solve?
   
   Related PR: #67076
   
   Simplify the container credentials setup added by #67076. Construct 
`GeneralHTTPCredentialsProvider` directly from the four `AWS_CONTAINER_*` 
environment variables using the SDK's own constants, and remove duplicate 
constants, endpoint-selection logging, and lengthy wiring comments. The SDK 
continues to handle URI precedence, token-file loading, and credential refresh.
   
   Keep the custom default chain and its provider order unchanged. Preserve the 
SDK 1.11.221 token/token-file argument order and the existing ECS, EKS 
token-rotation, MSK, and recycler tests.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test
       - [x] No need to add tests: this refactor retains the existing container 
credentials coverage.
           - [x] Previous test can cover this change.
   
     Validation:
     - Clang-format 16 check passed for all modified C++ files.
     - `build-support/check-build-hygiene.sh` passed.
     - `git diff --check` passed.
     - Attempted the focused container credentials and MSK tests with 
`run-be-ut.sh`; the script stopped during the local Java environment check 
before compiling or running tests (JDK 17 unavailable).
   
   - Behavior changed:
       - [x] No credential behavior changes; redundant Doris container setup 
logs are removed.
       - [ ] Yes.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to