Examples of ApiHostInfo


Examples of com.vmware.bdd.plugin.ambari.api.model.cluster.ApiHostInfo

   @Override
   public ApiHostList getHostsSummaryInfo(String clusterName) {
      ApiHostList apiHostList = new ApiHostList();
      List<ApiHost> apiHosts = new ArrayList<>();
      ApiHost host = new ApiHost();
      ApiHostInfo hostInfo = new ApiHostInfo();
      hostInfo.setHostName("test_host");
      host.setApiHostInfo(hostInfo);
      apiHosts.add(host);
      apiHostList.setApiHosts(apiHosts);
      return apiHostList;
   }
View Full Code Here

Examples of com.vmware.bdd.plugin.ambari.api.model.cluster.ApiHostInfo

      confGroup.setApiConfigGroupInfo(info);
      info.setClusterName(clusterDef.getName());
      info.setDescription(serviceName + " configuration");
      info.setGroupName(nodeDef.getName());
      List<ApiHostInfo> hosts = new ArrayList<>();
      ApiHostInfo hostInfo = new ApiHostInfo();
      hostInfo.setHostName(nodeDef.getFqdn());
      hosts.add(hostInfo);
      info.setHosts(hosts);
      info.setTag(serviceName);
      List<ApiConfigGroupConfiguration> desiredConfigs = new ArrayList<>();
      info.setDesiredConfigs(desiredConfigs);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.