Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC with Riseclipse EMF and OCL rules #9

Closed
Sander3003 opened this issue Feb 9, 2022 · 3 comments · Fixed by #21
Closed

POC with Riseclipse EMF and OCL rules #9

Sander3003 opened this issue Feb 9, 2022 · 3 comments · Fixed by #21
Assignees
Labels
enhancement New feature or request

Comments

@Sander3003
Copy link
Member

Sander3003 commented Feb 9, 2022

As a develop
I want to validate XML using the OCL Files and Metamodel from RiseClipse
So that rules can be reused.

The POC is to get a idea how to integrate the OCL Files and Metamodel from RiseClipse
and use Eclipse OCL/EMF to validate a incoming XML File.

The idea is to make a Git subproject from both RiseClipse repositories to include the Metamodel and OCL Files
Next step is to use these files to create classes based on validator to validate a incoming XML File.
We probably need to save the XML in a temporary file and also create a temporary file to import all the OCL Rules that need to processed.

@Sander3003
Copy link
Member Author

@dlabordus can you add more details?

@dlabordus
Copy link

RiseClipse uses Eclipse OCL and Eclipse EMF. See manual for OCL Example.

For CGMES there is a library from RTE CGMES OCL Validator that also uses Eclipse OCL/EMF.
So this repository can also be used for inspiration how to use Eclipse OCL/EMF.

@dlabordus dlabordus self-assigned this Feb 22, 2022
@Sander3003
Copy link
Member Author

@dlabordus dlabordus added the enhancement New feature or request label Mar 1, 2022
@dlabordus dlabordus linked a pull request Mar 2, 2022 that will close this issue
@Flurb Flurb closed this as completed in #21 Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants