Skip to content

Commit 01510c4

Browse files
Visconnect prototype metrics (#768)
* wip * orcid PDF OA state workaround * metrics wip * cleanup * restructuring of common.utils * metrics for orcid wip * code restructuring * metrics enrichment for orcid * calculate aggregated author metrics * fix metrics datatype * bugfix * bugfix * add metrics runner in R * new backend data structure for author metadata * feat: orcid metracs integration (#765) * Visconnect prototype metrics updates (#766) * feat: orcid metracs integration * feat: refactor scale map * feat: refactor orcid client * refactor: metrics and base workers * feat: add orcid integration tests * feat: configure testing environment * fix: data transformation and orcid authentication * refactor: orcid client integration * refactor: orcid client integration * minor: logging * minor: logging * feat: fix academic age calculation * feat: resolve comments after review * feat: improve orcid structure * feat: improve orcid structure * refactor and improve data model --------- Co-authored-by: chreman <[email protected]>
1 parent 4bc06d2 commit 01510c4

File tree

131 files changed

+4730
-1508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+4730
-1508
lines changed

.docker.test.env

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# APP
2+
FLASK_ENV=development
3+
BEHIND_PROXY=False
4+
SERVICE_VERSION=7d60186f594d420f82901f0514eb3c7e6b6e62d5
5+
LOGLEVEL=DEBUG
6+
LOGFILE="/var/log/headstart/headstart.log"
7+
8+
# DB
9+
POSTGRES_USER=testuser
10+
POSTGRES_PASSWORD=postgres
11+
POSTGRES_HOST=db_server
12+
POSTGRES_PORT=5434
13+
POSTGRES_DATABASE=testdb
14+
15+
# REDIS
16+
REDIS_HOST=redis-1
17+
REDIS_PORT=6355
18+
REDIS_PASSWORD=testredispassword
19+
REDIS_DB=0
20+
21+
# R
22+
R_BASE_APIKEY=5812aa4367eb1dc3d366d99fdaaef0e3
23+
24+
# ORCID
25+
ORCID_CLIENT_ID="APP-DL8ZAR72EZWW15NX"
26+
ORCID_CLIENT_SECRET="a3389b1a-19c0-4f78-857a-4aba19f5fa46"

.flake8

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[flake8]
2+
max-line-length = 100
3+
# required for compatibility with Black:
4+
extend-ignore = E203
5+
exclude = .venv

.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,15 @@ server/preprocessing/other-scripts/renv
6363
/nbproject/private/
6464
/server/nbproject/private/
6565
.pytest_cache
66+
*.egg-info/
6667
*__pycache__*
68+
69+
# Mac files
70+
.DS_Store
71+
72+
# personal
73+
.vscode/settings.json
74+
# temporal
75+
local_dev/config_local_headstart.ini
76+
local_dev/config_local_searchflow.ini
77+

docker-compose-dataworker.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)