@Test public void testQuerListLogStores() { List<String> logStores = aliyunLogManageServiceImpl.queryListLogStores("collect-web-service-logs"); System.err.println("ListLogs:" + logStores.toString() + "\n"); }
@Override public List<String> queryListLogStores(String project) { Client client = aliyunLogService.acqClient(); int offset = 0; int size = 100; String logStoreSubName = ""; ListLogStoresRequest req = new ListLogStoresRequest(project, offset, size, logStoreSubName); ArrayList<String> logStores = new ArrayList<>(); try { logStores = client.ListLogStores(req).GetLogStores(); } catch (LogException lg) { } return logStores; }
AliyunLogManageServiceImpl implements AliyunLogManageService { @Override public List<String> queryListLogStores(String project) { Client client = aliyunLogService.acqClient(); int offset = 0; int size = 100; String logStoreSubName = ""; ListLogStoresRequest req = new ListLogStoresRequest(project, offset, size, logStoreSubName); ArrayList<String> logStores = new ArrayList<>(); try { logStores = client.ListLogStores(req).GetLogStores(); } catch (LogException lg) { } return logStores; } }
AliyunLogManageServiceImpl implements AliyunLogManageService { @Override public List<String> queryListLogStores(String project) { Client client = aliyunLogService.acqClient(); int offset = 0; int size = 100; String logStoreSubName = ""; ListLogStoresRequest req = new ListLogStoresRequest(project, offset, size, logStoreSubName); ArrayList<String> logStores = new ArrayList<>(); try { logStores = client.ListLogStores(req).GetLogStores(); } catch (LogException lg) { } return logStores; }  }
AliyunLogManageServiceImpl implements AliyunLogManageService { @Override public List<String> queryListLogStores(String project) { Client client = aliyunLogService.acqClient(); int offset = 0; int size = 100; String logStoreSubName = ""; ListLogStoresRequest req = new ListLogStoresRequest(project, offset, size, logStoreSubName); ArrayList<String> logStores = new ArrayList<>(); try { logStores = client.ListLogStores(req).GetLogStores(); } catch (LogException lg) { } return logStores; }  @Override List<String> queryListProject(); @Override List<String> queryListLogStores(String project); @Override List<String> queryListMachineGroup(String project, String groupName); @Override MachineGroup getMachineGroup(String project, String groupName); @Override MachineGroupVO getMachineGroupVO(String project, String groupName); boolean updateMachineGroup(LogServiceServerGroupCfgVO cfgVO); boolean addMachineGroup(LogServiceServerGroupCfgVO cfgVO); @Override BusinessWrapper<Boolean> saveServerGroupCfg(LogServiceServerGroupCfgVO cfgVO); @Override LogServiceStatusVO logServiceStatus(); }
AliyunLogManageServiceImpl implements AliyunLogManageService { @Override public List<String> queryListLogStores(String project) { Client client = aliyunLogService.acqClient(); int offset = 0; int size = 100; String logStoreSubName = ""; ListLogStoresRequest req = new ListLogStoresRequest(project, offset, size, logStoreSubName); ArrayList<String> logStores = new ArrayList<>(); try { logStores = client.ListLogStores(req).GetLogStores(); } catch (LogException lg) { } return logStores; }  @Override List<String> queryListProject(); @Override List<String> queryListLogStores(String project); @Override List<String> queryListMachineGroup(String project, String groupName); @Override MachineGroup getMachineGroup(String project, String groupName); @Override MachineGroupVO getMachineGroupVO(String project, String groupName); boolean updateMachineGroup(LogServiceServerGroupCfgVO cfgVO); boolean addMachineGroup(LogServiceServerGroupCfgVO cfgVO); @Override BusinessWrapper<Boolean> saveServerGroupCfg(LogServiceServerGroupCfgVO cfgVO); @Override LogServiceStatusVO logServiceStatus(); static final String LOG_SERVICE_CONFIG_NAME; }