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: docs/How to use the epos plugin.md
+34-16Lines changed: 34 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,18 @@ The FAIR EVA API needs to running in the background or in an individual terminal
20
20
```
21
21
22
22
### 3. Test FAIR EVA
23
-
For the sake of simplificity, we will use the metadata identifier `7c9dfb3c-7db0-4424-8843-ada2143b00a0` that exists in the current [DT-GEO prototype](https://ics-c.epos-ip.org/development/k8s-epos-deploy/dt-geo/api/v1). FAIR EVA comes with a CLI that simplies the task of making requests to the API. We will use it in a different terminal (terminal #2) from the one that launched the API in the previous step:
23
+
For the sake of simplificity, we will use the metadata identifier `d4101e2f-c1b9-4fde-a4d1-d79a26d5d23a` that exists in the current [DT-GEO prototype](https://ics-c.epos-ip.org/development/k8s-epos-deploy/dt-geo/api/v1). FAIR EVA comes with a CLI that simplies the task of making requests to the API. We will use it in a different terminal (terminal #2) from the one that launched the API in the previous step:
-X POST "http://localhost:9090/v1.0/rda/rda_f2_01m"
52
52
```
53
53
Same as before this is an example, you can change the q parameter to whatever you want to search. This will return the id of all the results found.
@@ -56,10 +56,19 @@ To make sure its the one you are looking for you can make a curl to the API with
56
56
Now take a look at terminal 1, it will display a table with important findability-related terms, one of them is the title, so you can make sure the item is the one that you want,
57
57
(If the table displays a lot of ... items try to make the window wider and retry the test)
58
58
59
+
#### 2. Use the `--search` optional argument from the fair-eva.py script
59
60
60
-
#### 2. Connecting directly to the EPOS API
61
+
A simple way to get the UUID is to use the searcher option to conect to the EPOS API. In terminal 2 just use the command:
61
62
62
-
You can perform a curl to the EPOS API to get your UUID. Yhe process is the same as before
63
+
```
64
+
(terminal #2) python3 scripts/fair-eva.py --search SVO --plugin epos -j
65
+
```
66
+
67
+
Then you will select an index and the evaluation will be performed directly.
68
+
69
+
#### 3. Connecting directly to the EPOS API
70
+
71
+
You can perform a curl to the EPOS API to get your UUID. The process is the same as before
You can also use them both together. Note that the points are not the basic average of the tests, because each test has a different weight.
142
+
Note that the points are the pondered average of the tests, because each test has a different weight.
143
+
144
+
### Configuration through config.ini.
145
+
There are some tests whose results depend on things outside of the metadata given by the EPOS API so their result depends on a configuration parameter. These parameters are stored in the file 'config.ini' you can change these parameters to change some results. WARNING a lot of parameters are essential for the tool to work. If the parameter you are interested in changing doesn't appear on the following list you probably shouldn't change it:
146
+
147
+
1. supportted_data_formats: The formats that are considered standard.
148
+
2. terms_access_protocols: The list of accepted protocols to access (meta)data.
149
+
3. metadata_access_manual: a guide on how to access the metadata manually without the tool.
150
+
4. data_access_manual: A guide on how to access data manually
151
+
5. terms data model*: The model of the data you are checking
152
+
6. metadata_standard: The standard in which the metadata is based on
153
+
7. metadata_persistance*: This is the policy of the persistence of the metadata.
154
+
8. metadata_authentication*: The authentication or autorisation protocols provided by the platform
155
+
9.[fairsharing]username and password: If you want to refresh the fairsharing list, you can use your fairsharing username and password
139
156
157
+
There are some parameters with * this mean that at the time of writing we have not found (mainly becaiuse it doesn't exist at the moment or is not clear) a good value.
140
158
## Alternative ways to use the FAIR EVA
141
159
There are two alternatives if you do not want to install FAIR EVA.
0 commit comments