dev.sixpack.api.rpc.SupplierAi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
SDK to develop generators part of the Sixpack solution
The newest version!
package dev.sixpack.api.rpc;
import dev.sixpack.api.data.SupplierTelemetry;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static dev.sixpack.api.data.SupplierStatus.OK;
public class SupplierAi implements SupplierA {
private static Logger LOGGER;
public SupplierAi(String supplierName) {
LOGGER = LoggerFactory.getLogger(supplierName + "Supplier");
}
@Override
public SupplierTelemetry getTelemetry() {
LOGGER.debug("Sending heartbeat telemetry to Sixpack");
return new SupplierTelemetry(OK);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy