use of org.apache.skywalking.apm.collector.storage.ui.overview.ConjecturalAppBrief in project incubator-skywalking by apache.
the class ApplicationService method getConjecturalApps.
public ConjecturalAppBrief getConjecturalApps(Step step, long startSecondTimeBucket, long endSecondTimeBucket) throws ParseException {
List<ConjecturalApp> conjecturalApps = networkAddressUIDAO.getConjecturalApps();
conjecturalApps.forEach(conjecturalApp -> {
String serverType = ServerTypeDefine.getInstance().getServerType(conjecturalApp.getId());
conjecturalApp.setName(serverType);
});
ConjecturalAppBrief conjecturalAppBrief = new ConjecturalAppBrief();
conjecturalAppBrief.setApps(conjecturalApps);
return conjecturalAppBrief;
}
Aggregations