@oslo-flanders/ea-converter
TypeScript icon, indicating that this package has built-in type declarations

0.0.50-alpha.0 • Public • Published

OSLO Conversion Service

Transforms an Enterprise Architect (EA) UML diagram to RDF (or a serialization)

Install

npm install @oslo-flanders/ea-converter

Global install

To use the service from the command line anywhere, you can install it globally.

npm install -g @oslo-flanders/ea-converter

API

The service is executed from the CLI and expects the following parameters:

Parameter Description Required Possible values
--umlFile The URL or local file path of an EA UML diagram ✔️
--diagramName The name of the UML diagram within the EAP file ✔️
--publicationEnvironment The base URI of environment where the document will be published ✔️
--versionId Version identifier for the document ✔️
--outputFile The name of the RDF output file No, but if omitted, output is written to process.stdout
--outputFormat RDF content-type specifiying the output format ✔️ application/ld+json
--allTags Add all tags from EA to the generated output No, default false true or false
--debug A flag to enable debug mode which is more resilient to errors false

Usage

oslo-converter-ea --umlFile path/to/uml/diagram.eap --diagramName "diagramName" --versionId "test/1" --outputFile path/to/output.jsonld --outputFormat application/ld+json --publicationEnvironment https://data.vlaanderen.be
oslo-converter-ea --umlFile https://github.com/path/to/uml/diagram.eap --diagramName "My UML diagram" --versionId "test/1" --outputFormat application/ld+json --publicationEnvironment https://data.vlaanderen.be
oslo-converter-ea --umlFile https://github.com/path/to/uml/diagram.eap --diagramName "My UML diagram" --versionId "test/1" --outputFormat application/ld+json --publicationEnvironment https://data.vlaanderen.be --allTags true

Readme

Keywords

none

Package Sidebar

Install

npm i @oslo-flanders/ea-converter

Weekly Downloads

270

Version

0.0.50-alpha.0

License

MIT

Unpacked Size

157 kB

Total Files

62

Last publish

Collaborators

  • ddvlanck
  • kristofvandenbroucke
  • bertvn