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
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,14 @@ With credentials:
25
25
- tmaelstro:tmaelstro
26
26
27
27
## Solo quick start
28
+
28
29
Maelstro can be used outside geOrchestra.
29
30
30
31
```
31
-
docker compose -f docker-compose-solo.yml up
32
+
docker compose -f docker-compose-solo.yml up
32
33
```
33
-
Open : http://127.0.0.1:8080/maelstro/
34
+
35
+
Open: http://127.0.0.1:8080/maelstro/
34
36
There is no authentication to access the page but if needed it can be done with basic auth in the [nginx config](./config/nginx-solo.conf) (or another way)
35
37
36
38
## Frontend developement
@@ -50,6 +52,7 @@ The configuration is based on a YAML file containing connection information abou
50
52
For dev use of the platform, there is a sample config in the backend folder: [dev_config.yaml](backend/dev_config.yaml). This config is used by default in the docker compo.
51
53
52
54
The file has 4 distict parts:
55
+
53
56
- sources
54
57
- destinations
55
58
- db_logging
@@ -66,6 +69,7 @@ The file has 4 distict parts:
66
69
#### DB logging
67
70
68
71
The section db_logging contains all connection information to reach a writable postgres DB to use for writing and reading operation logs:
72
+
69
73
- host (default: database)
70
74
- port (default: 5432)
71
75
- login (default: georchestra)
@@ -81,13 +85,16 @@ Substitution of credentials (login and password) can be done for the DB configur
81
85
The `transformations` section conatains a list of xsl transformations which can be applied to the xml metadata of source or destination servers.
82
86
83
87
Each named `transformation` item must conatain
88
+
84
89
-`xslt_path`: local path on the server to an xsl file in which the trasformation is defind (typically in the datadir)
85
90
-`description`: Details of the transformation content to easily identify which transformation is applied
86
91
87
92
For each geonetwork item of the source and destination servers, a specific key is added to the configuration file:
93
+
88
94
- transformations: list of xslt keys to be applied to the metadata of the corresponding geonetwork server
89
95
90
96
If a list of transformations is defined for both the source and destination server, the copy operation is executed in the way described below:
97
+
91
98
- read metadata from source
92
99
- apply all source transformations
93
100
- apply all destination transformations
@@ -107,7 +114,6 @@ The logics for credentials is by decreasing order of importance:
107
114
4. Then constant login/password keys are read
108
115
5. If still either "login" or "password" is not defined, the credentials are considered invalid and anonymous acces is used for the instance without authentication
109
116
110
-
111
117
#### Example
112
118
113
119
(see [doc_sample_config.yaml](backend/tests/doc_sample_config.yaml)):
0 commit comments