Table of Contents
Table of Contents | ||
---|---|---|
|
Summary
For each messages (128), at the end of publication cycle (twice per year) produce the folllowing files:
- UML Diagram / Export CCL/18MA export
- XLS Guideline structure / CCTS Excel E using option file
- Xsds Zip profile schema / profile schema .xsds Test export xsd
- HTML Structure report using .rep file TBDfile
- XML sample files
Outputs
Examples in this guide are based on TBG18/eCERT/SPS_Acknowledgement message
UML Diagram
In TBG17REP repository, open TBG17REP/FX/WorkingLib/D18A/Message/Message MA
Select apropriate appropriate message and from the context menu "Show UML class diagram"
On UML Class Diagram, open context menu and by clicking on "Open all nodes" show the complete Class Diagram
Click on "Export Image" (this menu item is awailable available only in the disgram diagram area, to be sure it's active, try it in top left corner or over some of the class boxes)
Select desired format, .html option will cut digram diagram into grid of .gif pictures and put them together using HTML Table elements
SPS_Acknowledgement-UML-HTML.zip
which can be then printed into PDF file (depends on the size of the diagram)
SPS_Acknowledgement-UML.pdf Status colour Blue title example output
XLS Guideline structure
In TBG17REP repository, open TBG17REP/FX/WorkingLib/D18A/Message/Message MA
Using Option *.opt file and Excel template file *.xls
Click on C next to "Start folder or class" to select the message
Xsds
First, we must generate MCL schemasXML schema, based on which we will generate other files
In TBG17REP repository, open TBG17REP/FX/WorkingLib/D18A/Message/Message MA
From the context menu select Export → "ATG2 2.0 GEFEG.FX XML schemas"
Select output files location
If needed, create a new file structure
Fill version and use following optins (mostly defaults)
how to generate Schemas Status colour Yellow title TODO
From previousy previously produced schema, select desired message and from context menu Export it into "Profile Schmena Schema file"
Use defaults
Select
- Enumerations(Codes)
- MinOccurs
- MaxOccurs
- Use (attribute)
Click on Finish
Use defaults
Export will produce set of *.xsd files
That may be zipped into one, for example SPSAcknowledgement-XSDs.zip file for publication
SPSAcknowledgement-XSDs.zip Status colour Blue title example output
HTMLStructure report
(for now available only for Reference Data Models - MMT and SCRDM)
In TBG17REP repository, open TBG17REP/FX/Reference Data Models/SCRDM/D18A/Context/SCRDM 18a Context BUY Master
In TBG17REP repository, open TBG17REP/FX/Reference Data Models/MMT/D18A/Context/MMT 18a Context SHIP Master
Open appropriate Publishing Project (.man) - Documentation RDM.man
Before the export make sure your output directory exists and is accessable
From Publishing Project context menu, select Properties
in HTML output tab check or change HTML output directory
If you need to exclude some part of the export (make link inactive) from the context menu on the item, select Exclude
on Model for HTML from the context menu select Generate - HTML
Export will take a few minutes and generate large number of HTML and related files to the output directory,
Example of HTML under index.html - Start:
SCRDM HTML 11092018.zip Status colour YellowBlue title TODOexample output
XML sample files
From previousy previously produced schema, select desired message and from context menu Export it into "XML sample file",
For Export CML XML Example file options, use all defaults
SPSAcknowledgement_18p0-SampleFile.xml Status colour Blue title example output