Bug 54061 - Make execution order of listener modules definable
Make execution order of listener modules definable
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.4
Other Linux
: P5 enhancement (vote)
: UCS 4.4-8-errata
Assigned To: Philipp Hahn
Dirk Wiesenthal
:
Depends on:
Blocks: 54504
  Show dependency treegraph
 
Reported: 2021-11-15 13:05 CET by Philipp Hahn
Modified: 2022-03-03 17:43 CET (History)
5 users (show)

See Also:
What kind of report is it?: Feature Request
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 Philipp Hahn univentionstaff 2021-11-15 13:05:22 CET
Backport to 4.4-8

+++ This bug was initially created as a clone of Bug #26089 +++
Comment 1 Philipp Hahn univentionstaff 2021-11-15 13:10:27 CET
Package: univention-directory-listener
Version: 13.0.3-4A~4.4.0.202111151308
Branch: ucs_4.4-0
Scope: errata4.4-8

[4.4-8] f3e4b3a724 Bug #26089: univention-directory-listener 13.0.3-4A~4.4.0.202111151308
 doc/errata/staging/univention-directory-listener.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

[4.4-8] 2e1533d1f2 refactor[UDL] Remove unused HANDLER_PREPARED
 management/univention-directory-listener/src/handlers.h | 1 -
 1 file changed, 1 deletion(-)

[4.4-8] 673c53c14d doc[UDL] Document priority
 doc/developer-reference/listener/listener.xml         | 10 ++++++++++
 doc/errata/staging/univention-directory-listener.yaml |  8 ++++----
 2 files changed, 14 insertions(+), 4 deletions(-)

[4.4-8] 4ca0faac95 doc[UDL] Add priority
 doc/errata/staging/univention-directory-listener.yaml     | 11 +++++++++++
 management/univention-directory-listener/debian/changelog |  6 ++++++
 2 files changed, 17 insertions(+)

[4.4-8] 6ddb43145e feat[UDL] Add priority
 management/univention-directory-listener/src/handlers.c         | 58 +++++++++++----------------
 management/univention-directory-listener/src/handlers.h         |  5 +++
 .../tests/test__handlers__insert_handler.c                      | 62 +++++++++++++++++++++++++++++
 3 files changed, 90 insertions(+), 35 deletions(-)
Comment 2 Philipp Hahn univentionstaff 2021-11-18 12:16:10 CET
Package: univention-directory-listener
Version: 13.0.3-5A~4.4.0.202111181213
Branch: ucs_4.4-0
Scope: errata4.4-8

[4.4-8] a449921bf5 Bug #26089: univention-directory-listener 13.0.3-5A~4.4.0.202111181213
 doc/errata/staging/univention-directory-listener.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[4.4-8] e7d69cf660 style[udl] Simplify dict and set ahndling
 management/univention-directory-listener/python/univention/listener/api_adapter.py        | 2 +-
 management/univention-directory-listener/python/univention/listener/handler.py            | 4 ++--
 .../univention-directory-listener/python/univention/listener/handler_configuration.py     | 2 +-
 management/univention-directory-listener/python/univention/listener/handler_logging.py    | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

[4.4-8] cbaf5ce25f feat[udl] Add priority to listener API
 doc/errata/staging/univention-directory-listener.yaml                                | 2 +-
 management/univention-directory-listener/debian/changelog                            | 6 ++++++
 management/univention-directory-listener/python/univention/listener/api_adapter.py   | 4 +++-
 .../python/univention/listener/handler_configuration.py                              | 9 +++++++++
 4 files changed, 19 insertions(+), 2 deletions(-)

[4.4-8] 07279f0c22 style[udl] Shellcheck
 .../univention-directory-listener/03univention-directory-listener.inst     | 18 +++++++++++-------
 .../etc/network/if-post-down.d/univention-directory-listener               |  1 +
 management/univention-directory-listener/src/listener-ctrl                 | 16 ++++++++--------
 3 files changed, 20 insertions(+), 15 deletions(-)

[4.4-8] 10ad664559 test[udl] Shellcheck
 .../univention-directory-listener/debian/tests/add-source.sh    |   6 +-
 management/univention-directory-listener/debian/tests/lxc-ucs   | 147 ++++++++++++----------------
 management/univention-directory-listener/doc.34355/common.sh    |  18 ++--
 .../doc.34355/test01_create_regular                             |   1 +
 .../doc.34355/test02_create_filtered                            |   1 +
 .../doc.34355/test03_modify_regular                             |   1 +
 .../doc.34355/test04_modify_filtered                            |   1 +
 .../doc.34355/test05_rename_regular                             |   1 +
 .../doc.34355/test06_rename_filtered                            |   1 +
 .../doc.34355/test07_rename_oldrdn                              |   1 +
 ...
 34 files changed, 114 insertions(+), 98 deletions(-)

[4.4-8] 61967cff3e test[udl] Fix PEP 484 type errors
 management/univention-directory-listener/debian/control         |   1 +
 .../univention-directory-listener/listener/ldap_server.py       |   7 +-
 management/univention-directory-listener/python/listener.py     |   1 +
 management/univention-directory-listener/python/listener.pyi    |  45 -----------
 .../python/univention/listener/__init__.py                      |   1 +
 .../python/univention/listener/api_adapter.py                   |  24 +++++-
 .../python/univention/listener/api_adapter.pyi                  |  65 ----------------
 .../python/univention/listener/handler.py                       |  41 ++++++++--
 .../python/univention/listener/handler.pyi                      | 114 ----------------------------
 .../python/univention/listener/handler_configuration.py         |  29 +++++--
 ...
 17 files changed, 134 insertions(+), 432 deletions(-)

[4.4-8] b4285ba3b9 style[udl] Simplify sys.modules[__name__].__doc__
 management/univention-directory-listener/tools/get_notifier_id.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

[4.4-8] dbd109abb7 style[udl] isort
 management/univention-directory-listener/listener/ldap_server.py           |  4 ++--
 management/univention-directory-listener/tools/get_notifier_id.py          |  8 +++++---
 management/univention-directory-listener/tools/resync-objects.py           | 11 +++++++----
 .../univention-directory-listener/tools/univention-get-ldif-from-master.py | 18 ++++++++++--------
 4 files changed, 24 insertions(+), 17 deletions(-)
:
Comment 3 Philipp Hahn univentionstaff 2021-11-18 15:20:46 CET
Package: univention-directory-listener
Version: 13.0.3-5A~4.4.0.202111181516
Branch: ucs_4.4-0
Scope: errata4.4-8

[4.4-8] 7e4966056c Bug #26089: univention-directory-listener 13.0.3-5A~4.4.0.202111181516
 doc/errata/staging/univention-directory-listener.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[4.4-8] 93c77370a5 style[udl] Simplify dict and set ahndling
 management/univention-directory-listener/python/univention/listener/api_adapter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Dirk Wiesenthal univentionstaff 2021-11-18 15:41:53 CET
Manual tests with the group cache: OK
Code review: OK
YAML: OK