-
Notifications
You must be signed in to change notification settings - Fork 56
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 AASX File Integration in Submodel Repository #149
Implements AASX File Integration in Submodel Repository #149
Conversation
- Adds logging for file deletion due to invalid path in InMemorySubmodelRepository - Replaces InputStreamResource with FileSystemResource in SubmodelRepositoryApiHTTPController (Fixes file appearance issue when requesting over HTTP ) Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
|
||
File actualFile = submodelRepo.getFileByPathSubmodel("http://i40.customer.com/type/1/1/1A7B62B529F19152", "OperatingManual.DigitalFile_PDF"); | ||
|
||
assertEquals(expectedFileExtension, getExtension(actualFile.getName())); |
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 not use assertFileContents here?
@@ -0,0 +1,116 @@ | |||
package org.eclipse.digitaltwin.basyx.aasenvironment; |
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.
Missing license header
@@ -0,0 +1,165 @@ | |||
package org.eclipse.digitaltwin.basyx.aasenvironment; |
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.
Missing license header
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
Approved! |
Signed-off-by: Mohammad Ghazanfar Ali Danish [email protected]