NCBI C++ ToolKit
Functions | Variables
pubseq_gateway.cpp File Reference
#include <ncbi_pch.hpp>
#include <math.h>
#include <thread>
#include <corelib/ncbithr.hpp>
#include <corelib/ncbidiag.hpp>
#include <corelib/request_ctx.hpp>
#include <corelib/ncbifile.hpp>
#include <connect/services/grid_app_version_info.hpp>
#include <util/random_gen.hpp>
#include <google/protobuf/stubs/common.h>
#include <objtools/pubseq_gateway/impl/cassandra/blob_storage.hpp>
#include <objtools/pubseq_gateway/impl/ipg/ipg_huge_report_helper.hpp>
#include "http_request.hpp"
#include "pubseq_gateway.hpp"
#include "pubseq_gateway_exception.hpp"
#include "pubseq_gateway_logging.hpp"
#include "shutdown_data.hpp"
#include "cass_monitor.hpp"
#include "introspection.hpp"
#include "backlog_per_request.hpp"
#include "active_proc_per_request.hpp"
#include "cass_processor_dispatch.hpp"
#include "osg_processor.hpp"
#include "cdd_processor.hpp"
#include "wgs_processor.hpp"
#include "snp_processor.hpp"
#include "dummy_processor.hpp"
#include "favicon.hpp"
#include "introspection_html.hpp"
+ Include dependency graph for pubseq_gateway.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

int main (int argc, const char *argv[])
 

Variables

 USING_NCBI_SCOPE
 
const EDiagSev kDefaultSeverity = eDiag_Critical
 
const bool kDefaultTrace = false
 
const float kSplitInfoBlobCacheSizeMultiplier = 0.8
 
const float kUserInfoCacheSizeMultiplier = 0.8
 
static const string kDaemonizeArgName = "daemonize"
 
EDiagSev g_ConfiguredSeverity = kDefaultSeverity
 
bool g_Trace = kDefaultTrace
 
bool g_Log = true
 
bool g_AllowProcessorTiming = false
 
SShutdownData g_ShutdownData
 
static unsigned long s_TickNo = 0
 
static unsigned long s_TickNoFor1Min = 0
 
static unsigned long s_TickNoFor5Sec = 0
 
static string kNcbiSidHeader = "HTTP_NCBI_SID"
 
static string kNcbiPhidHeader = "HTTP_NCBI_PHID"
 
static string kXForwardedForHeader = "X-Forwarded-For"
 
static string kUserAgentHeader = "User-Agent"
 
static string kUserAgentApplog = "USER_AGENT"
 
static string kRequestPathApplog = "request_path"
 

Function Documentation

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Variable Documentation

◆ g_AllowProcessorTiming

bool g_AllowProcessorTiming = false

◆ g_ConfiguredSeverity

EDiagSev g_ConfiguredSeverity = kDefaultSeverity

Definition at line 78 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::Init().

◆ g_Log

bool g_Log = true

◆ g_ShutdownData

SShutdownData g_ShutdownData

◆ g_Trace

bool g_Trace = kDefaultTrace

Definition at line 82 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::Init().

◆ kDaemonizeArgName

const string kDaemonizeArgName = "daemonize"
static

Definition at line 73 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::Init(), and CPubseqGatewayApp::Run().

◆ kDefaultSeverity

const EDiagSev kDefaultSeverity = eDiag_Critical

Definition at line 68 of file pubseq_gateway.cpp.

◆ kDefaultTrace

const bool kDefaultTrace = false

Definition at line 69 of file pubseq_gateway.cpp.

◆ kNcbiPhidHeader

string kNcbiPhidHeader = "HTTP_NCBI_PHID"
static

Definition at line 635 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::x_CreateRequestContext().

◆ kNcbiSidHeader

string kNcbiSidHeader = "HTTP_NCBI_SID"
static

Definition at line 634 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::x_CreateRequestContext().

◆ kRequestPathApplog

string kRequestPathApplog = "request_path"
static

Definition at line 639 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::x_CreateRequestContext().

◆ kSplitInfoBlobCacheSizeMultiplier

const float kSplitInfoBlobCacheSizeMultiplier = 0.8

Definition at line 70 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::Run().

◆ kUserAgentApplog

string kUserAgentApplog = "USER_AGENT"
static

Definition at line 638 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::x_CreateRequestContext().

◆ kUserAgentHeader

string kUserAgentHeader = "User-Agent"
static

Definition at line 637 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::x_CreateRequestContext().

◆ kUserInfoCacheSizeMultiplier

const float kUserInfoCacheSizeMultiplier = 0.8

Definition at line 71 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::Run().

◆ kXForwardedForHeader

string kXForwardedForHeader = "X-Forwarded-For"
static

Definition at line 636 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::x_CreateRequestContext().

◆ s_TickNo

unsigned long s_TickNo = 0
static

Definition at line 326 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::Run().

◆ s_TickNoFor1Min

unsigned long s_TickNoFor1Min = 0
static

Definition at line 327 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::Run().

◆ s_TickNoFor5Sec

unsigned long s_TickNoFor5Sec = 0
static

Definition at line 328 of file pubseq_gateway.cpp.

Referenced by CPubseqGatewayApp::Run().

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 66 of file pubseq_gateway.cpp.

Modified on Wed Apr 17 13:09:46 2024 by modify_doxy.py rev. 669887