Skip to content

Commit

Permalink
Added example AAS and included it in the documentation (#909)
Browse files Browse the repository at this point in the history
* Added example AAS and included it in the documentation with brief disclaimers.

---------

Co-authored-by: Michael Jacoby <[email protected]>
  • Loading branch information
GW1708 and mjacoby authored Oct 10, 2024
1 parent d743d75 commit 4e06fce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.java text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.aasx binary
*.png binary
*.jpg binary
*.jpeg binary
Expand Down
Binary file added docs/source/aas-examples/Example_AAS.aasx
Binary file not shown.
5 changes: 5 additions & 0 deletions docs/source/basics/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ To manually pass a model file `my-model.aasx` and a configuration file `my-confi
> java -jar starter-{version}.jar --model my-model.aasx --config my-config.json
```

An example model file can be found in the [FA³ST Github-Repository](https://github.com/FraunhoferIOSB/FAAAST-Service/blob/main/docs/source/aas-examples/example-aas.aasx).
Regarding AAS examples from other sources it is important to note that the AAS specification is not backwards compatible. Therefore, it is necessary to make sure that the model file conforms to the latest AAS specification (V3).
Passing an outdated model file will lead to an error. If a model file conforms to V3 of the Asset Administration Shell specification but has duplicate identifiers, FA³ST will not load the file.
Starting FA³ST with the `--no-validation` flag loads the file in any case but will lead to problems during runtime if there are duplicate identifiers present.

:::{table} Supported CLI arguments and environment variables.
| CLI (short) | CLI (long) | Environment variable | Allowed<br>Values | Description | Default<br>Value |
| ------------- | --------------------- | -------------------------------------------------------------- | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- |
Expand Down

0 comments on commit 4e06fce

Please sign in to comment.