public static Map<String, String> getCommandParamsStage(ActionExecutionContext actionExecContext, String requestContext) throws AmbariException {
    Map<String, String> commandParams = actionExecContext.getParameters() != null ? actionExecContext.getParameters() : new TreeMap<>();
    if (StringUtils.isNotEmpty(requestContext) && requestContext.toLowerCase().contains("rolling-restart")) {
      commandParams.put("rolling_restart", "true");
    }
    return commandParams;
  }
Even though this map is populated systematically, we still need this map
since components like Atlas Client that are missing from this map
and cleint components are handled differently
ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java