File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,12 @@ Service to store and retrieve the SCL XML to a database.
16
16
17
17
In the standard configuration this component is using Quarkus to run and create a native image from it. The different
18
18
parts of this repository can also be used separately in your own component to manage SCL XML Files in a database. The
19
- Service Layer can be used as Java component to manage them.
19
+ Service Layer can be used as Java component to manage them. For more information about the architecture go
20
+ to [ documentation] ( doc/compas-scl-data-service.md ) .
20
21
21
- For more information about the architecture take a look at [ documentation] ( doc/compas-scl-data-service.md )
22
+ There are currently two database implementations available.
23
+
24
+ - For more information about the PostgreSQL Implementation go to [ PostgreSQL] ( doc/postgresql.md ) .
22
25
23
26
## Application depends on a running BaseX instance
24
27
Original file line number Diff line number Diff line change
1
+ <!--
2
+ SPDX-FileCopyrightText: 2021 Alliander N.V.
3
+
4
+ SPDX-License-Identifier: Apache-2.0
5
+ -->
6
+
7
+ # PostgreSQL Implementation
8
+
9
+ ## Database Model
10
+
11
+ For the SCL Data Service the following table is automatically created using FlyWay.
12
+
13
+ Table: scl_file
14
+
15
+ | Column | Type | Description |
16
+ | ----------------- | -------------------- | ------------------------------------------------------------------ |
17
+ | ID | uuid | Unique ID generated according to standards |
18
+ | VERSION | varchar(20) | Versioning according to [ Semantic Versioning] ( https://semver.org/ ) |
19
+ | TYPE | varchar(3) | The type of SCL stored |
20
+ | NAME | varchar(255) | The name of the SCL File |
21
+ | SCL_DATA | text | The SCL XML Content |
You can’t perform that action at this time.
0 commit comments