Skip to content

Commit e2287dd

Browse files
committed
update settings to follow the right approach
1 parent 4e43605 commit e2287dd

File tree

1 file changed

+10
-39
lines changed

1 file changed

+10
-39
lines changed

Modules/DIM/Dim.Settings.json

Lines changed: 10 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,57 +11,28 @@
1111
"description": "URL to the manual. If empty, it links to the latest manual from BEXIS2"
1212
},
1313
{
14-
"key": "dataCiteDOICredentials",
15-
"title": "DataCite DOI Credentials",
14+
"key": "datacitePlaceholders",
15+
"title": "DataCite DOI Placeholders",
1616
"options": [],
1717
"type": "JSON",
1818
"value": {
19-
"username": "test",
20-
"password": "admin",
21-
"host": "https://"
19+
"{DatasetId}": "{DatasetId}",
20+
"{VersionId}": "{VersionId}",
21+
"{VersionNumber}": "{VersionNumber}",
22+
"{VersionName}": "{VersionName}"
2223
},
23-
"description": "This are the credentials."
24-
},
25-
{
26-
"key": "dataCiteDOIPlaceholders",
27-
"title": "DataCite DOI Placeholders",
28-
"options": [],
29-
"type": "JSON",
30-
"value": [
31-
{
32-
"key": "DatasetId",
33-
"Value": "{DatasetId}"
34-
},
35-
{
36-
"key": "VersionId",
37-
"Value": "{VersionId}"
38-
},
39-
{
40-
"key": "VersionNumber",
41-
"Value": "{VersionNumber}"
42-
},
43-
{
44-
"key": "VersionName",
45-
"Value": "{VersionName}"
46-
}
47-
],
4824
"description": "These placeholders will be replaced automatically."
4925
},
5026
{
51-
"key": "dataCiteDOIMappings",
27+
"key": "dataciteMappings",
5228
"title": "DataCite DOI Mappings",
5329
"options": [],
5430
"type": "JSON",
55-
"value": [
31+
"value":
5632
{
57-
"key": "URL",
58-
"Value": "{DatasetId}?version={VersionNumber}"
33+
"URL": "{DatasetId}?version={VersionNumber}",
34+
"Version": "{VersionName}"
5935
},
60-
{
61-
"key": "Version",
62-
"Value": "{VersionName}"
63-
}
64-
],
6536
"description": "There are additional mappings for DOI DataCite."
6637
},
6738
{

0 commit comments

Comments
 (0)