This repository was archived by the owner on Nov 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Migrate Measure Form SMMMeasureAPI 0.3.00 to SMMMeasureAPI 0.6.00
Antonin Abherve edited this page Nov 10, 2017
·
1 revision
To migrate a measure implemented with Modelio, you will have to :
- Upgrade the version of SMMDesigner module deployed ou your project to a version > 4.05 (Module Repository)
- Generate and Package the Measure unsing SMMDesigner packaging tool.
- The measure will be migrated automaticly
The java implementation is not impacted by the migration but you will have to update the MeasureMetaData.xml file packaged in your measure.
Before start the migration, please document you about the new structure of the MeasureMetaData.xml file : https://github.com/ITEA3-Measure/SMMMeasureApi/wiki/Metadata-File
- Remove the unite property
0.3.00 : <Measure name="RandomMeasure" type="DIRECT" unite="NUMERIC">
0.6.00 : <Measure name="RandomMeasure" type="DIRECT">- Add Category and Provider properties
0.3.00 : <Measure name="RandomMeasure" type="DIRECT"">
0.6.00 : <Measure name="RandomMeasure" type="DIRECT" category="TestMeasure" provider="Measure.org">- Add Unit definition (data model of the measurement returned by the measure ) and precise the type of each fields
0.3.00 : <Measure ... unite="NUMERIC">
0.6.00 : <unit name="RandomMeasurement">
<fields fieldName="FinalValue4" fieldType="u_double"/>
<fields fieldName="Variation4" fieldType="u_integer"/>
<fields fieldName="myDate" fieldType="u_date"/>
</unit>- Add types for scope properties
0.3.00 : <scopeProperties defaultValue="0" name="PreviousValue">
<description>PreviousValue</description>
</scopeProperties>
0.6.00 : <scopeProperties defaultValue="100" name="MaxRange" type="INTEGER">
<description>MaxRange</description>
</scopeProperties>
<scopeProperties defaultValue="Borned" name="Kind" type="ENUM">
<description>Kind</description>
<enumType>
<enumvalue label="Is Borrned" value="Borned"/>
<enumvalue label="Not Borrned" value="UnBorned"/>
</enumType>
</scopeProperties>User Documentation
- Users & Access Right
- Measure Management
- Deploy a Measure
- Deploy a Client Side Measure (Agent)
- Instantiate and Execute a Measure
- Measure Visualisation
- Create a Project
- Manage Project Phases
- Measure Monitoring
- Notification System
- Analysis Tools
Developers Documentation