CLI for tool to convert selection file and XMI into XSD

Submitted by Anonymous (not verified) on Thursday, 21 April, 2016 - 11:00
Issue ID
214
Component
Tool
Category
Feature request
Priority
Normal
Status
Submitted
Source
Website
Description

Current tool allows only use via GUI, no command line interface (CLI) is provided. The tool currently allows to: - import/validation of (possibly extended) model in form of XMI file - make selection of features to include in the profile to be created - save the selection into "selection file" (which can be later reloaded) - create the XML schema Currently, all this has to be done via GUI and no CLI is available. In case, one has automated pipeline for creating documentation of UML profile, lack of CLI is limiting as it requires someone to do part of the processing manually. Request: Modify the tool to provide CLI allowing to accept input (XMI and selection file) and producing XSD. It could have interface like: $ tool [options] printing to stdout is also an option (but not a requirement). Such CLI would allow automated testing and building of documentation based on updated XMI and SELECTION files. With pure profiling (without extending the model) it is often the case, someone is producing few versions of file without modifying the source file. Such a CLI would help for both old (DATEX II v2.x) as well as new (DATEX II v3.x) model.

{"changeLogs":[{"date":1527781038096,"componentOLD":"- Select a value -","component":"Tool","categoryOLD":"- Select a value -","category":"Feature request","priorityOLD":"- None -","priority":"Normal","statusOLD":"- None -","status":"Submitted"},{"date":1537266944754}]}

Posted by Anonymous (not verified) on February 24, 2022 Permalink

Correction: the text contained some text looking as XML elements which are gone after saving. For this reason here is corrected text:

Current tool allows only use via GUI, no command line interface (CLI) is provided.

The tool currently allows to:

- import/validation of (possibly extended) model in form of XMI file
- make selection of features to include in the profile to be created
- save the selection into "selection file" (which can be later reloaded)
- create the XML schema

Currently, all this has to be done via GUI and no CLI is available.

In case, one has automated pipeline for creating documentation of UML profile, lack of CLI is
limiting as it requires someone to do part of the processing manually.

Request: Modify the tool to provide CLI allowing to accept input (XMI and selection file) and
producing XSD.

It could have interface like:

$ tool [options] XMI SELECTION XMI

printing to stdout is also an option (but not a requirement).

Such CLI would allow automated testing and building of documentation based on
updated XMI and SELECTION files. With pure profiling (without extending the
model) it is often the case, someone is producing few versions of SELECTION
file without modifying the source file.

Such a CLI would help for both old (DATEX II v2.x) as well as new (DATEX II v3.x) model.