Conversation
Updates the plugin core to reflect the changes made to this service interface. It also adds a super-basic AGENTS.md to reduce the tokens used to find a JIRA ticket
There was a problem hiding this comment.
Pull request overview
Updates the plugin API to deprecate cloud-scoped VirtualImage persistence methods in favor of the newer bulk CRUD APIs, and adds lightweight agent guidance for JIRA lookups.
Changes:
- Deprecates
save(List<VirtualImage>, Cloud)andcreate(...)overloads onMorpheusVirtualImageServicein favor ofbulkSave(List)/bulkCreate(List)/ model-scopedcreate(...). - Adds
AGENTS.mdwith a minimal JIRA configuration note to aid automated ticket lookups.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| morpheus-plugin-api/src/main/java/com/morpheusdata/core/MorpheusVirtualImageService.java | Marks cloud-parameter CRUD overloads as deprecated and points callers toward bulk/model-scoped APIs. |
| AGENTS.md | Adds minimal JIRA lookup configuration for agents. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| * @param virtualImage new VirtualImage to persist | ||
| * @param cloud the Cloud instance | ||
| * @return the VirtualImage | ||
| * @deprecated use {@link #create(com.morpheusdata.model.MorpheusModel)} instead |
There was a problem hiding this comment.
The Javadoc @deprecated link points to #create(com.morpheusdata.model.MorpheusModel), but this interface (and its parent MorpheusDataService) expose create(M item) which resolves here as create(VirtualImage). As written, the link likely won’t resolve in Javadoc generation. Update the link to reference the correct overload (e.g., #create(VirtualImage) / the inherited create(VirtualImage) method).
| * @deprecated use {@link #create(com.morpheusdata.model.MorpheusModel)} instead | |
| * @deprecated use {@link #create(VirtualImage)} instead |
Updates the plugin core to reflect the changes made to this service interface. It also adds a super-basic AGENTS.md to reduce the tokens used to find a JIRA ticket