Giter Site home page Giter Site logo

ftsrg / ea-model-validator-framework Goto Github PK

View Code? Open in Web Editor NEW
0.0 15.0 0.0 3.3 MB

Extensible model validator framework for Enterprise Architect

License: Apache License 2.0

Batchfile 0.10% C# 97.71% GAP 2.18%
extensible framework model validation enterprise-architect enterprise-architect-addin

ea-model-validator-framework's Introduction

EA Model Validator Framework

About

Extensible Model Validator Framework for Enterprise Architect is designed to validate models besides seamless integration with the Enterprise Architect tool. The key strength of the framework lies in its extensibility, which empowers users to create custom validation rules and facilitating comprehensive model validation tailored to their specific needs e.g. custom UML profiles. This distinctive capability enables users to ensure rigorous validation and to amplify the value of model validation within the Enterprise Architect ecosystem. Additionally, the framework offers result exportation and auto-correction functionalities, enhancing efficiency and streamlining the validation process.

Installation

To use as an Enterprise Architect Add-In:

  1. Build the whole whole solution in the Enterprise-Architect-Model-Validator folder (tested in Visual Studio 2022)
  2. Copy the DLLs of the core projects (ModelValidatorLibrary, ModelValidatorEAAddin) into the folder of Enterprise Architect tool (e.g. c:\Program Files (x86)\Sparx Systems\EA)
  3. Create modelValidatorExtensions folder in the folder of Enterprise Architect
  4. Create new extensions or use the provided ones (see Enterprise-Architect-Model-Validator folder, EnterpriseArchitectExtension, GenericExtension, GenericQueryExtension, SpaceshipExtension) and copy these into the previously created modelValidatorExtensions folder
  5. Create queries folder in the folder of Enterprise Architect
  6. Create new queries (validation rules in SQL syntax) of use the provided ones (see the sql_queries folder, generic_requirements_queries, integrity_check_queries, spaceship_requirement_queries) and copy these into the previously created queries folder
  7. Close all Enterprise Architect instances, if open
  8. Execute the install scripts with administrator rights (see the install folder, ModelValidatorEAAddin.bat, ModelValidatorEAAddin.reg)
  9. Open Enterprise Architect and show the Add-Ins window, the ModelValidator Add-In shall appear

To use as a console application:

  1. Build the whole whole solution in the Enterprise-Architect-Model-Validator folder (tested in Visual Studio 2022)
  2. Copy the DLLs of the core projects (ModelValidatorLibrary, ModelValidatorEAAddin) and the executable of the console application (ModelValidatorConsoleApplication) into the desired folder
  3. Create modelValidatorExtensions folder in the desired folder
  4. Create new extensions or use the provided ones (see sql_queries folder, ConsoleExtension, GenericExtension, GenericQueryExtension, SpaceshipExtension) and copy these into the previously created modelValidatorExtensions folder
  5. Create queries folder in the desired folder
  6. Create new queries (validation rules in SQL syntax) of use the provided ones (see install folder, generic_requirements_queries, integrity_check_queries, spaceship_requirement_queries) and copy these into the previously created queries folder

Using

To use as an Enterprise Architect Add-In:

  1. Choose a Query Collection from the drop-down menu
  2. Choose an Exporter from the drop-down menu
  3. Trigger the validation with the Validate button
  4. You can use the Find GUID button to search for a GUID from the clipboard

To use as a console application: You shall provide some arguments for the executable:

  1. --connectionstring: the connection string of the Enterprise Architect model (e.g. c:\\ea_models\\example.eapx)
  2. --packageguid: the GUID string of the Enterprise Architect package to execute the validation on
  3. --querycollection: the folder of the validation rules collection (e.g. SpaceML Requirements)
  4. --exporter: the desired exporter to use (e.g. Debug)

Contributors

Note, that submodule Enterprise-Architect-Add-in-Framework is forked from the repository of Geert Bellekens: Enterprise-Architect-Add-in-Framework. Note, that the original codebase of used SQL generator can be found here.

ea-model-validator-framework's People

Contributors

ulicskagergo avatar vincemolnar avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.