camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.1k stars 1.55k forks source link

Specify namespace for DMNs changed via Model API #3172

Open toco-cam opened 1 year ago

toco-cam commented 1 year ago

User Problem

  1. The Camunda DMN Java Model API can be used to modify DMNs.
  2. The Camunda DMN Java Model API libraries currently write the DMN back to a file in the same namespace as read from a file.
  3. If something is changed in the DMN after reading it, the library adjusts the namespace for the respective changed XML dom nodes to the newest namespace version; the old dom nodes remain in the old namespace version.
  4. The validation fails when writing the DMN Model back to the file since it references two namespaces.

User Story (Required on creation)

As a software developer, I want to be free to define the namespace version for a DMN I modify with the DMN Java Model API.

Functional Requirements (Required before implementation)

Technical Requirements (Required before implementation)

Limitations of Scope

Hints

Links

Breakdown

Dev2QA handover

toco-cam commented 1 year ago

@tasso94 can you please validate the scope and confirm the effort.

tasso94 commented 1 year ago

I'm patiently waiting for my name twin @Tassilo to reply, but I'm not sure if he will 🤔 😄 My GitHub handle is @tasso94 by the way.

tasso94 commented 1 year ago

@toco-cam, adjusted the description and confirmed the effort.