diff --git a/README.md b/README.md index a8de8afc76cb8313bce0d59d291f031e82969391..61347c036b0679d244d9b53eaa429a01dc3dc290 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[PACKAGE]: ../../raw/master/inv_checkpoint_updates-0.4.0-20230706.mkp "Download latest version inv_checkpoint_updates-0.4.0-20230706.mkp" # Inventory of Check Point Hardware Appliances Adds available/installed/recommended updates to the inventory diff --git a/gui/views/inv_checkpoint_updates.py b/gui/views/inv_checkpoint_updates.py index 98adca47d43946cd1d27c99e24f70c51f47fd3c6..f6ec92cccfe749faa194ce32b558364c25f9c33a 100644 --- a/gui/views/inv_checkpoint_updates.py +++ b/gui/views/inv_checkpoint_updates.py @@ -8,12 +8,10 @@ # Date : 2016-06-29 # 2023-04-23: moved views file to ~/local/lib/check_mk/gui/plugins/views +# 2023-07-06: changed imports for cmk 2.2.x from cmk.gui.i18n import _ -from cmk.gui.plugins.views.inventory import declare_invtable_view -from cmk.gui.plugins.views.utils import ( - inventory_displayhints, -) +from cmk.gui.views.inventory.registry import inventory_displayhints inventory_displayhints.update({ '.software.check_point.updates:': { @@ -30,10 +28,3 @@ inventory_displayhints.update({ 'view': 'invcheckpointupdates_of_host', }, }) - -declare_invtable_view( - 'invcheckpointupdates', - '.software.check_point.updates:', - _('Check Point updates'), - _('Check Point updates'), -) diff --git a/inv_checkpoint_updates-0.4.0-20230706.mkp b/inv_checkpoint_updates-0.4.0-20230706.mkp new file mode 100644 index 0000000000000000000000000000000000000000..34f344c2183044f4169ec66b42376046159fe578 Binary files /dev/null and b/inv_checkpoint_updates-0.4.0-20230706.mkp differ diff --git a/packages/inv_checkpoint_updates b/packages/inv_checkpoint_updates index 16c08cbc1e00d2852ca28c38e4700edd0bd326ad..237a5df5c3b4fcc2568a01e1739d3c8b5de84d50 100644 --- a/packages/inv_checkpoint_updates +++ b/packages/inv_checkpoint_updates @@ -8,7 +8,7 @@ 'gui': ['views/inv_checkpoint_updates.py']}, 'name': 'inv_checkpoint_updates', 'title': 'Check Point appliance avilable updates inventory plugin', - 'version': '0.3.0-20230614', + 'version': '0.4.0-20230706', 'version.min_required': '2.2.0b1', - 'version.packaged': '2.2.0p2', + 'version.packaged': '2.2.0p4', 'version.usable_until': None}