From b71f13ec003a11d132eb61bd69c43076e32064c6 Mon Sep 17 00:00:00 2001 From: Phil Bastian Date: Fri, 29 May 2026 12:36:12 +0800 Subject: [PATCH 1/3] include licensed endpoint details --- .../configuration/PlatformLicense.vue | 59 ++++++++++++++++++- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/src/Frontend/src/components/configuration/PlatformLicense.vue b/src/Frontend/src/components/configuration/PlatformLicense.vue index bdfbf09424..b5155ce9b9 100644 --- a/src/Frontend/src/components/configuration/PlatformLicense.vue +++ b/src/Frontend/src/components/configuration/PlatformLicense.vue @@ -9,6 +9,8 @@ import { useConfigurationStore } from "@/stores/ConfigurationStore"; import { storeToRefs } from "pinia"; import { useLicenseStore } from "@/stores/LicenseStore"; import LoadingSpinner from "../LoadingSpinner.vue"; +import ColumnHeader from "../ColumnHeader.vue"; +import DataView from "../DataView.vue"; const configurationStore = useConfigurationStore(); const { configuration } = storeToRefs(configurationStore); @@ -23,6 +25,7 @@ const { licenseStatus, license } = licenseStore;
+ +

Licensed Endpoints

+
+
+ + +
+ + + +
@@ -117,7 +157,6 @@ const { licenseStatus, license } = licenseStore; From 9bf8843d9f362a699ff6d0bd7b1197e513360b99 Mon Sep 17 00:00:00 2001 From: Phil Bastian Date: Wed, 3 Jun 2026 10:26:58 +0800 Subject: [PATCH 2/3] use actual licensed endpoint data from ServiceControl --- .../configuration/PlatformLicense.vue | 58 +++++++------------ src/Frontend/src/resources/LicenseInfo.ts | 6 ++ src/Frontend/src/stores/LicenseStore.ts | 2 + 3 files changed, 30 insertions(+), 36 deletions(-) diff --git a/src/Frontend/src/components/configuration/PlatformLicense.vue b/src/Frontend/src/components/configuration/PlatformLicense.vue index b5155ce9b9..c6c26aeea0 100644 --- a/src/Frontend/src/components/configuration/PlatformLicense.vue +++ b/src/Frontend/src/components/configuration/PlatformLicense.vue @@ -112,43 +112,29 @@ const { licenseStatus, license } = licenseStore; -

Licensed Endpoints

-
-
- - -
- - diff --git a/src/Frontend/src/resources/LicenseInfo.ts b/src/Frontend/src/resources/LicenseInfo.ts index 726c53963b..afe614a847 100644 --- a/src/Frontend/src/resources/LicenseInfo.ts +++ b/src/Frontend/src/resources/LicenseInfo.ts @@ -1,5 +1,10 @@ import type Configuration from "./Configuration"; +export interface LicensedProduct { + size: string; + quantity: number; +} + export default interface LicenseInfo { registered_to: string; edition: string; @@ -11,6 +16,7 @@ export default interface LicenseInfo { license_status: LicenseStatus; license_extension_url?: string; status: string; + products: LicensedProduct[]; } export function typeText(license: LicenseInfo, configuration: Configuration | null) { diff --git a/src/Frontend/src/stores/LicenseStore.ts b/src/Frontend/src/stores/LicenseStore.ts index ea0cab1ebf..0a784e7064 100644 --- a/src/Frontend/src/stores/LicenseStore.ts +++ b/src/Frontend/src/stores/LicenseStore.ts @@ -18,6 +18,7 @@ export const useLicenseStore = defineStore("LicenseStore", () => { status: "", license_status: LicenseStatus.Unavailable, license_extension_url: "", + products: [], }); const licenseStatus = reactive({ @@ -72,6 +73,7 @@ export const useLicenseStore = defineStore("LicenseStore", () => { license.instance_name = lic.instance_name; license.registered_to = lic.registered_to; license.status = lic.status; + license.products = lic.products; license.license_extension_url = lic.license_extension_url ?? "https://particular.net/extend-your-trial?p=servicepulse"; license.upgrade_protection_expiration = lic.upgrade_protection_expiration; From f3e0ba299f0e947708657118a5a3c293f3c1de9d Mon Sep 17 00:00:00 2001 From: Phil Bastian Date: Thu, 11 Jun 2026 10:47:38 +0800 Subject: [PATCH 3/3] update field name to reflect updated API contract --- src/Frontend/src/components/configuration/PlatformLicense.vue | 4 ++-- src/Frontend/src/resources/LicenseInfo.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Frontend/src/components/configuration/PlatformLicense.vue b/src/Frontend/src/components/configuration/PlatformLicense.vue index c6c26aeea0..6ff30fb838 100644 --- a/src/Frontend/src/components/configuration/PlatformLicense.vue +++ b/src/Frontend/src/components/configuration/PlatformLicense.vue @@ -122,9 +122,9 @@ const { licenseStatus, license } = licenseStore;