[pipedv1] Support plugin metadata in application data model and protobuf schema
Parent Epic / Context
This issue is a sub-task derived from Epic #5252 (Make PipeCD control plane support plugin-arched piped) and Epic #5259.
What would you like to be added?
Update the application data model and Protobuf definitions in pkg/model to accommodate pipedv1 plugin metadata (plugins and deployTargets) while preserving backward-compatibility for legacy pipedv0 fields (platform_provider).
Why is this needed?
To allow the PipeCD Control Plane to handle both pipedv0 and pipedv1 agents simultaneously during the migration phase, the underlying application data structures must support plugin metadata without requiring legacy platform provider fields.
Proposed Solution & Implementation Plan
- Protobuf & Schema Updates: Update application
.protofiles inpkg/modelto includepluginsanddeployTargets. - Validation Logic: Update validation rules in
pkg/model/application.goso thatpipedv1plugin-based application configurations pass validation without requiringplatform_provider. - Unit Tests: Add unit tests under
pkg/modelverifying marshaling, unmarshaling, and validation for bothpipedv0andpipedv1application entities.
Acceptance Criteria
- [ ] Protobuf definitions generate cleanly via project codegen tools.
- [ ]
pipedv1application configs pass validation without requiringplatform_provider. - [ ] Existing
pipedv0unit tests pass without regression.
hey i would love to work on this issue please assign it to me. @rahulshendre @Ayushmore1214
@vanshika2720 Hey I am already working on this you can look for another sub issue from the parent issue bcz that one labelled as Epic
@rahulshendre @mohammedfirdouss thoughts on this one ?
Hey @Ayushmore1214 , I noticed that its been a couple of months since the last update on this PR. I'd like to work on this could you assign this to me ?