Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Runtime plugins #1861

Merged
merged 34 commits into from
Aug 5, 2021
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
6f7c29c
userprovider json driver via hashicorp go-plugin
jimil749 Jun 26, 2021
e840ee4
update binary location
jimil749 Jun 26, 2021
8db6732
feat: complemented existing userprovider:json plugin to runtime paradigm
jimil749 Jul 2, 2021
4a2aa35
fix: rm compile flag from sharedconf
jimil749 Jul 2, 2021
d984351
fix: added licence and updated a few comments
jimil749 Jul 2, 2021
68f60c1
feat: updated config w actual binary path
jimil749 Jul 5, 2021
07d2e4d
update comments
jimil749 Jul 5, 2021
76f806b
fix comment
jimil749 Jul 5, 2021
5446d2f
fix lint
jimil749 Jul 5, 2021
a84fb75
changelog added
jimil749 Jul 5, 2021
a3fa53e
added plugin source code
jimil749 Jul 5, 2021
26fd59e
updated comments
jimil749 Jul 5, 2021
67300dd
Introduced:
jimil749 Jul 6, 2021
a92ba05
add comments
jimil749 Jul 6, 2021
98cb408
add more comments
jimil749 Jul 6, 2021
11c11cf
fix: populate pluginregistry at init time
jimil749 Jul 7, 2021
3f1234b
resolve merge conflict
jimil749 Jul 7, 2021
d1a590a
feat: compilation of plugin source code
jimil749 Jul 14, 2021
2c08741
fix: updated dirname and path
jimil749 Jul 14, 2021
51eb17e
code refractor and client killing mechanism
jimil749 Jul 16, 2021
cf42dec
update driver path in example
jimil749 Jul 16, 2021
b91bb73
add comment
jimil749 Jul 16, 2021
5b00d17
code refractor
jimil749 Jul 23, 2021
9ed4373
updated compile binary location to /var/tmp/reva
jimil749 Jul 23, 2021
ad41d49
remove plugin flag check
jimil749 Jul 26, 2021
14cea90
delegate the logic to choose b/w registry and plugin to plugin package
jimil749 Jul 26, 2021
32c6430
code refractor
jimil749 Jul 26, 2021
09e2859
update driver config
jimil749 Jul 27, 2021
084d5e1
pass client context in rpc
jimil749 Jul 27, 2021
2990ddf
revert context passing and added support for auth_provider plugin
jimil749 Jul 28, 2021
c8de61b
update with appropriate comments
jimil749 Jul 28, 2021
c06d057
remove extra white space
jimil749 Jul 28, 2021
ab793c3
feat: use appctx methods to pass context via rpcs
jimil749 Aug 3, 2021
c060977
return stderr from exec call as part of the error
jimil749 Aug 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update binary location
Signed-off-by: Jimil Desai <[email protected]>
jimil749 committed Aug 3, 2021
commit e840ee475ad73eba83252da4a3d8380d7eae230d
2 changes: 1 addition & 1 deletion examples/ocmd/ocmd-server-1.toml
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ users = "users.demo.json"

[grpc.services.userprovider]
driver = "json"
location = "/home/jimil/Desktop/golang-sqlite/json"
location = "/home/jimil/Desktop/json"
users = "/home/jimil/Desktop/reva/examples/ocmd/users.demo.json"

[http]
2 changes: 1 addition & 1 deletion examples/ocmd/ocmd-server-2.toml
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ users = "users.demo.json"

[grpc.services.userprovider]
driver = "json"
location = "/home/jimil/Desktop/golang-sqlite/json"
location = "/home/jimil/Desktop/json"
users = "/home/jimil/Desktop/reva/examples/ocmd/users.demo.json"

[http]