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

Investigate parallel validation of SCL files #18

Open
marcadetd opened this issue Feb 1, 2022 · 7 comments
Open

Investigate parallel validation of SCL files #18

marcadetd opened this issue Feb 1, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@marcadetd
Copy link
Member

Use cases:

  • the fat jar load OCL and NSD files once and then process multiple validations in parallel
  • the validator runs as a service and receive requests for SCL validation
@marcadetd marcadetd added the enhancement New feature or request label Feb 1, 2022
@dlabordus
Copy link

The idea we have with CoMPAS is to integrate RiseClipse as a Java Library in a existing Microservice and start the validation of IEC 61850 SCL XML from a Java Class (Single running JVM). Multiple validation can be running at the same time and maybe even with different configurations if that's necessary/possible.

Also it would be nice that files can be configured using a Inputstream or Resource. Currently I only see the possibility to pass a file name that RiseClipse will load from the local filesystem.

@marcadetd
Copy link
Member Author

RiseClipse uses two inputs to validate SCL files: OCL and NSD files.
When will these inputs be given to RiseClipse? When the microservice is started? With each validation request?

@Sander3003
Copy link

Sander3003 commented Feb 2, 2022

NSD files can be loaded with starting the microservice (they do not change that often).
For loading the OCL rules, we are not sure if we need this (we need to rethink this).

Question:
Is it possible to build OCL rules for private extensions with their own namespace (if you build the OCL rule yourself)?
Do you guys have time to work on this (if yes when)? How can we collaborate? Can we schedule a meeting?

If we could adress the "big issues" com-pas/compas-scl-validator#2, we could use riseclipse for the validation of the LF energy CoMPAS project. I prefer to re-use and collaborate as much as possible to me the most beneficial to the industry.

@Sander3003
Copy link

@jeanetiennelemaire What is your idea in terms of loading OCL rules? I suggest to discuss this on the CoMPAS refinement the comming monday 10:00. https://lists.lfenergy.org/g/CoMPAS/viewevent?repeatid=40465&eventid=1337091&calstart=2022-03-07
@marcadetd @ADehouck feel free to join.

@Sander3003
Copy link

We discussed this topic today during the community call, we all agreed that is would be nice if we can give the data service the OCL rules and the SCL file.

@Sander3003
Copy link

Can we just a send a pull request with these changes or do you guys want to discuss them first?

@marcadetd
Copy link
Member Author

Is it possible to build OCL rules for private extensions with their own namespace (if you build the OCL rule yourself)?

The model must be known at build time by RiseClipse, so it is not possible to check with OCL private elements.

Do you guys have time to work on this (if yes when)?

No time for the moment to work on this issue, but any PR is welcome.

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

No branches or pull requests

3 participants