Bug 50048 - [UDM HTTP API]: Implement basic test cases
[UDM HTTP API]: Implement basic test cases
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: UDM
unspecified
Other Linux
: P3 enhancement (vote)
: ---
Assigned To: Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-08-24 00:44 CEST by Florian Best
Modified: 2022-06-23 12:23 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2019-08-24 00:44:20 CEST
The UDM REST API should be tested every night in our Jenkins Tests.

We need some general tests:
* Authentication at the API and ACL handling
* Create, Modify, Move and Removing of users
* Important type checks (e.g. DN of the target container when moving)
* etc

With this first implementation of tests one can't and won't get a complete test coverage.

Additionally, we could add a new Jenkins Matrix Job, and replace the use of the regular UDM-CLI with the BETA-REST-UDM-CLI.

+++ This bug was initially created as a clone of Bug #27816 +++

Die UMC sollte ihre Funktionen über eine REST-API bereitstellen.
Comment 1 Felix Botner univentionstaff 2019-09-05 09:53:41 CEST
73_udm-rest.00_general_tests fails on MultiEnv: AD Member tests
Comment 2 Florian Best univentionstaff 2022-06-23 12:23:06 CEST
ucs-test (9.0.4-66)
3a7514418ccd | Bug #50048: fix 73_udm-rest/01_openapi_validation
640dade5652d | Bug #50048: fix udm-test-rest binddn argument
240550aafc3c | Bug #50048: try to fix test case in AD member mode
bc706f654280 | Bug #50048: fix test in AD member mode
60d3fd60a4f5 | Bug #50048: add 73_udm-rest/01_openapi_validation
21080aa16b33 | Bug #50048: add 73_udm-rest/00_general_tests.py
c1d3e3d685c8 | Bug #50048: Add 73_udm-rest section
0bfc00683140 | Bug #50048: install udm-test-rest
eb0a1a7f4bb8 | Bug #50048: add udm-test-rest