2023-03-21 17:03:55 +01:00
# Ranking Workflow for OpenAIRE Publications
2023-03-14 18:28:27 +01:00
This project contains the files for running a paper ranking workflow on the openaire graph using apache oozie.
All scripts are written in python and the project setup follows the typical oozie workflow structure:
- a workflow.xml file containing the workflow specification
- a job.properties file specifying parameter values for the parameters used by the workflow
- a set of python scripts used by the workflow
2023-03-21 17:03:55 +01:00
**NOTE**: the workflow depends on the external library of ranking scripts called [BiP! Ranker ](https://github.com/athenarc/Bip-Ranker ).
2023-03-14 18:28:27 +01:00
You can check out a specific tag/release of BIP! Ranker using maven, as described in the following section.
2023-03-21 17:03:55 +01:00
## Build and deploy
2023-03-14 18:28:27 +01:00
2023-03-21 17:03:55 +01:00
Use the following command for packaging:
2023-03-14 18:28:27 +01:00
```
2023-03-21 17:03:55 +01:00
mvn package -Poozie-package -Dworkflow.source.dir=eu/dnetlib/dhp/oa/graph/impact_indicators -DskipTests
2023-03-14 18:28:27 +01:00
```
2023-03-21 17:03:55 +01:00
Note: edit the property `bip.ranker.tag` of the `pom.xml` file to specify the tag of [BIP-Ranker ](https://github.com/athenarc/Bip-Ranker ) that you want to use.