Commit Graph

37 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
694fe677aa Add cli-subbcomands to mange users
ocis-accounts [list|delete|update|add|inspect]

Implements UpdateMask for the update request. Changed server-handler accordingly.
The commands use service-discovery to discover the backend.
2020-07-27 18:43:59 +02:00
Benedikt Kulmann
3f04adf4ff Set up http server
- set up http server for a) handling the service requests and b)
serving the static assets for the ocis-web extension
- align the server command with other ocis-extensions, including config
variable naming
2020-07-01 11:05:32 +02:00
Benedikt Kulmann
a48334eaad Align root command with other ocis-extensions 2020-07-01 11:05:32 +02:00
David Christofas
630e2120e5 pass around the correct logger to the services
Also did some minor refactoring to make the code similar to the other
services.

Implements one task of owncloud/product#86

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-06-23 17:29:28 +02:00
Jörn Friedrich Dreyer
0cdeeb7f03 allow handler to return an error
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 14:08:41 +02:00
Jörn Friedrich Dreyer
2fd05e2b6f rewrite API, talk to ldap
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:02:44 +02:00
A.Unger
3bee0594b0 Merge branch 'master' into feature/settings 2020-05-04 14:00:55 +02:00
Ilja Neumann
b7fb179dec Make logging configurable 2020-04-29 14:10:33 +02:00
Alex Unger
720afed01e Merge branch 'master' into feature/settings 2020-04-23 09:25:15 +02:00
A.Unger
4507e17436 update branch 2020-04-22 19:30:50 +02:00
Benedikt Kulmann
8ce94c2f4a Use changed grpc service address 2020-04-22 15:51:24 +02:00
Ilja Neumann
2471de39f3 Extract server flags to flagset pkg 2020-04-22 15:49:40 +02:00
A.Unger
86c52618ea POC: extensions promoting their own setting bundles onto the settings service 2020-04-17 13:42:13 +02:00
A.Unger
31f1f85fe9 Merge branch 'master' into feature/load-config-from-env-files 2020-04-16 09:32:27 +02:00
A.Unger
23ce3445c0 load env variables from .env file on root Before hook 2020-04-15 11:34:24 +02:00
A.Unger
a957a50e68 update import path 2020-04-14 19:37:57 +02:00
Benedikt Kulmann
f44b9fa391 Fix version import 2020-04-09 06:48:59 +02:00
A.Unger
58ed4a881a fix references 2020-03-18 14:29:47 +01:00
A.Unger
274fa6693a update env variables to match those of Viper 2020-03-18 14:22:15 +01:00
A.Unger
5c91e7de68 use ACCOUNTS as prefix instead of OCIS_ACCOUNTS 2020-03-18 14:17:58 +01:00
A.Unger
d5b2dfc3ac leftover phoenix 2020-03-18 14:15:11 +01:00
A.Unger
d5fb7dd1ea use ocis-pkg/v2 2020-03-18 13:57:30 +01:00
A.Unger
ef2e3dc962 parse configuration on before hook on server command 2020-03-18 13:11:17 +01:00
A.Unger
df05ea082a move viper config parsing to its scope 2020-03-18 13:11:04 +01:00
A.Unger
d858fb3c77 better better logging 2020-02-12 14:11:25 +01:00
A.Unger
ba8e60a714 propper logging 2020-02-12 13:30:20 +01:00
A.Unger
b17b659c80 reserve port range 2020-02-07 14:08:11 +01:00
A.Unger
1716beaa62 server command verbose 2020-02-07 09:54:43 +01:00
A.Unger
af4148923e use flags to configure the server 2020-02-04 12:42:20 +01:00
A.Unger
50336301c4 use flags to configure the server 2020-02-04 12:42:16 +01:00
A.Unger
582170605f added options to grpc init 2020-02-04 12:37:23 +01:00
A.Unger
79aaba63fc added flags to server command 2020-02-04 11:54:45 +01:00
A.Unger
2ff87de71f toss config struct around 2020-02-04 10:16:12 +01:00
A.Unger
7431297a1c use micro cli v2 2020-02-04 10:09:38 +01:00
A.Unger
35d9deb38a custom interface; strategy pattern; service configuration; refactor 2020-02-03 22:54:33 +01:00
A.Unger
b574230285 move store initialization to root and run only once 2020-01-31 16:27:13 +01:00
A.Unger
500e303cb5 first commit 2020-01-30 15:55:40 +01:00