Jörn Friedrich Dreyer
823832ff8f
add more tests
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-19 11:19:09 +02:00
Jörn Friedrich Dreyer
00afda3c04
test middleware
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-18 21:40:06 +02:00
Jörn Friedrich Dreyer
4a436a4171
parrallel test execution seems to make the coverage miscount
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-18 19:08:14 +02:00
Jörn Friedrich Dreyer
399230d3de
no confusing names
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-18 19:07:31 +02:00
Jörn Friedrich Dreyer
f69e0703a4
make codacy ignore **_test.go files
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-18 18:46:31 +02:00
Jörn Friedrich Dreyer
e7a3ed3fa3
make tests use mock from ocis-accounts
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-18 18:33:16 +02:00
Jörn Friedrich Dreyer
aa8ae58dd9
Merge pull request #37 from butonic/mock-and-deps
...
add mock account service
2020-06-18 18:31:28 +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
b65e0636aa
update debendencies
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-18 18:18:11 +02:00
Jörn Friedrich Dreyer
2cb3870104
some refactoring and testing love
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-18 17:58:06 +02:00
Artur Neumann
284a9996df
Merge pull request #324 from owncloud/skipOnOcis-OC-Storage
...
[tests-only] skip tests that are tagged @skipOnOcis-OC-Storage
2020-06-18 20:03:28 +05:45
Artur Neumann
d46960283e
Merge pull request #287 from owncloud/skipOnOcis-OC-Storage
...
[tests-only] skip tests that are tagged @skipOnOcis-OC-Storage
2020-06-18 20:03:10 +05:45
Jörn Friedrich Dreyer
3ca3bd4747
Merge pull request #36 from butonic/return-error
...
allow handler to return an error
2020-06-18 16:03:04 +02:00
Jörn Friedrich Dreyer
9c1fb51906
properly parse filter, update deps
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-18 16:02:31 +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
Artur Neumann
8f75863efb
skip tests that are tagged @skipOnOcis-OC-Storage
2020-06-18 16:45:26 +05:45
Artur Neumann
ea982deb24
skip tests that are tagged @skipOnOcis-OC-Storage
2020-06-18 16:35:26 +05:45
Jörn Friedrich Dreyer
6246fbf685
update dependencies
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-17 17:27:17 +02:00
Jörn Friedrich Dreyer
09ecfd08ee
cache account
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-17 17:26:33 +02:00
Jörn Friedrich Dreyer
0d71588498
directly talk to accounts
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-17 17:25:32 +02:00
Jörn Friedrich Dreyer
02e759f95e
Merge pull request #35 from butonic/handle-terms-as-keywords
...
handle terms as keywords, remove quotes
2020-06-17 17:23:11 +02:00
Jörn Friedrich Dreyer
a828b8242b
handle terms as keywords, remove quotes
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-17 17:02:48 +02:00
Jörn Friedrich Dreyer
5441647249
Automated changelog update [skip ci]
2020-06-17 13:38:12 +00:00
Jörn Friedrich Dreyer
d0bf391630
Merge pull request #34 from butonic/store-accounts
...
persist accounts
2020-06-17 15:31:19 +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
f3a1d26d2d
fix staticcheck
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-17 15:04:03 +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
ac2694251b
update to new accounts api
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-16 18:17:32 +02:00
Alex Unger
f135c55acc
Merge pull request #317 from owncloud/readme-redis-docker
...
Update README with redis docker
2020-06-16 13:12:34 +02:00
Vincent Petry
65c2618628
Update README with redis docker
...
Added redis docker for an even quicker quick start.
2020-06-16 09:13:52 +02:00
Phil Davis
85939e7ebb
Merge pull request #316 from owncloud/ldapIssue
...
[Tests-Only] Use openldap:1.3.0
2020-06-16 11:58:03 +05:45
Phil Davis
9367d2a47d
Merge pull request #271 from owncloud/ldapIssue
...
[Tests-Only] Use openldap:1.3.0
2020-06-16 11:22:49 +05:45
jasson99
e711c865df
[Tests-Only] Use openldap:1.3.0
2020-06-16 10:56:56 +05:45
jasson99
dbe9cbf318
[Tests-Only] Use openldap:1.3.0
2020-06-16 10:51:36 +05:45
Artur Neumann
18b6abf36c
Merge pull request #314 from owncloud/tests-from-branch-commit
...
[Tests-Only] Run API and UI tests from specified branch-commits
2020-06-16 09:11:27 +05:45
Jörn Friedrich Dreyer
c2668daae8
persist accounts using json, index using bleve
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-15 16:04:35 +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
810d2b6b34
parse odata query and build ldap filter
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-06-15 16:02:55 +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
Phil Davis
a849f1790b
Run API and UI tests from specified branch-commits
2020-06-15 19:41:41 +05:45
Phil Davis
e26d2feae3
Merge pull request #315 from owncloud/use-nodejs-11-for-phoenixWebUIAcceptanceTests
...
[Tests-Only] Use owncloudci/nodejs:11 for phoenixWebUIAcceptanceTests
2020-06-15 19:34:39 +05:45
Phil Davis
dd80ef62c9
Use owncloudci/nodejs:11 for phoenixWebUIAcceptanceTests
2020-06-15 18:23:28 +05:45
Phil Davis
b443db2cf3
Merge pull request #267 from owncloud/apiTests-from-branch-commit
...
[Tests-Only] Fetch API testrunner from specific branch and commit
2020-06-15 17:32:51 +05:45
Phil Davis
557015de68
Only checkout a commit if it is specified
2020-06-15 17:18:08 +05:45
Phil Davis
0f7cc3bf25
Adjust indent in .drone.star
2020-06-15 16:59:51 +05:45
Phil Davis
bc787c521d
Fetch API testrunner from specific branch and commit
2020-06-15 16:59:51 +05:45
Dipak Acharya
50fda78481
Merge pull request #266 from owncloud/remove-ui-tests
...
[Tests-Only] Remove UI tests from drone CI
2020-06-15 16:59:12 +05:45