By default, production builds should point to data.gramene.org and dev builds to devdata.gramene.org.
Determining server at runtime:
(This will be implemented in gramene-swagger-client in a sister issue).
Look for an optional URL parameter server that specifies server name or IP address and port, e.g.
http://search.gramene.org?server=localhost:10011/swagger would use the production search interface as served from search.gramene.org but it would connect to localhost:10011 for all data requests.
Otherwise, use the value specified in global parameter gramene.defaultServer
Otherwise, use hard-coded default value http://data.gramene.org/swagger.
The web services server location is hardcoded in
gramene-search-client
as http://devdata.gramene.org/By default, production builds should point to
data.gramene.org
and dev builds todevdata.gramene.org
.Determining server at runtime:
(This will be implemented in
gramene-swagger-client
in a sister issue).server
that specifies server name or IP address and port, e.g.http://search.gramene.org?server=localhost:10011/swagger
would use the production search interface as served fromsearch.gramene.org
but it would connect tolocalhost:10011
for all data requests.gramene.defaultServer
http://data.gramene.org/swagger
.