use of com.chinaunicom.rundocker.bean.DockerStatus in project mesosFramework by zhizuqiu.
the class ToolsTest method before.
@Before
public void before() {
String id = "/2048/1";
DockerJob dockerJob = new DockerJob();
dockerJob.setId(id);
AppDataStore.jobsPut(id.replaceAll("/", "."), dockerJob);
DockerStatus dockerStatus = new DockerStatus();
dockerStatus.setId(id);
AppDataStore.statusPut(id.replaceAll("/", "."), dockerStatus);
AppDataStore.setConfig(new Config());
AppDataStore.getConfig().setFrameworkName("2048");
}
Aggregations