Skip to content

Commit

Permalink
Merge pull request #60 from open-simulation-platform/release/0.9.0
Browse files Browse the repository at this point in the history
Release/0.9.0
  • Loading branch information
mrindar committed May 8, 2020
2 parents dfc8896 + 261ab15 commit b3224e4
Show file tree
Hide file tree
Showing 586 changed files with 29,374 additions and 12,420 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -26,4 +26,5 @@ hs_err_pid*

target/

*.iml
*.iml
git.info
52 changes: 14 additions & 38 deletions README.md
@@ -1,3 +1,7 @@
# Description
This is a java project consisting of a java library and a command line interface tool to validate FMUs and simulation
configurations against the [open simulation platform](https://www.opensimulationplatform.com) specification.

# Prerequisites
### Windows
java: https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_windows_hotspot_8u222b10.msi
Expand All @@ -9,52 +13,24 @@ java: https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u2
\
maven: http://apache.uib.no/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz

# osp-system-structure-cli
# Modules
[osp-validator-api](/osp-validator-api/README.md)

Command line interface for osp system structure files
[osp-validator-core](/osp-validator-core/README.md)

## clone -> build -> run
```
$ git clone https://github.com/open-simulation-platform/msmi-validator.git
$ cd msmi-validator
$ mvn clean package
$ cd osp-system-structure-cli
$ java -jar ./target/osp-system-structure-cli-<version>-jar-with-dependencies.jar --config ./src/test/resources/validator/xml/OspSystemStructure-valid.xml
```
[osp-validator-cli](/osp-validator-cli/README.md)

## clone -> build -> run (with debug output) -> generate configuration.owl
```
$ git clone https://github.com/open-simulation-platform/msmi-validator.git
$ cd msmi-validator
$ mvn clean package
$ cd osp-system-structure-cli
$ java -Dosp.validator.log.level=debug -jar ./target/osp-system-structure-cli-<version>-jar-with-dependencies.jar --config ./src/test/resources/validator/xml/OspSystemStructure-valid.xml -s ./
```
[osp-model-description](/osp-model-description/README.md)

# osp-system-structure-http
[osp-system-structure](/osp-system-structure/README.md)

HTTP servlet interface for osp system structure validator
[osp-validator-gen](/osp-validator-gen/README.md)

## clone -> build -> run
# Build
```
$ git clone https://github.com/open-simulation-platform/msmi-validator.git
$ git clone git@github.com:open-simulation-platform/msmi-validator.git
$ cd msmi-validator
$ mvn clean package
$ cd osp-system-structure-http
$ java -Dosp.validator.log.level=debug -jar ./target/osp-system-structure-http-<version>-jar-with-dependencies.jar --port <your-favourite-port>
- open web browser
- go to localhost:<your-favourite-port>/validate?configuration=./src/test/resources/validator/xml/OspSystemStructure-valid.xml
```

# osp-model-description-cli

Command line interface for osp model description files

## clone -> build -> run
```
$ git clone https://github.com/open-simulation-platform/msmi-validator.git
$ cd msmi-validator
$ mvn clean package
$ cd osp-model-description-cli
$ java -jar ./target/osp-model-description-cli-<version>-jar-with-dependencies.jar -osp-model-description ./src/test/resources/validator/xml/OspSystemStructure-valid.xml -fmu ./src/test/resources/CraneController.fmu
```
`<module-dir>/target` will contain the compiled artifacts.
Empty file added TODO.md
Empty file.
53 changes: 0 additions & 53 deletions osp-model-description-cli/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

0 comments on commit b3224e4

Please sign in to comment.