Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Add support for deploying Forms #332

Closed
jwulf opened this issue Aug 15, 2023 · 6 comments · Fixed by #338
Closed

Add support for deploying Forms #332

jwulf opened this issue Aug 15, 2023 · 6 comments · Fixed by #338
Assignees
Labels
enhancement New feature or request needed-downstream A project that depends on the client is blocked by this
Milestone

Comments

@jwulf
Copy link
Member

jwulf commented Aug 15, 2023

This relates to an epic to allow Form deployment and binding.

The Zeebe epic is here: [EPIC] Deploy Forms to Zeebe.

The Zeebe gRPC API will allow a form to be deployed via DeployResources.

The relevant gRPC API change is proposed as:

message DeployResourceResponse {
 // the unique key identifying the deployment
 int64 key = 1;
 // a list of deployed resources, e.g. forms or processes
 repeated Deployment deployments = 2;
}

message Deployment {
 // each deployment has only one metadata
 oneof Metadata {
   // metadata of a deployed process
   ProcessMetadata process = 1;
   // metadata of a deployed decision
   DecisionMetadata decision = 2;
   // metadata of a deployed decision requirements
   DecisionRequirementsMetadata decisionRequirements = 3;
   // metadata of a deployed form
   FormMetadata form = 4;
 }

message FormMetadata {
 // the form ID, as parsed during deployment; together with the
 // versions forms a unique identifier for a specific form
 string formId = 1;
 // the assigned form version
 int32 version = 2;
 // the assigned key, which acts as a unique identifier for this form
 int64 formKey = 3;
 // the resource name
 string resourceName = 4;
}
@jwulf jwulf self-assigned this Aug 15, 2023
@jwulf
Copy link
Member Author

jwulf commented Aug 15, 2023

At this point, I can't find a branch with the new gRPC API - it looks like it's still too early.

@jwulf jwulf added enhancement New feature or request needed-downstream A project that depends on the client is blocked by this labels Aug 15, 2023
@jwulf jwulf added this to the 8.3.0 milestone Oct 20, 2023
@jwulf
Copy link
Member Author

jwulf commented Oct 20, 2023

It is now baked in - it's another method signature for deployResource. Needs to be tested against both Camunda SaaS and Self-Managed.

@jwulf
Copy link
Member Author

jwulf commented Oct 24, 2023

This is slated for 8.4-alpha.2.

The feature is in a branch and ready to test against an alpha release.

@jwulf jwulf modified the milestones: 8.3.0, 8.4.0 Oct 24, 2023
@philippfromme
Copy link

Is there something blocking the release of zeebe-node with this feature? Form deployment in the desktop modeler depends on it (camunda/camunda-modeler#3952). I've tested this feature using the 332-deploy-form branch.

@jwulf jwulf closed this as completed in #338 Nov 1, 2023
jwulf added a commit that referenced this issue Nov 1, 2023
@jwulf
Copy link
Member Author

jwulf commented Nov 1, 2023

Published in 8.3.1

@philippfromme
Copy link

Nice! 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request needed-downstream A project that depends on the client is blocked by this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants