Skip to content

MORPH-7517: Add ApplianceLicense plugin DataService#134

Open
MrClement wants to merge 5 commits intov1.4.xfrom
MORPH-7517-appliance-license-dataservice
Open

MORPH-7517: Add ApplianceLicense plugin DataService#134
MrClement wants to merge 5 commits intov1.4.xfrom
MORPH-7517-appliance-license-dataservice

Conversation

@MrClement
Copy link
Copy Markdown
Contributor

MORPH-7517 — Add plugin data service for querying and applying an appliance license

Implements plugin-accessible ApplianceLicense DataService exposing the same license information available via the REST API.

Changes

  • New: ApplianceLicenseInfo, ApplianceLicenseData, ApplianceLicenseUsage, ApplianceLicenseLimit model POJOs in com.morpheusdata.model.license
  • New: MorpheusApplianceLicenseService (async) + MorpheusSynchronousApplianceLicenseService (sync) interfaces with getLicense(), applyLicense(String, boolean), removeLicense(String)
  • Modified: MorpheusAdminService and MorpheusSynchronousAdminService — added getLicense()
  • New: ApplianceLicenseSpec.groovy — 5 Spock tests

Notes

  • Model POJOs are plain DTOs — do NOT extend MorpheusModel
  • features is Map<String,Boolean>; zone/task types are List<String>
  • Deprecated fields: ApplianceLicenseData.maxMvm (use maxMvmSockets), ApplianceLicenseUsage.mvm (use mvmSockets)
  • Pairs with morpheus-ui PR for the impl service

MrClement and others added 3 commits March 3, 2026 16:55
- Add ApplianceLicenseInfo, ApplianceLicenseData, ApplianceLicenseUsage, ApplianceLicenseLimit POJOs in com.morpheusdata.model.license
- Add MorpheusApplianceLicenseService (async) and MorpheusSynchronousApplianceLicenseService (sync) interfaces
- Wire getLicense() into MorpheusAdminService and MorpheusSynchronousAdminService
- Add ApplianceLicenseSpec Spock tests (5 passing)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…re into MORPH-7517-appliance-license-dataservice
MrClement and others added 2 commits March 10, 2026 14:32
- hypervisorSocketCount
- publicVirtualMachineCount
- publicVirtualMachineSocketCount
- mvmVirtualMachines

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…:HewlettPackard/morpheus-plugin-core into MORPH-7517-appliance-license-dataservice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants