Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JNG-5435 Add Operation Input Validation #181

Merged
merged 1 commit into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions model/model/psm.aird
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_VjV9QA7gEemYKLassfSQTg" name="menu CD" repPath="#_VjQdsA7gEemYKLassfSQTg" changeId="1705996530541">
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
</ownedRepresentationDescriptors>
<ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_uVzdBxEfEemYKLassfSQTg" name="operation CD" repPath="#_uVzdABEfEemYKLassfSQTg" changeId="1705996714359">
<ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_uVzdBxEfEemYKLassfSQTg" name="operation CD" repPath="#_uVzdABEfEemYKLassfSQTg" changeId="1706184988941">
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/>
<target xmi:type="ecore:EPackage" href="psm.ecore#//service"/>
</ownedRepresentationDescriptors>
Expand Down Expand Up @@ -14573,11 +14573,15 @@
<styles xmi:type="notation:FontStyle" xmi:id="_K8QScbnFEe61lLAYDU1Ihg" fontName=".AppleSystemUIFont" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_K8QScrnFEe61lLAYDU1Ihg"/>
</children>
<children xmi:type="notation:Node" xmi:id="_gAqKULt7Ee6K54Gxz1lEOw" type="3010" element="_gARv5bt7Ee6K54Gxz1lEOw">
<styles xmi:type="notation:FontStyle" xmi:id="_gAqKUbt7Ee6K54Gxz1lEOw" fontName=".AppleSystemUIFont" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_gAqKUrt7Ee6K54Gxz1lEOw"/>
</children>
<styles xmi:type="notation:SortingStyle" xmi:id="_m52VRTtbEeqVGudBNoMWFQ"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_m52VRjtbEeqVGudBNoMWFQ"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_m52VQTtbEeqVGudBNoMWFQ" fontName="Noto Sans" fontHeight="8"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_m52VQjtbEeqVGudBNoMWFQ" x="1002" y="24" width="278" height="315"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_m52VQjtbEeqVGudBNoMWFQ" x="1002" y="24" width="278" height="335"/>
</children>
<children xmi:type="notation:Node" xmi:id="_gtvi4DtcEeqVGudBNoMWFQ" type="2003" element="_gtfrQDtcEeqVGudBNoMWFQ">
<children xmi:type="notation:Node" xmi:id="_gtwJ8DtcEeqVGudBNoMWFQ" type="5007"/>
Expand Down Expand Up @@ -15463,6 +15467,14 @@
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
</ownedElements>
<ownedElements xmi:type="diagram:DNodeListElement" uid="_gARv5bt7Ee6K54Gxz1lEOw" name="VALIDATE_OPERATION_INPUT" tooltipText="">
<target xmi:type="ecore:EEnumLiteral" href="psm.ecore#//service/TransferOperationBehaviourType/VALIDATE_OPERATION_INPUT"/>
<semanticElements xmi:type="ecore:EEnumLiteral" href="psm.ecore#//service/TransferOperationBehaviourType/VALIDATE_OPERATION_INPUT"/>
<ownedStyle xmi:type="diagram:BundledImage" uid="_gASW4Lt7Ee6K54Gxz1lEOw" labelAlignment="LEFT">
<description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/>
</ownedStyle>
<actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/>
</ownedElements>
</ownedDiagramElements>
<ownedDiagramElements xmi:type="diagram:DEdge" uid="_-g44JztbEeqVGudBNoMWFQ" name="[0..1] behaviour" sourceNode="_2piN0Do1Eeq1h9iF7MFJqA" targetNode="_kPHNUDtbEeqVGudBNoMWFQ">
<target xmi:type="ecore:EReference" href="psm.ecore#//service/TransferOperation/behaviour"/>
Expand Down
1 change: 1 addition & 0 deletions model/model/psm.ecore
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@
<eLiterals name="GET_METADATA" value="14"/>
<eLiterals name="GET_UPLOAD_TOKEN" value="15" literal="GET_UPLOAD_TOKEN"/>
<eLiterals name="EXPORT" value="16"/>
<eLiterals name="VALIDATE_OPERATION_INPUT" value="25"/>
</eClassifiers>
</eSubpackages>
<eSubpackages name="accesspoint" nsURI="http://blackbelt.hu/judo/meta/psm/accesspoint"
Expand Down
1 change: 1 addition & 0 deletions model/model/psm.genmodel
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@
<genEnumLiterals ecoreEnumLiteral="psm.ecore#//service/TransferOperationBehaviourType/GET_METADATA"/>
<genEnumLiterals ecoreEnumLiteral="psm.ecore#//service/TransferOperationBehaviourType/GET_UPLOAD_TOKEN"/>
<genEnumLiterals ecoreEnumLiteral="psm.ecore#//service/TransferOperationBehaviourType/EXPORT"/>
<genEnumLiterals ecoreEnumLiteral="psm.ecore#//service/TransferOperationBehaviourType/VALIDATE_OPERATION_INPUT"/>
</genEnums>
<genClasses image="false" ecoreClass="psm.ecore#//service/TransferObjectType">
<genFeatures notify="false" createChild="false" propertySortChoices="true"
Expand Down
Loading