donald-jackson / kannel-pluginbox

Kannel Pluginbox allows users to implement their own business logic for routing, billing, etc in Kannel.
Other
12 stars 9 forks source link

Dbsupport #9

Closed rkluwen closed 7 years ago

rkluwen commented 7 years ago

Hello, so here I am with the promised patch that I was talking about. I included db support as well as being able to use a shared database connection pool within different plugins. This means that each plugin doesn't have to have it's own database connections on it's own, if they're the same as another plugin. I may push more commits to this branch as I am testing everything out. But I invite all to test, review and comment. Also the plugin_cdr plugin has been changed drastically, using a much cleaner approach. Also it includes message injection now, like sqlbox does. Also more than just mysql is supported now, even though the sql statements need to be changed a bit.

I know this is a big patch. So take your time. But I hope I am moving things forward with this. As for myself, We are already using this patch in a bunch of plugins of our own.

For any questions, please feel free to contact me.

rkluwen commented 7 years ago

I suggest your merge this pull request squashed.