Open S-Gilk opened 9 months ago
There are currently no examples included in the sdk of using the methods within the IClient3 interface of datalayer.h
As an example, it would be nice to see browseBulkSync used within datalayerclient.cpp
void DataLayerClient::browseBulk() { m_data.setValue(""); comm::datalayer::BulkRequest req1 = {"/framework/metrics/process",m_data}; comm::datalayer::BulkRequest req2 = {"/framework/metrics/system",m_data}; const comm::datalayer::VecBulkRequest vec_req = std::vector<comm::datalayer::BulkRequest> {req1, req2}; std::vector<comm::datalayer::BulkResponse> vec_res; std::string token = m_client3->getAuthToken(); std::cout<< token << std::endl; comm::datalayer::BulkResponse res1 = comm::datalayer::BulkResponse(); m_result = m_client3->browseBulkSync(vec_req, vec_res, token); for(auto& res : vec_res){ if(res.result == comm::datalayer::DlResult::DL_OK){ printStringList(res.data); } } }
There are currently no examples included in the sdk of using the methods within the IClient3 interface of datalayer.h
As an example, it would be nice to see browseBulkSync used within datalayerclient.cpp