com.foilen.infra.api.service.InfraMachineApiService Maven / Gradle / Ivy
/*
Foilen Infra API
https://github.com/foilen/foilen-infra-api
Copyright (c) 2017-2021 Foilen (https://foilen.com)
The MIT License
http://opensource.org/licenses/MIT
*/
package com.foilen.infra.api.service;
import java.util.List;
import com.foilen.infra.api.model.machine.SystemStats;
import com.foilen.infra.api.response.ResponseMachineSetup;
import com.foilen.smalltools.restapi.model.FormResult;
public interface InfraMachineApiService {
/**
* Retrieve the softwares to install and how to configure them on the machine.
*
* @param machineName
* the hostname of the machine
* @return the configuration
*/
ResponseMachineSetup getMachineSetup(String machineName);
/**
* Send some recorded system stats.
*
* @param machineName
* the hostname of the machine
* @param systemStats
* the recorded stats
*/
FormResult sendSystemStats(String machineName, List systemStats);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy