zqr10159 opened a new pull request, #4281: URL: https://github.com/apache/hertzbeat/pull/4281
## Summary - classify the Ollama API key parameter as a password - classify the HTTP service-discovery bearer token parameter as a password - add a loaded-definition contract for both parameter types This reuses the existing password parameter path, which encrypts new values before persistence and marks the runtime parameter accordingly. ## Validation - `./mvnw -pl hertzbeat-manager -am -Dtest=AppServiceTest 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; AppServiceTest passed 9/9 and Checkstyle reported no violations. Risk notes: existing values saved under the previous text type are not migrated by this change; they will follow the password path when next submitted. -- 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]
