You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hop.apache.org by Matt Casters <ma...@gmail.com> on 2025/01/15 15:26:01 UTC

Variable Resolvers

Dear Hop devs,

Pull request 4761 <https://github.com/apache/hop/pull/4761> contains a
plugin system to resolve variable expressions using 'variable resolvers'.
A description of the system is here
<https://github.com/apache/hop/blob/a394f68d003fec95f5016ac2ff74734aec119ebc/docs/hop-user-manual/modules/ROOT/pages/metadata-types/variable-resolver/index.adoc>
.

In short, if you have an expression like #{name:key:value} whenever you
resolve a variable, the following takes place:


   - Name is looked up in the "Variable Resolver" metadata elements
   - This metadata wraps around plugins capable of resolving variables
   - The metadata element details allow the actual key to be looked up,
   typically a JSON document from a secrets store.
   - The appropriate value is picked from the secret.


Currently there are 3 plugins available:

   1. a Pipeline variable resolver capable of anything really
   2. a Google Secret Manager resolver
   3. a Hashicorp Vault secret manager

If you have the time, your feedback on the PR is appreciated to make sure
we're not overlooking any obvious issues.

Thanks in advance,

Matt