Bug 32556 - ucs_registerUDMHook library function
ucs_registerUDMHook library function
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: UDM
unspecified
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Sönke Schwardt-Krummrich
Arvid Requate
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-11 12:00 CEST by Arvid Requate
Modified: 2013-11-19 06:44 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
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 Arvid Requate univentionstaff 2013-09-11 12:00:38 CEST
A test case should be implemented for this. Probably it's enough here to check that the hook can finally be imported in a python script.



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

A function ucs_registerUDMHook schould be implemented in univention-lib which

* takes the name of an existing UDM hook file
* creates an univentionUDMHook object in UDM
* saves the given file to the UDM property "univentionUDMHook"
* sets the UDM property "univentionUDMHookFilename"
* sets some other attributes useful to track creator package and version number.

* The creator package (.deb) and version number is detected automatically.
* The cn schould reflect <basename of the file>_<version number>.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-10-13 20:39:49 CEST
(In reply to Arvid Requate from comment #0)
> A function ucs_registerUDMHook schould be implemented in univention-lib which
> 
> * takes the name of an existing UDM hook file
> * creates an univentionUDMHook object in UDM
> * saves the given file to the UDM property "univentionUDMHook"
> * sets the UDM property "univentionUDMHookFilename"
> * sets some other attributes useful to track creator package and version
> number.
> * The creator package (.deb) and version number is detected automatically.
→ 72_udm-extensions/07_register_and_verify_all

Several other tests have been implemented in 72_udm-extensions/ to test ucs_registerLDAPExtension with hooks.
Comment 2 Arvid Requate univentionstaff 2013-10-30 19:00:17 CET
Ok, the tests work changelog entry will be provided via Bug 32554 eventually.
Comment 3 Arvid Requate univentionstaff 2013-10-31 12:15:39 CET
Changelog?
Comment 4 Arvid Requate univentionstaff 2013-10-31 12:20:00 CET
Ok, no changelog for the tests.
Comment 5 Stefan Gohmann univentionstaff 2013-11-19 06:44:09 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".