Commit Graph
44 Commits
Author SHA1 Message Date
Benedikt Kulmann 23bfd33b55 Fix tests 2020-08-28 16:38:11 +02:00
Ilja NeumannandIlja Neumann 73c8b11f3d Use dependency-injected grpc client 2020-08-26 20:19:14 +02:00
Parajuli Kiran 2cf9639e68 Tagged test example with the mail validation issue 2020-08-03 13:45:26 +05:45
Parajuli Kiran 56583430ed Added account update unit test 2020-08-03 12:30:10 +05:45
Jörn Friedrich DreyerandIlja Neumann 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
Jörn Friedrich Dreyer 65e3df2b1e tighten the screws
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-23 12:52:41 +02:00
Jörn Friedrich Dreyer de01b8773b update TestCreateAccountInvalidUserName
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-23 11:38:43 +02:00
Dipak Acharya 3152c52845 [Tests-Only] Add gRPC tests for user and group related actions 2020-07-21 09:06:49 +05:45
Jörn Friedrich Dreyer 523f704034 document bleve type
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer b4f1a908a9 index with type
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer eb140be50f update generated files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer ebaf39f0af address review
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 0d4e6a4a16 initial group api implementation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Benedikt Kulmann a8922f62c2 Change accounts service requests to POST
Microweb only supports POST requests. So as long as we're using that, we
need to have everything as POST.
2020-07-01 11:05:33 +02:00
Benedikt Kulmann 352b633e84 Show very basic account list
This is the first step. Only shows name and email so far (because we
don't have more data). Was necessary to change the request type of the
list request to POST because it is not supported by microweb to have GET
requests.
2020-07-01 11:05:33 +02:00
Benedikt Kulmann 435104b5ff Add code generation for swagger and protoweb
Some of the Protobuf Messages were missing fields:
- RemoveMemberRequest was missing the `account_id` field for the account/member id
- ListMembersRequest was missing the `id` field for the group id

Some of the endpoint annotations were not correct regarding declared
bodies and the ids listed above.
2020-07-01 11:05:31 +02:00
Jörn Friedrich Dreyer 74a62bb3bf add mock implementation of the accounts service
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:26:09 +02:00
Jörn Friedrich Dreyer 0f938a8b10 drop redundant id for create requests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 15:15:18 +02:00
Jörn Friedrich Dreyer a27ca2fe5c implement create and delete api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-16 18:57:50 +02:00
Jörn Friedrich Dreyer e78c4395de Use reasonable set of properties
ocis-graph will be responsible for building graph api resources like
user and groups as well as their relationships. ocis accounts deals
users and groups with all properties necessary to provision user
accounts.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:04:23 +02:00
Jörn Friedrich Dreyer 368d744b7c add filed mask
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:03:25 +02:00
Jörn Friedrich Dreyer 5ae2ef9b80 add graph api properties
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:03:12 +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
Jörn Friedrich Dreyer 16c5d13e10 Update accounts API
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:02:28 +02:00
A.Unger ce9c74eb01 regenerate proto files 2020-05-11 10:01:19 +02:00
A.Unger a656e67d8c fix merge conflicts 2020-05-11 09:59:23 +02:00
Jörn Friedrich Dreyer 422ceb9080 disable checking deprecated packages in generated code
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 19:07:23 +02:00
Jörn Friedrich Dreyer 3b6951cc80 add query properties, add pb deps, fix pb target
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 18:08:21 +02:00
A.Unger 0dd2ceef78 add uuid (key) as part of the accounts payload 2020-04-22 19:29:13 +02:00
A.Unger ed8a8af28b added identities history field 2020-02-13 15:09:49 +01:00
A.Unger 8f43899476 upgrade go_micro protoc plugin to v2; as well as ocis-pkg/v2 2020-02-12 13:16:31 +01:00
A.Unger b2b2dc5c0f run protoc on address 2020-02-12 12:09:37 +01:00
A.Unger 632dbe4158 added address claims 2020-02-12 12:09:30 +01:00
A.Unger 6d534a8f2a check protoc compilation 2020-02-12 10:41:32 +01:00
A.Unger 0817cd92e4 wrong bool field 2020-02-12 10:40:34 +01:00
A.Unger ee15a5a047 added standard claims to proto 2020-02-12 10:39:10 +01:00
A.Unger be26b67a0c list keys working as expected, datastructure not pretty 2020-02-03 14:16:30 +01:00
A.Unger 6b4c3f2098 working prototype 2020-01-31 14:35:50 +01:00
A.Unger 673c2c0ebd path management and protobuf redesign 2020-01-31 11:05:47 +01:00
A.Unger 01be15e8fc move code around 2020-01-31 10:37:23 +01:00
A.Unger 16401c1ffb splish-splash 2020-01-31 10:36:58 +01:00
A.Unger b99eff460f store json on mountPath 2020-01-31 10:34:01 +01:00
A.Unger 34191e887c redesign api 2020-01-30 16:08:04 +01:00
A.Unger 500e303cb5 first commit 2020-01-30 15:55:40 +01:00