Skip to content

PCCP-10340: Add MorpheusPackageService plugin context API#136

Open
MrClement wants to merge 3 commits intov1.4.xfrom
PCCP-10340-package-dataservice
Open

PCCP-10340: Add MorpheusPackageService plugin context API#136
MrClement wants to merge 3 commits intov1.4.xfrom
PCCP-10340-package-dataservice

Conversation

@MrClement
Copy link
Copy Markdown
Contributor

Summary

Adds a plugin-accessible Package service under morpheusContext.async.admin.getPackage() allowing plugins to download and install Morpheus package files (.morpkg) from a URL.

Changes

  • New MorpheusPackageService async interface with downloadAndInstall(url, opts, force) and install(stream, filename, force)
  • New MorpheusSynchronousPackageService sync interface
  • MorpheusAdminService + sync counterpart wired with getPackage()

JIRA

https://support.morpheusdata.com/browse/PCCP-10340

MrClement and others added 3 commits March 4, 2026 16:24
… .morpkg files

- Add MorpheusPackageService async interface with downloadAndInstall(url, force) and install(stream, filename, force)
- Add MorpheusSynchronousPackageService sync interface
- Wire getPackage() into MorpheusAdminService and MorpheusSynchronousAdminService

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…h support

- downloadAndInstall now takes HttpApiClient.RequestOptions (nullable) enabling
  Bearer token, Basic auth, and custom header support for authenticated downloads
- Update both async and sync interfaces

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant