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

Implements Preconfigured AAS Environment Serialization for AAS Environment #70

Closed
wants to merge 3 commits into from

Conversation

FriedJannik
Copy link
Member

No description provided.

return filesToLoad != null;
}

public void loadPrefconfiguredEnvironment(AasRepository aasRepository, SubmodelRepository submodelRepository,
Copy link
Contributor

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);
Copy link
Contributor

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) {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter, Formatter

@mateusmolina-iese
Copy link
Contributor

Replaced by #78. Please close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants