Project

General

Profile

Actions

User story #17367

closed

Missing info about if a node is a relay in API and capabilities need to to in management technologie

Added by François ARMAND over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
UX impact:
Suggestion strength:
User visibility:
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

Also available in: Atom PDF