NCBI C++ ToolKit
Classes | Functions | Variables
z_end_points.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/request_ctx.hpp>
#include <objtools/pubseq_gateway/client/psg_client.hpp>
#include <objtools/pubseq_gateway/client/impl/misc.hpp>
#include "http_request.hpp"
#include "http_reply.hpp"
#include "http_connection.hpp"
#include "pubseq_gateway.hpp"
#include "pubseq_gateway_exception.hpp"
#include "resolve_processor.hpp"
+ Include dependency graph for z_end_points.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  SCheckDescription
 

Functions

SCheckDescription FindCheckDescription (const string &id)
 
CRequestStatus::ECode OnReplyComplete (const shared_ptr< CPSG_Reply > &reply, const CTimeout &health_timeout, string &err_msg)
 

Variables

 USING_NCBI_SCOPE
 
static vector< SCheckDescriptions_CheckDescription
 

Function Documentation

◆ FindCheckDescription()

SCheckDescription FindCheckDescription ( const string id)

Definition at line 83 of file z_end_points.cpp.

References check, NCBI_THROW, and s_CheckDescription.

Referenced by CPubseqGatewayApp::x_SelfZEndPointCheck().

◆ OnReplyComplete()

CRequestStatus::ECode OnReplyComplete ( const shared_ptr< CPSG_Reply > &  reply,
const CTimeout health_timeout,
string err_msg 
)

Variable Documentation

◆ s_CheckDescription

vector<SCheckDescription> s_CheckDescription
static
Initial value:
{ SCheckDescription("cassandra", "Cassandra retrieval",
"Check of data retrieval from Cassandra DB"),
SCheckDescription("lmdb", "LMDB retrieval",
"Check of data retrieval from LMDB"),
SCheckDescription("wgs", "WGS retrieval",
"Check of data retrieval from WGS"),
SCheckDescription("cdd", "CDD retrieval",
"Check of data retrieval from CDD"),
SCheckDescription("snp", "SNP retrieval",
"Check of data retrieval from SNP")
}

Definition at line 70 of file z_end_points.cpp.

Referenced by FindCheckDescription(), CPubseqGatewayApp::x_InitialzeZEndPointData(), and CPubseqGatewayApp::x_ReadyzHealthzImplementation().

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 45 of file z_end_points.cpp.

Modified on Fri Sep 20 14:58:08 2024 by modify_doxy.py rev. 669887