Re: [I] [Feature Request]: Pull operating system environment variable (hop)
hansva closed issue #6967: [Feature Request]: Pull operating system environment variable URL: https://github.com/apache/hop/issues/6967 -- 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]
Re: [I] [Feature Request]: Pull operating system environment variable (hop)
CarlosJuncher03 commented on issue #6967: URL: https://github.com/apache/hop/issues/6967#issuecomment-4214162479 So, I used the variable resolver to create a dynamic variable in the connection, but it seems to have entered a loop, and I don't understand why; I'm still analyzing it. But the HOP_OPTIONS option is a good alternative, I'll test it. -- 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]
Re: [I] [Feature Request]: Pull operating system environment variable (hop)
hansva commented on issue #6967: URL: https://github.com/apache/hop/issues/6967#issuecomment-4213080428 An alternative solution would be to use a pipeline variable resolver, and in the pipeline, you use a User-Defined Java Expression. The would be something like `System.getProperty(VARIABLENAME)` This will then return that system variable. -- 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]
Re: [I] [Feature Request]: Pull operating system environment variable (hop)
hansva commented on issue #6967: URL: https://github.com/apache/hop/issues/6967#issuecomment-4201766014 You were talking about system variables, https://hop.apache.org//manual/latest/installation-configuration.html#_set_system_environment_variables you can add a system variable called HOP_OPTIONS and add all those fixed variables that you want to send to all hop commands -- 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]
Re: [I] [Feature Request]: Pull operating system environment variable (hop)
CarlosJuncher03 commented on issue #6967:
URL: https://github.com/apache/hop/issues/6967#issuecomment-4200143702
In the case of hop_gui.sh, put it like this
if [ -n "${MY_DATE}" ]; then
HOP_OPTIONS="${HOP_OPTIONS} -DMY_DATE=${MY_DATE}"
fi
--
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]
Re: [I] [Feature Request]: Pull operating system environment variable (hop)
hansva commented on issue #6967: URL: https://github.com/apache/hop/issues/6967#issuecomment-4199895464 ADD them to the HOP_OPTIONS variable using -Dvariable.name and they are available in the application -- 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]
