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 2020/05/20 10:34:12 UTC

[GitHub] [incubator-superset] tooptoop4 opened a new issue #9856: Ability to add datasources and roles programatically

tooptoop4 opened a new issue #9856:
URL: https://github.com/apache/incubator-superset/issues/9856


   Seems only way to add datasource (ie presto sql alchemy url and creds), or a role (ie access to a presto datasource) is via the UI. To avoid manual steps, would like to be able to add datasource and role via cli or api call as part of superset installation


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] stale[bot] commented on issue #9856: Ability to add/remove datasources and roles programatically

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #9856:
URL: https://github.com/apache/incubator-superset/issues/9856#issuecomment-663867932


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] mistercrunch commented on issue #9856: Ability to add/remove datasources and roles programatically

Posted by GitBox <gi...@apache.org>.
mistercrunch commented on issue #9856:
URL: https://github.com/apache/incubator-superset/issues/9856#issuecomment-633251836


   It's possible to tap in the [private] REST api and/or directly using the ORM in python scripts.
   
   We've been pushing hard lately to make the REST api more public, and you can take a look at the swagger docs. More about this effort here https://github.com/apache/incubator-superset/issues/7259


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] stale[bot] closed issue #9856: Ability to add/remove datasources and roles programatically

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #9856:
URL: https://github.com/apache/incubator-superset/issues/9856


   


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] tooptoop4 commented on issue #9856: Ability to add/remove datasources and roles programatically

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #9856:
URL: https://github.com/apache/incubator-superset/issues/9856#issuecomment-634090701


   have you got a small snippet of using ORM to add a role?
   Also  for point 9 of https://github.com/apache/incubator-superset/issues/9384 I would like to use ORM to get min() dbid from dbs table


----------------------------------------------------------------
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



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


[GitHub] [incubator-superset] tooptoop4 commented on issue #9856: Ability to add/remove datasources and roles programatically

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #9856:
URL: https://github.com/apache/incubator-superset/issues/9856#issuecomment-633150970


   I've since discovered datasource options via cli (haven't tried yet) but still can't see any way to add roles via cli


----------------------------------------------------------------
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



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