Skip to content

Conversation

@danfunk
Copy link
Collaborator

@danfunk danfunk commented Oct 24, 2022

No description provided.

essweine and others added 5 commits October 20, 2022 10:37
…lid BPMN Diagrams.

Changes required:

Message Path
------------
In collaborations,  the correlation property retrieval expression should be in a 'messagePath' tag, not a 'formalExpression'
(formalExpression was the TYPE that it should be, but the name must be messagePath.)
Invalid
```xml
<bpmn:correlationPropertyRetrievalExpression messageRef="love_letter">
      <bpmn:formalExpression>lover_name</bpmn:formalExpression>
    </bpmn:correlationPropertyRetrievalExpression>
```

valid:
```
    <bpmn:correlationPropertyRetrievalExpression messageRef="love_letter">
      <bpmn:messagePath>lover_name</bpmn:messagePath>
    </bpmn:correlationPropertyRetrievalExpression>
```

IOSpecifications
------------------
* Empty IO Specifications are not permitted.
* IO Specifications must have an inputSet and outputSet tags. (which themselves can be empty)
valid:
```xml
  <ioSpecification>
      <dataInput id="in_1" name="input 1" />
      <dataOutput id="out_1" name="output 1" />
      <inputSet name="Inputs" id="INS_1">
            <dataInputRefs>id_1</dataInputRefs>
       </inputSet>
      <outputSet name="Outputs" id="OUTS_1">
            <dataOutputRefs>out_1</dataOutputRefs>
       </outputSet>
    </ioSpecification>
```
@essweine
Copy link
Contributor

essweine commented Oct 25, 2022

I don't have an issue with the changes you made, but I have a few more things that I need to add (mainly around validation for our extensions), so don't merge this yet.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 26, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

96.4% 96.4% Coverage
0.0% 0.0% Duplication

@danfunk danfunk merged commit d83fd3d into main Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants