Actions
User story #17367
closedMissing info about if a node is a relay in API and capabilities need to to in management technologie
Effort required:
Name check:
To do
Fix check:
Checked
Regression:
Description
When we query information about a node for managementTechnologyDetails
, we don't have the information about the fact that the node is a policy serveur (root or relay) or a simple node.
This is blocking some integration scripts for users.
Ex of content for root:
"managementTechnologyDetails": { "cfengineKeys": [ "-----BEGIN CERTIFICATE--...----END CERTIFICATE-----" ], "cfengineUser": "root", "capabilities": [ "acl", "cfengine", "curl", "http_reporting", "jq", "xml", "yaml" ], "serverRoles": [ "rudder-db", "rudder-reports", "rudder-server-root", "rudder-webapp" ] } }
=> add "role" = { root, relay, node } so that it matches (ie same logic to decide) what is displayed in node details.
Actions