zqr10159 opened a new pull request, #4282: URL: https://github.com/apache/hertzbeat/pull/4282
## Summary - keep AWS, Alibaba Cloud, and UniSMS request logs provider-only - omit request headers, signed URLs, payloads, response bodies, and phone numbers from routine logs - add a captured-output contract using mocked provider responses ## Validation - `./mvnw -pl hertzbeat-alerter -am -Dtest=SmsClientLoggingTest,AwsSmsClientImplTest,UniSmsClientImplTest,SmsClientFactoryTest test -DskipITs -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false` - `git diff --cached --check` AI assistance: used for draft implementation and test iteration. Human validation: the focused Maven reactor completed successfully; 15 SMS-related tests passed and Checkstyle reported no violations. Risk notes: provider response bodies remain available to exception handling for non-success responses, but are no longer emitted by these clients' routine logs. -- 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]
