Werk #14821: Custom extensions might need adjustment due refactorings in GUI code (Transform)

Komponente Setup
Titel Custom extensions might need adjustment due refactorings in GUI code (<tt>Transform</tt>)
Datum 06.09.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

This werk only affects users of non-tribe29 custom extensions (single files and MKPs from non- tribe29 sources such as the Checkmk exchange).

Before this werk, the Checkmk codebase offered the ValueSpec subclass Transform, which was used for two things:

  • Changing the format in which configured values are stored (back and forth

specified).

  • Updating legacy configurations to the current format (forth only specified).

As of this werk, the Transform class can only be used for the first point above (changing the storage format). It now expects two mandatory arguments into_vs (previously forth) and out_of_vs (previously back).

For updating legacy configurations, use the new Migrate class, which requires a mandatory migrate argument. This is the equivalent of specifying forth only in the old Transform class.

Zur Liste aller Werks