-
Notifications
You must be signed in to change notification settings - Fork 47
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
Implements Preconfigured AAS Environment Serialization for AAS Environment #70
Conversation
…nment Signed-off-by: Jannik Fried <[email protected]>
…perties file optional Signed-off-by: Jannik Fried <[email protected]>
return filesToLoad != null; | ||
} | ||
|
||
public void loadPrefconfiguredEnvironment(AasRepository aasRepository, SubmodelRepository submodelRepository, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preconfigured
|
||
InputStream fileStream = getFileInputStream(filePath); | ||
Environment environment = getEnvironmentFromInputStream(filePath, fileStream); | ||
loadEnvironmentFromFile(aasRepository, submodelRepository, conceptDescriptionRepository, environment); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why FromFile?
ConceptDescriptionRepository conceptDescriptionRepository) | ||
throws IOException, DeserializationException, InvalidFormatException { | ||
for (String filePath : filesToLoad) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linter, Formatter
Replaced by #78. Please close this PR. |
No description provided.