Search in sources :

Example 1 with ConjecturalAppBrief

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;
}
Also used : ConjecturalAppBrief(org.apache.skywalking.apm.collector.storage.ui.overview.ConjecturalAppBrief) ConjecturalApp(org.apache.skywalking.apm.collector.storage.ui.overview.ConjecturalApp)

Aggregations

ConjecturalApp (org.apache.skywalking.apm.collector.storage.ui.overview.ConjecturalApp)1 ConjecturalAppBrief (org.apache.skywalking.apm.collector.storage.ui.overview.ConjecturalAppBrief)1