Search in sources :

Example 11 with StampedeId

use of com.facebook.buck.distributed.thrift.StampedeId in project buck by facebook.

the class DistBuildServiceTest method createStampedeId.

private static StampedeId createStampedeId(String id) {
    StampedeId stampedeId = new StampedeId();
    stampedeId.setId(id);
    return stampedeId;
}
Also used : StampedeId(com.facebook.buck.distributed.thrift.StampedeId)

Example 12 with StampedeId

use of com.facebook.buck.distributed.thrift.StampedeId in project buck by facebook.

the class ThriftUtilTest method createBuildJob.

private BuildJob createBuildJob() {
    BuildJob job = new BuildJob();
    job.setStatus(BuildStatus.FINISHED_SUCCESSFULLY);
    StampedeId stampedeId = new StampedeId();
    stampedeId.setId("all will be well");
    job.setStampedeId(stampedeId);
    return job;
}
Also used : StampedeId(com.facebook.buck.distributed.thrift.StampedeId) BuildJob(com.facebook.buck.distributed.thrift.BuildJob)

Aggregations

StampedeId (com.facebook.buck.distributed.thrift.StampedeId)12 BuildJob (com.facebook.buck.distributed.thrift.BuildJob)6 FrontendRequest (com.facebook.buck.distributed.thrift.FrontendRequest)5 Test (org.junit.Test)5 FrontendResponse (com.facebook.buck.distributed.thrift.FrontendResponse)4 ArtifactCacheFactory (com.facebook.buck.artifact_cache.ArtifactCacheFactory)1 DistBuildService (com.facebook.buck.distributed.DistBuildService)1 DistBuildSlaveExecutor (com.facebook.buck.distributed.DistBuildSlaveExecutor)1 DistBuildState (com.facebook.buck.distributed.DistBuildState)1 MultiSourceContentsProvider (com.facebook.buck.distributed.MultiSourceContentsProvider)1 BuildJobState (com.facebook.buck.distributed.thrift.BuildJobState)1 BuildJobStateFileHashes (com.facebook.buck.distributed.thrift.BuildJobStateFileHashes)1 BuildJobStateTargetGraph (com.facebook.buck.distributed.thrift.BuildJobStateTargetGraph)1 BuildJobStateTargetNode (com.facebook.buck.distributed.thrift.BuildJobStateTargetNode)1 BuildStatusResponse (com.facebook.buck.distributed.thrift.BuildStatusResponse)1 CreateBuildResponse (com.facebook.buck.distributed.thrift.CreateBuildResponse)1 LogLineBatchRequest (com.facebook.buck.distributed.thrift.LogLineBatchRequest)1 MultiGetBuildSlaveLogDirResponse (com.facebook.buck.distributed.thrift.MultiGetBuildSlaveLogDirResponse)1 MultiGetBuildSlaveRealTimeLogsResponse (com.facebook.buck.distributed.thrift.MultiGetBuildSlaveRealTimeLogsResponse)1 StartBuildResponse (com.facebook.buck.distributed.thrift.StartBuildResponse)1