Commit 9bbbc36
Refactor
Previously, we tried to use the `Backend` concept for both data persistence and data integration.
This led to complicated cross-dependencies, architectures and badly maintainable code.
Now, we decided to split these two concepts and use the existing `Backend` `ObjectStore`s for just the data persistence.
Concretely, this commit does the following:
1. Remove the abstract `Backend` class (backends.py), as well as their concrete implementations (`CouchDBBackend`, `LocalFileBackend`), as they are no longer needed
2. Remove the `Referable.source` attribute, as it was only needed for the `Backend` class
3. Remove methods related to the `Referable.source` attribute, such as `Referable.update()` and `Referable.commit()` (base.py), as they were used together to perform the data integration.
4. Adapt other related codes such as tutorials and tests to reflect these changes
5. Adapt documentation to reflect these changesBackend concept for data persistence (eclipse-basyx#370)1 parent 81737bb commit 9bbbc36
File tree
18 files changed
+115
-885
lines changed- sdk
- basyx/aas
- backend
- examples
- model
- docs/source/backend
- test
- backend
- model
- server/app/interfaces
18 files changed
+115
-885
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
7 | 3 | | |
This file was deleted.
0 commit comments