Replies: 1 comment 2 replies
-
hi @iferencik , thx for good comments! I think some of them relate to my current rewrite of the configuration system (see #415 and a discussion #329 and possibly others). I don't think a web UI is in my personal roadmap, but PRs are obviously welcome. That said - I think it might make sense to stabilize the new feature set like multi-backend support and many other feature requests before implementing something more complex. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there,
I'd like to use this space to bring up some thoughts/aspects related to using martin in a production environment.
First of all, martin is already pretty good at this. However after attempting to use in my team (senior , intermediary and beginners) we realized we could really use a little bit of help with following:
Ideally martin would have an admin web interface where the users could log in (openID, etc) and configure the server (connect to DB and generate a config file). This would allow our interns to manage the service.
We made some small steps in this direction. I created a small python command line tool martin-config which is now publicly available here.
The tool leverages asyncpg and relies on interpreting information written into table/column comments to control what tables/layers are going to be included in the config file. While this is a good approach for deciding on columns, it probably is better in the long term to use postgres user rights (GRANT) privileges to decide in case of tables and functions.
I want to know your opinions/thoughts on implementing 4 and 5 in martin as I do not have rust know-how/experience.
Add a pub property description to FunctionSource struct which will be set in the config file or read from the COMMENT from the DB
add info about the arguments:
By convention the arguments with a default value are optional
No 5 will break some of existing code/concepts because, while it is easy to add this to the config file it is not possible (at least to my knowledge) to store/add this info to the function itself in the database, so it will not be possible to get a full FunctionSource object by running a query against the DB.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions