e2c9cfc1bb6a71ba957b8f2b674491595a232353 hiram Fri Jul 24 09:51:39 2026 -0700 refactor the ottoRequest table access with relay requests from Euro/Asia nodes to the RR system refs #31811 diff --git src/hg/hubApi/hubApi.c src/hg/hubApi/hubApi.c index a17ef6dc1d8..0c2b7a75203 100644 --- src/hg/hubApi/hubApi.c +++ src/hg/hubApi/hubApi.c @@ -993,30 +993,31 @@ static void setupFunctionHash() /* initialize the apiFunctionHash */ { if (apiFunctionHash) return; /* already done */ apiFunctionHash = hashNew(0); hashAdd(apiFunctionHash, "list", &apiList); hashAdd(apiFunctionHash, "getData", &apiGetData); hashAdd(apiFunctionHash, "search", &apiSearch); hashAdd(apiFunctionHash, "findGenome", &apiFindGenome); hashAdd(apiFunctionHash, "liftOver", &apiLiftOver); hashAdd(apiFunctionHash, "liftRequest", &apiLiftRequest); hashAdd(apiFunctionHash, "assemblyRequest", &apiAssemblyRequest); +hashAdd(apiFunctionHash, "submitOttoRequest", &apiSubmitOttoRequest); hashAdd(apiFunctionHash, "blat", &apiBlat); } static struct hashEl *parsePathInfo(char *pathInfo, char *words[MAX_PATH_INFO]) /* given a pathInfo string: /command/subCommand/etc... * parse that and return a function pointer and the parsed words * Returns NULL if not recognized */ { char *tmp = cloneString(pathInfo); /* skip the first leading slash to simplify chopByChar parsing */ tmp += 1; int wordCount = chopByChar(tmp, '/', words, MAX_PATH_INFO); if (wordCount < 1 || wordCount > 2) return NULL; /* only 2 words allowed */