ex_admin
ex_admin copied to clipboard
Multi-Repo Support
Any chance for Multi-Repo support (perhaps a drop-down box that selects a repo via something like /admin/repo
to /admin/ldaprepo
or so? I have an Ecto Repo for Postgre, an Ecto Repo for LDAP (as well as direct access via erlang's library so if I had to write it in to ex_admin directly somehow if you have a pluggable area for that, that would work), and I might have to add in a nosql store Repo later as well...
I’ll have to think about this. Multiple SQL repos should not be too difficult. They could be defined in the resource file. Does LDAP repo work today? I’ve never tried it. Nor have I tried no-sql repos either.
On Jun 7, 2016, at 10:52 AM, OvermindDL1 [email protected] wrote:
Any chance for Multi-Repo support (perhaps a drop-down box that selects a repo via something like /admin/repo to /admin/ldaprepo or so? I have an Ecto Repo for Postgre, and Ecto Repo for LDAP (as well as direct access via erlang's library so if I had to write it in to ex_admin directly somehow if you have a pluggable area for that, that would work), and I might have to add in a nosql store Repo later as well...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/smpallen99/ex_admin/issues/138, or mute the thread https://github.com/notifications/unsubscribe/AA2YpaBNu7QH2XwDKEa47x1vSMq3jP0Uks5qJYXEgaJpZM4IwAue.
There is an ecto_ldap adapter for ecto 1, I am currently in the process of rewriting it to ecto 2 (with some additional overhauls). LDAP is exposed very much like a KV store, like mongo or so, however it has better lookup options that is more SQL'ish without the joins and such.
+1 for multi-repo support. I'm currently experimenting with building an umbrella project with 2 SQL Repos (each in a separate OTP app) and being able to manage both from ExAdmin would be a nice addition.
is there a wip about this?, I'd like to contribute
I too would like to contribute to this.
I'm presuming the recent-ish updates to Ecto might make this a bit easier.