You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/03/22 23:52:23 UTC

[GitHub] [incubator-superset] williaster opened a new pull request #7097: [api] add available_domains/ endpoint

williaster opened a new pull request #7097: [api] add available_domains/ endpoint
URL: https://github.com/apache/incubator-superset/pull/7097
 
 
   This PR adds a new api endpoint `superset/available_domains/` which simply returns the value of the `config` variable `SUPERSET_WEBSERVER_DOMAINS`. 
   
   `SUPERSET_WEBSERVER_DOMAINS` allows a Superset deployment to use domain sharding to effectively increase the number of parallel data requests and improve dashboard loading times. When embedding Superset charts in other applications, developers may want to use a similar technique to improve data loading times. However without exposing the available domains through an endpoint, the developers would have to duplicate / hard-code the domains in their app which is not ideal.
   
   Tested the endpoint locally.
   
   @kristw @conglei @xtinec @soboko @mistercrunch 
   cc @graceguo-supercat @john-bodley 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org