From 3545ed7f9048f46f51889f06b84da33265c81406 Mon Sep 17 00:00:00 2001 From: Kriti Jain Date: Fri, 2 Aug 2024 11:22:12 -0500 Subject: [PATCH] MODFQMMGR-391: adding end point to mod descriptor --- descriptors/ModuleDescriptor-template.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/descriptors/ModuleDescriptor-template.json b/descriptors/ModuleDescriptor-template.json index 772e3107..27d43c5e 100644 --- a/descriptors/ModuleDescriptor-template.json +++ b/descriptors/ModuleDescriptor-template.json @@ -70,6 +70,12 @@ "permissionsRequired": ["fqm.query.async.results.get"], "modulePermissions": ["perms.users.get"] }, + { + "methods": ["GET"], + "pathPattern": "/fqm/version", + "permissionsRequired": ["fqm.version.get"], + "modulePermissions": ["perms.users.get"] + }, { "methods": ["POST"], "pathPattern": "/query/contents", @@ -170,6 +176,12 @@ "description": "Run a query synchronously and get results", "visible": true }, + { + "permissionName": "fqm.version.get", + "displayName": "FQM - Get version of fqm", + "description": "Get the version of fqm", + "visible": true + }, { "permissionName": "fqm.materializedViews.post", "displayName": "FQM - Refresh materialized views", @@ -191,7 +203,8 @@ "fqm.query.async.post", "fqm.query.async.results.get", "fqm.query.async.delete", - "fqm.query.sync.get" + "fqm.query.sync.get", + "fqm.version.get" ], "visible": true }