Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7366

Javadoc: List/explain file endings that are interpreted during deployment

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7.0, 7.7.0-alpha2
    • Component/s: engine
    • Labels:

      Description

      In the Javadoc, it is not clear that a deployment resource must end on .bpmn or .bpmn20.xml to be parsed as a process definition. This sometimes leads to confusion (e.g. https://forum.camunda.org/t/no-process-definition-after-deployment/2580).

      AT:

      • the Javadoc of DeploymentBuilder (or where it fits best) lists the resource suffixes that are interpreted during deployment and what happens with those resources

      Also consider logging a warning if model instances are added to the deployment where the resource name won't trigger deployment.

        Issue Links

          Activity

          Hide
          svetlana.dorokhova Svetlana Dorokhova added a comment -
          Show
          svetlana.dorokhova Svetlana Dorokhova added a comment - Commit with docs (with wrong commit message ): https://github.com/camunda/camunda-bpm-platform/commit/ecdce38d40e48ed2baecf73ac394f684343bbe9e
          Hide
          svetlana.dorokhova Svetlana Dorokhova added a comment -

          The check was added after deployment, comparing the list of deployed resources vs. passed in deployment.
          Warnings will be logged for those resources that were not deployed: "Deployment resource 'aaa' was not processed during deployment. Hint: check file extention."

          Show
          svetlana.dorokhova Svetlana Dorokhova added a comment - The check was added after deployment, comparing the list of deployed resources vs. passed in deployment. Warnings will be logged for those resources that were not deployed: "Deployment resource 'aaa' was not processed during deployment. Hint: check file extention."

            People

            • Assignee:
              thorben.lindhauer Thorben Lindhauer
              Reporter:
              thorben.lindhauer Thorben Lindhauer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: