Go to the SVN repository for this file.
45 stringret =
"https://";
48ret +=
"www.ncbi.nlm.nih.gov";
50ret +=
"web.ncbi.nlm.nih.gov";
52ret +=
"wwwqa.ncbi.nlm.nih.gov";
54ret +=
"webqa.ncbi.nlm.nih.gov";
56ret +=
"web.ncbi.nlm.nih.gov";
58ret +=
"/Service/cgi_tunnel2grid/cgi_tunnel2grid.cgi";
67 const string& project_name,
68 const string& return_url)
70unique_ptr<CGridClient> grid_client;
83 stringjob_key = grid_client->Submit();
86url +=
"&job_key="+ job_key;
90os <<
"<html><head><<META HTTP-EQUIV=Refresh CONTENT=\"0;" 91<< url <<
"\"></head><body></body></html>";
CNcbiOstream & CGI2GRID_ComposeHtmlPage(CCgiApplication &app, CNcbiOstream &os, const CCgiRequest &cgi_request, const string &project_name, const string &return_url)
static string s_GetCgiTunnel2GridUrl(const CCgiRequest &cgi_request)
Grid Client (the submitter).
Client API for NetCache server.
Client API for NCBI NetSchedule server.
NetSchedule Framework specs.
const CNcbiRegistry & GetConfig(void) const
Get the application's cached configuration parameters (read-only).
void Serialize(CNcbiOstream &os) const
Serialize/Deserialize a request to/from a stream.
const string & GetProperty(ECgiProp prop) const
Get value of a "standard" property (return empty string if not defined)
CNetScheduleSubmitter GetSubmitter()
Create an instance of CNetScheduleSubmitter.
void SetProgramVersion(const string &pv)
Set program version (like: MyProgram v.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)
Check if a string starts with a specified prefix value.
static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)
Convert numeric value to string.
static string URLEncode(const CTempString str, EUrlEncode flag=eUrlEnc_SkipMarkChars)
URL-encode string.
@ eNocase
Case insensitive compare.
CTime GetFastLocalTime(void)
Quick and dirty getter of local time.
NetSchedule client specs.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4