You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactors AASEnvironment and implements auth for upload endpoint (#232)
* Fixes upload endpoint not working with auth
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
* test
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
* Refactors AASEnvironment and implements auth for upload endpoint
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
* Updates the rbac_rules
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
* Refactors code
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
* Minor refactoring
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
* Refactors variable names
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
---------
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
Copy file name to clipboardExpand all lines: basyx.aasenvironment/Readme.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,11 @@ Furthermore, if Identifiables (AAS, Submodels, ConceptDescriptions) are already
38
38
39
39
For examples, see [application.properties](./basyx.aasenvironment.component/src/main/resources/application.properties)
40
40
41
-
42
41
## AAS Environment Upload Endpoint
43
42
44
43
AAS environments (e.g. XML, JSON, AASX) can be uploaded to the `/upload` endpoint.
45
44
46
45
The upload follows the same rules as the preconfiguration in terms of handling existing AAS, submodels and concept descriptions. In order for the file to be recognized correctly, please make sure that its MIME type is properly configured.
Copy file name to clipboardExpand all lines: basyx.aasenvironment/basyx.aasenvironment-core/src/main/java/org/eclipse/digitaltwin/basyx/aasenvironment/AasEnvironment.java
Copy file name to clipboardExpand all lines: basyx.aasenvironment/basyx.aasenvironment-core/src/main/java/org/eclipse/digitaltwin/basyx/aasenvironment/base/DefaultAASEnvironment.java
logger.warn("Colliding Ids detected for ConceptDescription: " + conceptDescriptionId + ". If they are not identical, this is an error. Please note that the already existing ConceptDescription was not updated.");
Copy file name to clipboardExpand all lines: basyx.aasenvironment/basyx.aasenvironment-core/src/main/java/org/eclipse/digitaltwin/basyx/aasenvironment/environmentloader/AasEnvironmentLoader.java
Copy file name to clipboardExpand all lines: basyx.aasenvironment/basyx.aasenvironment-core/src/main/java/org/eclipse/digitaltwin/basyx/aasenvironment/environmentloader/IdentifiableAssertion.java
Copy file name to clipboardExpand all lines: basyx.aasenvironment/basyx.aasenvironment-core/src/main/java/org/eclipse/digitaltwin/basyx/aasenvironment/preconfiguration/AasEnvironmentPreconfigurationLoader.java
0 commit comments