lasdf1234 opened a new pull request, #12215: URL: https://github.com/apache/gravitino/pull/12215
### What changes were proposed in this pull request? Add the secret-provider SPI (`GravitinoSecretProvider`) and a process-local `InMemorySecretsProvider` for development and unit tests, plus the minimal supporting types required by the SPI surface (URN, write context, reference locator). This PR intentionally does **not** wire create/alter/drop flows, REST APIs, or provider registry configuration. ### Why are the changes needed? To land the OSS foundation for entity connection-secret backends. Later PRs can add provider registry, create-time write-through, resolve/omit-on-read, and REST. Fix: #(none) — foundational SPI; follow-up wiring will track a dedicated issue if needed. ### Does this PR introduce _any_ user-facing change? - No user-facing REST/config change in this PR. - Adds internal SPI types under `org.apache.gravitino.secret`. ### How was this patch tested? - `./gradlew :core:test --tests 'org.apache.gravitino.secret.TestInMemorySecretsProvider' --tests 'org.apache.gravitino.secret.TestSecretUrn' -PskipITs` Made with [Cursor](https://cursor.com) -- 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]
