<< Back to previous view

[QB-3502] Server wide variables
Created: 26/Feb/20  Updated: 28/Feb/22

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: 12.0.0

Type: New Feature Priority: Major
Reporter: Benoit Maury-Bouet Assigned To: Robin Shen
Resolution: Fixed Votes: 3
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Dear all,

What do you think about having the possibility to create server wide variables ?
In some configuration context it would be useful to have varaibles even when you're not in a configuration/build context

 Comments   
Comment by Robin Shen [ 27/Feb/20 12:21 AM ]
Can you please give me an example on how this type of variable can be used?
Comment by Benoit Maury-Bouet [ 27/Feb/20 07:25 AM ]
For instance when deifning cloud profiles we could use server wide variables to reference some type of hardware profile without duplicating from one config to another.
Also in dashboards scripting for instance, as we are not in a build context, I sometime have to "hardcode" certain url / values that could be in a server wide variable.
etc.
Comment by Robin Shen [ 28/Feb/20 12:18 AM ]
That makes sense. Thanks for clarification.
Comment by Robin Shen [ 28/Feb/20 02:30 AM ]
The user attributes setting for each node in grid page can serve this purpose. To get value of an attribute from current node, just call ${node.getAttribute("attributeName")}
Comment by Robin Shen [ 29/Feb/20 12:29 AM ]
Close as user attributes can serve this purpose well
Comment by Benoit Maury-Bouet [ 02/Mar/20 08:56 AM ]
But the user attributes is not a very good fit for "secret/password" type of variables right ?
Comment by Robin Shen [ 02/Mar/20 11:57 PM ]
Thanks for the info. Reopened now
Comment by Clément Hublier [ 07/Jun/21 09:47 AM ]
Hello,

I am also interested on this subject. A global variable system, not only for Cloud Profiles but also for Dashboards, could be really useful!

Could you please update this 'major' topic after more than a year of inactivity?
Comment by Robin Shen [ 07/Jun/21 11:53 AM ]
Will get this into next major version of QB planned for next year.
Generated at Thu Apr 18 04:25:49 UTC 2024 using JIRA 189.