finalize elasticsearch deployment. Update app configurations
This commit is contained in:
parent
e8f40b852a
commit
3f69ab0fc0
|
@ -18,7 +18,7 @@ GOTENBERG_TAG=8.4.0
|
|||
|
||||
#Application configuration
|
||||
DOCKER_REGISTRY=crepo.cite.gr/
|
||||
PROFILE=staging
|
||||
PROFILE=test
|
||||
|
||||
#port speficiations
|
||||
SERVER_PORT=8080
|
||||
|
|
|
@ -17,140 +17,141 @@ services:
|
|||
- opendmp-proxy-network
|
||||
|
||||
############################## OPENDMP APP #################################
|
||||
# opendmp.backend:
|
||||
# restart: unless-stopped
|
||||
# cpus: 1
|
||||
# mem_limit: 2048m
|
||||
# environment:
|
||||
# - PROFILE=${PROFILE}
|
||||
# ports:
|
||||
# - "8080"
|
||||
# volumes:
|
||||
# - opendmp/backend/config:/config
|
||||
# - opendmp/backend/certificates:/certificates
|
||||
# - opendmp/backend/i18n:/i18n
|
||||
# - opendmp/backend/material:/material
|
||||
# - opendmp/backend/Semantics.json:/Semantics.json
|
||||
# - storage/backend:/storage
|
||||
# - logs/backend:/logs
|
||||
# networks:
|
||||
# - opendmp-proxy-network
|
||||
# - opendmp-backend-network
|
||||
# - opendmp-plugins-network
|
||||
# - opendmp-gotenberg-shared-network
|
||||
# - opendmp-elastic-shared-network
|
||||
# - opendmp-keycloak-shared-network
|
||||
# - opendmp-postgres-shared-network
|
||||
# - opendmp-rabbitmq-shared-network
|
||||
opendmp.backend:
|
||||
restart: unless-stopped
|
||||
cpus: 1
|
||||
mem_limit: 2048m
|
||||
environment:
|
||||
- PROFILE=${PROFILE}
|
||||
ports:
|
||||
- "8080"
|
||||
volumes:
|
||||
- ./opendmp/backend/config:/config
|
||||
- ./opendmp/backend/certificates:/certificates
|
||||
- ./opendmp/backend/i18n:/i18n
|
||||
- ./opendmp/backend/material:/material
|
||||
- ./opendmp/backend/Semantics.json:/Semantics.json
|
||||
- ./storage/opendmp/backend:/storage
|
||||
- ./logs/opendmp/backend:/logs
|
||||
networks:
|
||||
- opendmp-proxy-network
|
||||
- opendmp-backend-network
|
||||
- opendmp-plugins-network
|
||||
- opendmp-gotenberg-shared-network
|
||||
- opendmp-elastic-shared-network
|
||||
- opendmp-keycloak-shared-network
|
||||
- opendmp-postgres-shared-network
|
||||
- opendmp-rabbitmq-shared-network
|
||||
|
||||
# opendmp.frontend:
|
||||
# restart: unless-stopped
|
||||
# cpus: 1
|
||||
# mem_limit: 2048m
|
||||
# ports:
|
||||
# - "8080"
|
||||
# volumes:
|
||||
# - opendmp/webapp/config.json:/usr/share/nginx/html/assets/config/config.json
|
||||
# - opendmp/webapp/nginx.conf:/etc/nginx/nginx.conf
|
||||
# - opendmp/webapp/WebAppNginx.conf:/etc/nginx/conf.d/default.conf
|
||||
# networks:
|
||||
# - opendmp-proxy-network
|
||||
opendmp.frontend:
|
||||
restart: unless-stopped
|
||||
cpus: 1
|
||||
mem_limit: 2048m
|
||||
ports:
|
||||
- "8080"
|
||||
volumes:
|
||||
- ./opendmp/frontend/config.json:/usr/share/nginx/html/assets/config/config.json
|
||||
- ./opendmp/frontend/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./opendmp/frontend/WebAppNginx.conf:/etc/nginx/conf.d/default.conf
|
||||
networks:
|
||||
- opendmp-proxy-network
|
||||
|
||||
# opendmp.notification:
|
||||
# cpus: 1
|
||||
# mem_limit: 1024m
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - "8080"
|
||||
# environment:
|
||||
# - PROFILE=${PROFILE}
|
||||
# volumes:
|
||||
# - opendmp/notification-api/config:/config
|
||||
# - opendmp/notification-api/messages:/messages
|
||||
# - opendmp/notification-api/notification_templates:/notification_templates
|
||||
# - logs/notification-api:/logs
|
||||
# networks:
|
||||
# - opendmp-proxy-network
|
||||
# - opendmp-backend-network
|
||||
# - opendmp-plugins-network
|
||||
# - opendmp-rabbitmq-shared-network
|
||||
# - opendmp-keycloak-shared-network
|
||||
# - opendmp-postgres-shared-network
|
||||
opendmp.notification:
|
||||
cpus: 1
|
||||
mem_limit: 1024m
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080"
|
||||
environment:
|
||||
- PROFILE=${PROFILE}
|
||||
volumes:
|
||||
- ./opendmp/notification/config:/config
|
||||
- ./opendmp/notification/messages:/messages
|
||||
- ./opendmp/notification/notification_templates:/notification_templates
|
||||
- ./logs/opendmp/notification-api:/logs
|
||||
networks:
|
||||
- opendmp-proxy-network
|
||||
- opendmp-backend-network
|
||||
- opendmp-plugins-network
|
||||
- opendmp-rabbitmq-shared-network
|
||||
- opendmp-keycloak-shared-network
|
||||
- opendmp-postgres-shared-network
|
||||
|
||||
# opendmp.annotation:
|
||||
# cpus: 1
|
||||
# mem_limit: 1024m
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - "8080"
|
||||
# environment:
|
||||
# - PROFILE=${PROFILE}
|
||||
# volumes:
|
||||
# - opendmp/annotation-api/config:/config
|
||||
# - opendmp/annotation-api/messages:/messages
|
||||
# - logs/annotation-api:/logs
|
||||
# networks:
|
||||
# - opendmp-proxy-network
|
||||
# - opendmp-backend-network
|
||||
# - opendmp-plugins-network
|
||||
# - opendmp-rabbitmq-shared-network
|
||||
# - opendmp-keycloak-shared-network
|
||||
# - opendmp-postgres-shared-network
|
||||
opendmp.annotation:
|
||||
cpus: 1
|
||||
mem_limit: 1024m
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080"
|
||||
environment:
|
||||
- PROFILE=${PROFILE}
|
||||
volumes:
|
||||
- ./opendmp/annotation/config:/config
|
||||
- ./opendmp/annotation/messages:/messages
|
||||
- ./logs/opendmp/annotation-api:/logs
|
||||
networks:
|
||||
- opendmp-proxy-network
|
||||
- opendmp-backend-network
|
||||
- opendmp-plugins-network
|
||||
- opendmp-rabbitmq-shared-network
|
||||
- opendmp-keycloak-shared-network
|
||||
- opendmp-postgres-shared-network
|
||||
|
||||
# ############################## FILE-TRANSFORMER #################################
|
||||
|
||||
# opendmp.file.transformer.docx:
|
||||
# restart: unless-stopped
|
||||
# cpus: 1
|
||||
# mem_limit: 1024m
|
||||
# expose:
|
||||
# - "8080"
|
||||
# environment:
|
||||
# - SERVER_PORT=${SERVER_PORT}
|
||||
# - PROFILE=${PROFILE}
|
||||
# volumes:
|
||||
# - opendmp/file-transformer-docx/config:/config
|
||||
# - logs/file-transformer-docx:/logs
|
||||
# - storage/file-transformer-docx:/storage
|
||||
# networks:
|
||||
# - opendmp-backend-network
|
||||
# - opendmp-plugins-network
|
||||
# - opendmp-gotenberg-shared-network
|
||||
opendmp.file.transformer.docx:
|
||||
restart: unless-stopped
|
||||
cpus: 1
|
||||
mem_limit: 1024m
|
||||
expose:
|
||||
- "8080"
|
||||
environment:
|
||||
- SERVER_PORT=${SERVER_PORT}
|
||||
- PROFILE=${PROFILE}
|
||||
volumes:
|
||||
- ./opendmp/file-transformer-docx/config:/config
|
||||
- ./logs/opendmp/file-transformer-docx:/logs
|
||||
- ./storage/opendmp/file-transformer-docx:/storage
|
||||
networks:
|
||||
- opendmp-backend-network
|
||||
- opendmp-plugins-network
|
||||
- opendmp-gotenberg-shared-network
|
||||
|
||||
# opendmp.file.transformer.rdajson:
|
||||
# restart: unless-stopped
|
||||
# cpus: 1
|
||||
# mem_limit: 1024m
|
||||
# expose:
|
||||
# - "8080"
|
||||
# environment:
|
||||
# - SERVER_PORT=${SERVER_PORT}
|
||||
# - PROFILE=${PROFILE}
|
||||
# volumes:
|
||||
# - opendmp/file-transformer-rda-json/config:/config
|
||||
# - opendmp/file-transformer-rda-json/internal:/internal
|
||||
# - logs/file-transformer-rda-json:/logs
|
||||
# - storage/file-transformer-rda-json:/storage
|
||||
# networks:
|
||||
# - opendmp-backend-network
|
||||
# - opendmp-plugins-network
|
||||
opendmp.file.transformer.rdajson:
|
||||
restart: unless-stopped
|
||||
cpus: 1
|
||||
mem_limit: 1024m
|
||||
expose:
|
||||
- "8080"
|
||||
environment:
|
||||
- SERVER_PORT=${SERVER_PORT}
|
||||
- PROFILE=${PROFILE}
|
||||
volumes:
|
||||
- ./opendmp/file-transformer-rda-json/config:/config
|
||||
- ./opendmp/file-transformer-rda-json/internal:/internal
|
||||
- ./logs/opendmp/file-transformer-rda-json:/logs
|
||||
- ./storage/opendmp/file-transformer-rda-json:/storage
|
||||
networks:
|
||||
- opendmp-backend-network
|
||||
- opendmp-plugins-network
|
||||
|
||||
############################## ZENODO #######################################
|
||||
# opendmp.zenodo:
|
||||
# restart: unless-stopped
|
||||
# cpus: 1
|
||||
# mem_limit: 1024m
|
||||
# expose:
|
||||
# - "8080"
|
||||
# environment:
|
||||
# - PROFILE=${PROFILE}
|
||||
# volumes:
|
||||
# - /opendmp/zenodo/config:/config
|
||||
# - /opendmp/zenodo/zenodo.jpg:/zenodo.jpg
|
||||
# - /logs/zenodo:/logs
|
||||
# networks:
|
||||
# - opendmp-plugins-network
|
||||
# - opendmp-keycloak-shared-network
|
||||
opendmp.zenodo:
|
||||
restart: unless-stopped
|
||||
cpus: 1
|
||||
mem_limit: 1024m
|
||||
expose:
|
||||
- "8080"
|
||||
environment:
|
||||
- PROFILE=${PROFILE}
|
||||
volumes:
|
||||
- ./opendmp/zenodo/config:/config
|
||||
- ./opendmp/zenodo/zenodo.jpg:/zenodo.jpg
|
||||
- ./storage/opendmp/zenodo:/storage
|
||||
- ./logs/opendmp/zenodo:/logs
|
||||
networks:
|
||||
- opendmp-plugins-network
|
||||
- opendmp-keycloak-shared-network
|
||||
|
||||
############################## POSTGRES 16 #################################
|
||||
|
||||
|
@ -175,155 +176,56 @@ services:
|
|||
retries: 5
|
||||
|
||||
|
||||
################################# ELK #################################################
|
||||
# elk.setup:
|
||||
# profiles:
|
||||
# - setup
|
||||
# build:
|
||||
# context: ./elk/setup/
|
||||
# args:
|
||||
# ELASTIC_VERSION: ${ELASTIC_VERSION}
|
||||
# init: true
|
||||
# env_file:
|
||||
# - elk/elk.env
|
||||
# volumes:
|
||||
# - ./setup/entrypoint.sh:/entrypoint.sh:ro,Z
|
||||
# - ./setup/lib.sh:/lib.sh:ro,Z
|
||||
# - ./setup/roles:/roles:ro,Z
|
||||
# environment:
|
||||
# ELASTIC_PASSWORD: ${ELASTIC_PASSWORD:-}
|
||||
# LOGSTASH_INTERNAL_PASSWORD: ${LOGSTASH_INTERNAL_PASSWORD:-}
|
||||
# KIBANA_SYSTEM_PASSWORD: ${KIBANA_SYSTEM_PASSWORD:-}
|
||||
# METRICBEAT_INTERNAL_PASSWORD: ${METRICBEAT_INTERNAL_PASSWORD:-}
|
||||
# FILEBEAT_INTERNAL_PASSWORD: ${FILEBEAT_INTERNAL_PASSWORD:-}
|
||||
# HEARTBEAT_INTERNAL_PASSWORD: ${HEARTBEAT_INTERNAL_PASSWORD:-}
|
||||
# MONITORING_INTERNAL_PASSWORD: ${MONITORING_INTERNAL_PASSWORD:-}
|
||||
# BEATS_SYSTEM_PASSWORD: ${BEATS_SYSTEM_PASSWORD:-}
|
||||
# networks:
|
||||
# - opendmp-elastic-network
|
||||
|
||||
# opendmp.elasticsearch:
|
||||
# restart: unless-stopped
|
||||
# cpus: 2
|
||||
# mem_limit: 1024m
|
||||
# init: true
|
||||
# env_file:
|
||||
# - elk/elk.env
|
||||
# environment:
|
||||
# ES_JAVA_OPTS: -Xmx512m -Xms512m
|
||||
# node.name: elasticsearch
|
||||
# ELASTIC_PASSWORD: ${ELASTIC_PASSWORD:-}
|
||||
# ulimits:
|
||||
# nproc: 65535
|
||||
# memlock:
|
||||
# soft: -1
|
||||
# hard: -1
|
||||
# volumes:
|
||||
# - ./elk/config-elk/elasticsearch/config/log4j2.properties:/usr/share/elasticsearch/config/log4j2.properties:ro
|
||||
# - ./elk/config-elk/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
|
||||
# - ./elk/data-elk/elasticsearch-data:/usr/share/elasticsearch/data
|
||||
# - ./elk/data-elk/elasticsearch-log:/usr/share/elasticsearch/logs
|
||||
# expose:
|
||||
# - "9200"
|
||||
# - "9300"
|
||||
# networks:
|
||||
# - opendmp-elastic-network
|
||||
# - opendmp-elastic-shared-network
|
||||
# healthcheck:
|
||||
# test: curl --cacert /usr/share/elasticsearch/config/certificates/ca/ca.crt -s https://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 5
|
||||
|
||||
# opendmp.kibana:
|
||||
# restart: unless-stopped
|
||||
# cpus: 2
|
||||
# mem_limit: 1024m
|
||||
# ulimits:
|
||||
# memlock:
|
||||
# soft: -1
|
||||
# hard: -1
|
||||
# environment:
|
||||
# - xpack.license.self_generated.type=basic
|
||||
# - xpack.security.enabled=true
|
||||
# volumes:
|
||||
# - ./elk/config-elk/kibana/config:/usr/share/kibana/config:ro
|
||||
# expose:
|
||||
# - "5601"
|
||||
# networks:
|
||||
# - opendmp-elastic-network
|
||||
|
||||
# logstash:
|
||||
# build:
|
||||
# context: logstash/
|
||||
# args:
|
||||
# ELASTIC_VERSION: ${ELASTIC_VERSION}
|
||||
# volumes:
|
||||
# - ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro,Z
|
||||
# - ./logstash/pipeline:/usr/share/logstash/pipeline:ro,Z
|
||||
# ports:
|
||||
# - 5044:5044
|
||||
# - 50000:50000/tcp
|
||||
# - 50000:50000/udp
|
||||
# - 9600:9600
|
||||
# environment:
|
||||
# LS_JAVA_OPTS: -Xms256m -Xmx256m
|
||||
# LOGSTASH_INTERNAL_PASSWORD: ${LOGSTASH_INTERNAL_PASSWORD:-}
|
||||
# networks:
|
||||
# - elk
|
||||
# depends_on:
|
||||
# - elasticsearch
|
||||
# restart: unless-stopped
|
||||
# # - /elk/data-elk/logstash-log:/usr/share/logstash/logs
|
||||
|
||||
# opendmp.filebeat:
|
||||
# restart: unless-stopped
|
||||
# cpus: 1
|
||||
# mem_limit: 1024m
|
||||
# ulimits:
|
||||
# memlock:
|
||||
# soft: -1
|
||||
# hard: -1
|
||||
# volumes:
|
||||
# - /var/run/docker.sock:/host_docker/docker.sock
|
||||
# - /var/lib/docker:/host_docker/var/lib/docker
|
||||
# - ./filebeat.yml:/usr/share/filebeat/filebeat.yml
|
||||
# command: ["--strict.perms=false"]
|
||||
# ulimits:
|
||||
# memlock:
|
||||
# soft: -1
|
||||
# hard: -1
|
||||
# stdin_open: true
|
||||
# tty: true
|
||||
# network_mode: bridge
|
||||
# deploy:
|
||||
# mode: global
|
||||
# logging:
|
||||
# driver: "json-file"
|
||||
# options:
|
||||
# max-size: "10m"
|
||||
# max-file: "50"
|
||||
|
||||
################################# ELASTICSEARCH #################################################
|
||||
opendmp.elasticsearch:
|
||||
restart: unless-stopped
|
||||
cpus: 2
|
||||
mem_limit: 1024m
|
||||
env_file:
|
||||
- elk/elk.env
|
||||
environment:
|
||||
ES_JAVA_OPTS: -Xmx512m -Xms512m
|
||||
ulimits:
|
||||
nproc: 65535
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
volumes:
|
||||
- ./elk/elasticsearch/index_init.sh:/usr/share/elasticsearch/config/index_init.sh
|
||||
- ./elk/elasticsearch/log4j2.properties:/usr/share/elasticsearch/config/log4j2.properties:ro
|
||||
- ./elk/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
|
||||
- ./storage/elasticsearch:/usr/share/elasticsearch/data
|
||||
- ./logs/elasticsearch:/usr/share/elasticsearch/logs
|
||||
expose:
|
||||
- "9200"
|
||||
- "9300"
|
||||
networks:
|
||||
- opendmp-elastic-shared-network
|
||||
healthcheck:
|
||||
test: curl -s http://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
|
||||
############################## KEYCLOAK ###############################################
|
||||
opendmp.keycloak:
|
||||
restart: unless-stopped
|
||||
command: ["start-dev", "--log=console,file", "--log-file=/tmp/logs/keycloak.log", "--import-realm"]
|
||||
cpus: 1
|
||||
mem_limit: 1024M
|
||||
env_file:
|
||||
- keycloak/keycloak.env
|
||||
environment:
|
||||
- JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=true"
|
||||
volumes:
|
||||
- ./logs/keycloak:/tmp/logs
|
||||
- ./keycloak/imports/opendmp-realm.json:/opt/keycloak/data/import/opendmp-realm.json
|
||||
expose:
|
||||
- "8080"
|
||||
networks:
|
||||
- opendmp-proxy-network
|
||||
- opendmp-postgres-shared-network
|
||||
- opendmp-keycloak-shared-network
|
||||
# opendmp.keycloak:
|
||||
# restart: unless-stopped
|
||||
# command: ["start-dev", "--log=console,file", "--log-file=/tmp/logs/keycloak.log", "--import-realm"]
|
||||
# cpus: 2
|
||||
# mem_limit: 2048M
|
||||
# env_file:
|
||||
# - keycloak/keycloak.env
|
||||
# environment:
|
||||
# - JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=true"
|
||||
# volumes:
|
||||
# - ./logs/keycloak:/tmp/logs
|
||||
# - ./keycloak/imports/opendmp-realm.json:/opt/keycloak/data/import/opendmp-realm.json
|
||||
# expose:
|
||||
# - "8080"
|
||||
# networks:
|
||||
# - opendmp-proxy-network
|
||||
# - opendmp-postgres-shared-network
|
||||
# - opendmp-keycloak-shared-network
|
||||
|
||||
############################## RABBITMQ ###############################################
|
||||
opendmp.rabbitmq:
|
||||
|
@ -345,6 +247,7 @@ services:
|
|||
|
||||
############################## GOTENBERG ##############################################
|
||||
opendmp.gotenberg:
|
||||
cpus: 2
|
||||
mem_limit: 2048m
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
|
@ -356,8 +259,6 @@ services:
|
|||
- opendmp-gotenberg-shared-network
|
||||
|
||||
networks:
|
||||
opendmp-elastic-network:
|
||||
name: opendmp-elastic-network
|
||||
opendmp-proxy-network:
|
||||
name: opendmp-proxy-network
|
||||
opendmp-backend-network:
|
||||
|
|
|
@ -3,100 +3,75 @@ services:
|
|||
opendmp.proxy:
|
||||
container_name: opendmp.proxy
|
||||
image: nginx:${PROXY_TAG}
|
||||
depends_on:
|
||||
- opendmp.keycloak
|
||||
# - opendmp.kibana
|
||||
# depends_on:
|
||||
# - opendmp.keycloak
|
||||
|
||||
# ############################## OPENDMP APP #################################
|
||||
############################## OPENDMP APP #################################
|
||||
|
||||
# opendmp.frontend:
|
||||
# container_name: opendmp.frontend
|
||||
# image: ${DOCKER_REGISTRY}open-dmp-webapp:${MAIN_APP_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.backend
|
||||
# - opendmp.notification
|
||||
# - opendmp.annotation
|
||||
opendmp.frontend:
|
||||
container_name: opendmp.frontend
|
||||
image: ${DOCKER_REGISTRY}open-dmp-webapp:${MAIN_APP_TAG}
|
||||
depends_on:
|
||||
- opendmp.backend
|
||||
- opendmp.notification
|
||||
- opendmp.annotation
|
||||
|
||||
# opendmp.backend:
|
||||
# container_name: opendmp.backend
|
||||
# image: ${DOCKER_REGISTRY}open-dmp-api:${MAIN_APP_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.postgres
|
||||
opendmp.backend:
|
||||
container_name: opendmp.backend
|
||||
image: ${DOCKER_REGISTRY}open-dmp-api:${MAIN_APP_TAG}
|
||||
depends_on:
|
||||
- opendmp.postgres
|
||||
|
||||
# opendmp.notification:
|
||||
# container_name: opendmp.notification
|
||||
# image: ${DOCKER_REGISTRY}open-dmp-notification-api:${NOTIFICATION_APP_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.postgres
|
||||
opendmp.notification:
|
||||
container_name: opendmp.notification
|
||||
image: ${DOCKER_REGISTRY}open-dmp-notification-api:${NOTIFICATION_APP_TAG}
|
||||
depends_on:
|
||||
- opendmp.postgres
|
||||
|
||||
# opendmp.annotation:
|
||||
# container_name: opendmp.annotation
|
||||
# image: ${DOCKER_REGISTRY}open-dmp-annotation-api:${ANNOTATION_APP_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.postgres
|
||||
opendmp.annotation:
|
||||
container_name: opendmp.annotation
|
||||
image: ${DOCKER_REGISTRY}open-dmp-annotation-api:${ANNOTATION_APP_TAG}
|
||||
depends_on:
|
||||
- opendmp.postgres
|
||||
|
||||
# ############################## FILE-TRANSFORMERS #######################################
|
||||
|
||||
# opendmp.file.transformer.docx:
|
||||
# container_name: opendmp.file.transformer.docx
|
||||
# image: ${DOCKER_REGISTRY}file-transformation-docx-api:${DOCX_APP_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.backend
|
||||
opendmp.file.transformer.docx:
|
||||
container_name: opendmp.file.transformer.docx
|
||||
image: ${DOCKER_REGISTRY}file-transformation-docx-api:${DOCX_APP_TAG}
|
||||
depends_on:
|
||||
- opendmp.backend
|
||||
|
||||
# opendmp.file.transformer.rdajson:
|
||||
# container_name: opendmp.file.transformer.rdajson
|
||||
# image: ${DOCKER_REGISTRY}file-transformation-rda-json-api:${JSON_APP_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.backend
|
||||
opendmp.file.transformer.rdajson:
|
||||
container_name: opendmp.file.transformer.rdajson
|
||||
image: ${DOCKER_REGISTRY}file-transformation-rda-json-api:${JSON_APP_TAG}
|
||||
depends_on:
|
||||
- opendmp.backend
|
||||
|
||||
################################ ZENODO ###############################################
|
||||
# opendmp.zenodo:
|
||||
# container_name: opendmp.zenodo
|
||||
# image: ${DOCKER_REGISTRY}repository-deposit-zenodo:${ZENODO_APP_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.backend
|
||||
opendmp.zenodo:
|
||||
container_name: opendmp.zenodo
|
||||
image: ${DOCKER_REGISTRY}repository-deposit-zenodo:${ZENODO_APP_TAG}
|
||||
depends_on:
|
||||
- opendmp.backend
|
||||
|
||||
############################## POSTGRES 16 ############################################
|
||||
opendmp.postgres:
|
||||
container_name: opendmp.postgres
|
||||
image: postgres:${POSTGRES_TAG}
|
||||
|
||||
################################# ELK #################################################
|
||||
# elk.setup:
|
||||
# container_name: elk.setup
|
||||
# depends_on:
|
||||
# - opendmp.elasticsearch
|
||||
|
||||
# opendmp.elasticsearch:
|
||||
# container_name: opendmp.elasticsearch
|
||||
# image: docker.elastic.co/elasticsearch/elasticsearch:${ELK_TAG}
|
||||
|
||||
# opendmp.kibana:
|
||||
# container_name: opendmp.kibana
|
||||
# image: docker.elastic.co/kibana/kibana:${ELK_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.elasticsearch
|
||||
|
||||
# opendmp.logstash:
|
||||
# container_name: opendmp.logstash
|
||||
# image: docker.elastic.co/beats/filebeat:${ELK_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.elasticsearch
|
||||
|
||||
# opendmp.filebeat:
|
||||
# container_name: opendmp.filebeat
|
||||
# image: docker.elastic.co/logstash/logstash:${ELK_TAG}
|
||||
# depends_on:
|
||||
# - opendmp.elasticsearch
|
||||
# - opendmp.logstash
|
||||
################################# ELASTICSEARCH #################################################
|
||||
opendmp.elasticsearch:
|
||||
container_name: opendmp.elasticsearch
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:${ELK_TAG}
|
||||
|
||||
############################## KEYCLOAK ###############################################
|
||||
opendmp.keycloak:
|
||||
container_name: opendmp.keycloak
|
||||
image: quay.io/keycloak/keycloak:${KEYCLOAK_TAG}
|
||||
depends_on:
|
||||
opendmp.postgres:
|
||||
condition: service_healthy
|
||||
# opendmp.keycloak:
|
||||
# container_name: opendmp.keycloak
|
||||
# image: quay.io/keycloak/keycloak:${KEYCLOAK_TAG}
|
||||
# depends_on:
|
||||
# opendmp.postgres:
|
||||
# condition: service_healthy
|
||||
|
||||
############################## RABBITMQ ###############################################
|
||||
opendmp.rabbitmq:
|
||||
|
|
|
@ -2,4 +2,10 @@
|
|||
cluster.name: opendmp-cluster
|
||||
network.host: 0.0.0.0
|
||||
|
||||
discovery.type: single-node
|
||||
discovery.type: single-node
|
||||
node.name: elasticsearch
|
||||
|
||||
xpack.license.self_generated.type: trial
|
||||
xpack.security.enabled: true
|
||||
xpack.security.authc.api_key.enabled: true
|
||||
xpack.monitoring.collection.enabled: true
|
|
@ -0,0 +1,50 @@
|
|||
#!/bin/bash
|
||||
echo "Elasticsearch is now available. Proceeding with initialization..."
|
||||
|
||||
echo "Creating Elasticsearch indexes, roles, and users..."
|
||||
|
||||
# Command to create the "plans" index
|
||||
curl -XPUT "http://localhost:9200/plans" -u elastic:elastic -H 'Content-Type: application/json' -d '{
|
||||
"settings": {
|
||||
"number_of_shards": 1,
|
||||
"number_of_replicas": 1
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"title": { "type": "text" },
|
||||
"description": { "type": "text" },
|
||||
"price": { "type": "float" },
|
||||
"date_added": { "type": "date" }
|
||||
}
|
||||
}
|
||||
}'
|
||||
|
||||
# Command to create the "descriptions" index
|
||||
curl -XPUT "http://localhost:9200/descriptions" -u elastic:elastic -H 'Content-Type: application/json' -d '{
|
||||
"settings": {
|
||||
"number_of_shards": 1,
|
||||
"number_of_replicas": 1
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"product_id": { "type": "keyword" },
|
||||
"description_text": { "type": "text" },
|
||||
"language": { "type": "keyword" }
|
||||
}
|
||||
}
|
||||
}'
|
||||
|
||||
curl -XPOST "localhost:9200/_security/role/opendmp-api-test" -u elastic:elastic -H 'Content-Type: application/json' -d '{
|
||||
"indices": [
|
||||
{
|
||||
"names": [ "opendmp-*-test" ],
|
||||
"privileges": [ "all" ]
|
||||
}
|
||||
]
|
||||
}'
|
||||
|
||||
curl -XPOST "localhost:9200/_security/user/opendmp-api-test?pretty" -u elastic:elastic -H 'Content-Type: application/json' -d'
|
||||
{
|
||||
"password" : "your_password_here",
|
||||
"roles" : [ "opendmp-api-test" ]
|
||||
}'
|
|
@ -1,4 +1,4 @@
|
|||
#https://github.com/elastic/elasticsearch/blob/7.4/distribution/src/config/log4j2.properties
|
||||
#http://github.com/elastic/elasticsearch/blob/7.4/distribution/src/config/log4j2.properties
|
||||
|
||||
status = error
|
||||
|
||||
|
|
|
@ -1,8 +1 @@
|
|||
ELASTIC_PASSWORD= elastic
|
||||
KIBANA_SYSTEM_PASSWORD= kibana
|
||||
LOGSTASH_INTERNAL_PASSWORD= logstash
|
||||
FILEBEAT_INTERNAL_PASSWORD= filebeat
|
||||
METRICBEAT_INTERNAL_PASSWORD=''
|
||||
HEARTBEAT_INTERNAL_PASSWORD=''
|
||||
MONITORING_INTERNAL_PASSWORD=''
|
||||
BEATS_SYSTEM_PASSWORD=''
|
||||
ELASTIC_PASSWORD= elastic
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
server.name: opendmp.kibana
|
||||
server.host: 0.0.0.0
|
||||
|
||||
elasticsearch.hosts: [ "http://opendmp.elasticsearch:9200" ]
|
||||
|
||||
elasticsearch.username: kibana
|
||||
elasticsearch.password: ${KIBANA_SYSTEM_PASSWORD}
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
http.host: 0.0.0.0
|
||||
|
||||
node.name: logstash
|
|
@ -1,119 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
source "${BASH_SOURCE[0]%/*}"/lib.sh
|
||||
|
||||
|
||||
# --------------------------------------------------------
|
||||
# Users declarations
|
||||
|
||||
declare -A users_passwords
|
||||
users_passwords=(
|
||||
[logstash_internal]="${LOGSTASH_INTERNAL_PASSWORD:-}"
|
||||
[kibana_system]="${KIBANA_SYSTEM_PASSWORD:-}"
|
||||
[metricbeat_internal]="${METRICBEAT_INTERNAL_PASSWORD:-}"
|
||||
[filebeat_internal]="${FILEBEAT_INTERNAL_PASSWORD:-}"
|
||||
[heartbeat_internal]="${HEARTBEAT_INTERNAL_PASSWORD:-}"
|
||||
[monitoring_internal]="${MONITORING_INTERNAL_PASSWORD:-}"
|
||||
[beats_system]="${BEATS_SYSTEM_PASSWORD=:-}"
|
||||
)
|
||||
|
||||
declare -A users_roles
|
||||
users_roles=(
|
||||
[logstash_internal]='logstash_writer'
|
||||
[metricbeat_internal]='metricbeat_writer'
|
||||
[filebeat_internal]='filebeat_writer'
|
||||
[heartbeat_internal]='heartbeat_writer'
|
||||
[monitoring_internal]='remote_monitoring_collector'
|
||||
)
|
||||
|
||||
# --------------------------------------------------------
|
||||
# Roles declarations
|
||||
|
||||
declare -A roles_files
|
||||
roles_files=(
|
||||
[logstash_writer]='logstash_writer.json'
|
||||
[metricbeat_writer]='metricbeat_writer.json'
|
||||
[filebeat_writer]='filebeat_writer.json'
|
||||
[heartbeat_writer]='heartbeat_writer.json'
|
||||
)
|
||||
|
||||
# --------------------------------------------------------
|
||||
|
||||
|
||||
log 'Waiting for availability of Elasticsearch. This can take several minutes.'
|
||||
|
||||
declare -i exit_code=0
|
||||
wait_for_elasticsearch || exit_code=$?
|
||||
|
||||
if ((exit_code)); then
|
||||
case $exit_code in
|
||||
6)
|
||||
suberr 'Could not resolve host. Is Elasticsearch running?'
|
||||
;;
|
||||
7)
|
||||
suberr 'Failed to connect to host. Is Elasticsearch healthy?'
|
||||
;;
|
||||
28)
|
||||
suberr 'Timeout connecting to host. Is Elasticsearch healthy?'
|
||||
;;
|
||||
*)
|
||||
suberr "Connection to Elasticsearch failed. Exit code: ${exit_code}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit $exit_code
|
||||
fi
|
||||
|
||||
sublog 'Elasticsearch is running'
|
||||
|
||||
log 'Waiting for initialization of built-in users'
|
||||
|
||||
wait_for_builtin_users || exit_code=$?
|
||||
|
||||
if ((exit_code)); then
|
||||
suberr 'Timed out waiting for condition'
|
||||
exit $exit_code
|
||||
fi
|
||||
|
||||
sublog 'Built-in users were initialized'
|
||||
|
||||
for role in "${!roles_files[@]}"; do
|
||||
log "Role '$role'"
|
||||
|
||||
declare body_file
|
||||
body_file="${BASH_SOURCE[0]%/*}/roles/${roles_files[$role]:-}"
|
||||
if [[ ! -f "${body_file:-}" ]]; then
|
||||
sublog "No role body found at '${body_file}', skipping"
|
||||
continue
|
||||
fi
|
||||
|
||||
sublog 'Creating/updating'
|
||||
ensure_role "$role" "$(<"${body_file}")"
|
||||
done
|
||||
|
||||
for user in "${!users_passwords[@]}"; do
|
||||
log "User '$user'"
|
||||
if [[ -z "${users_passwords[$user]:-}" ]]; then
|
||||
sublog 'No password defined, skipping'
|
||||
continue
|
||||
fi
|
||||
|
||||
declare -i user_exists=0
|
||||
user_exists="$(check_user_exists "$user")"
|
||||
|
||||
if ((user_exists)); then
|
||||
sublog 'User exists, setting password'
|
||||
set_user_password "$user" "${users_passwords[$user]}"
|
||||
else
|
||||
if [[ -z "${users_roles[$user]:-}" ]]; then
|
||||
suberr ' No role defined, skipping creation'
|
||||
continue
|
||||
fi
|
||||
|
||||
sublog 'User does not exist, creating'
|
||||
create_user "$user" "${users_passwords[$user]}" "${users_roles[$user]}"
|
||||
fi
|
||||
done
|
|
@ -1,240 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Log a message.
|
||||
function log {
|
||||
echo "[+] $1"
|
||||
}
|
||||
|
||||
# Log a message at a sub-level.
|
||||
function sublog {
|
||||
echo " ⠿ $1"
|
||||
}
|
||||
|
||||
# Log an error.
|
||||
function err {
|
||||
echo "[x] $1" >&2
|
||||
}
|
||||
|
||||
# Log an error at a sub-level.
|
||||
function suberr {
|
||||
echo " ⠍ $1" >&2
|
||||
}
|
||||
|
||||
# Poll the 'elasticsearch' service until it responds with HTTP code 200.
|
||||
function wait_for_elasticsearch {
|
||||
local elasticsearch_host="${ELASTICSEARCH_HOST:-elasticsearch}"
|
||||
|
||||
local -a args=( '-s' '-D-' '-m15' '-w' '%{http_code}' "http://${elasticsearch_host}:9200/" )
|
||||
|
||||
if [[ -n "${ELASTIC_PASSWORD:-}" ]]; then
|
||||
args+=( '-u' "elastic:${ELASTIC_PASSWORD}" )
|
||||
fi
|
||||
|
||||
local -i result=1
|
||||
local output
|
||||
|
||||
# retry for max 300s (60*5s)
|
||||
for _ in $(seq 1 60); do
|
||||
local -i exit_code=0
|
||||
output="$(curl "${args[@]}")" || exit_code=$?
|
||||
|
||||
if ((exit_code)); then
|
||||
result=$exit_code
|
||||
fi
|
||||
|
||||
if [[ "${output: -3}" -eq 200 ]]; then
|
||||
result=0
|
||||
break
|
||||
fi
|
||||
|
||||
sleep 5
|
||||
done
|
||||
|
||||
if ((result)) && [[ "${output: -3}" -ne 000 ]]; then
|
||||
echo -e "\n${output::-3}"
|
||||
fi
|
||||
|
||||
return $result
|
||||
}
|
||||
|
||||
# Poll the Elasticsearch users API until it returns users.
|
||||
function wait_for_builtin_users {
|
||||
local elasticsearch_host="${ELASTICSEARCH_HOST:-elasticsearch}"
|
||||
|
||||
local -a args=( '-s' '-D-' '-m15' "http://${elasticsearch_host}:9200/_security/user?pretty" )
|
||||
|
||||
if [[ -n "${ELASTIC_PASSWORD:-}" ]]; then
|
||||
args+=( '-u' "elastic:${ELASTIC_PASSWORD}" )
|
||||
fi
|
||||
|
||||
local -i result=1
|
||||
|
||||
local line
|
||||
local -i exit_code
|
||||
local -i num_users
|
||||
|
||||
# retry for max 30s (30*1s)
|
||||
for _ in $(seq 1 30); do
|
||||
num_users=0
|
||||
|
||||
# read exits with a non-zero code if the last read input doesn't end
|
||||
# with a newline character. The printf without newline that follows the
|
||||
# curl command ensures that the final input not only contains curl's
|
||||
# exit code, but causes read to fail so we can capture the return value.
|
||||
# Ref. https://unix.stackexchange.com/a/176703/152409
|
||||
while IFS= read -r line || ! exit_code="$line"; do
|
||||
if [[ "$line" =~ _reserved.+true ]]; then
|
||||
(( num_users++ ))
|
||||
fi
|
||||
done < <(curl "${args[@]}"; printf '%s' "$?")
|
||||
|
||||
if ((exit_code)); then
|
||||
result=$exit_code
|
||||
fi
|
||||
|
||||
# we expect more than just the 'elastic' user in the result
|
||||
if (( num_users > 1 )); then
|
||||
result=0
|
||||
break
|
||||
fi
|
||||
|
||||
sleep 1
|
||||
done
|
||||
|
||||
return $result
|
||||
}
|
||||
|
||||
# Verify that the given Elasticsearch user exists.
|
||||
function check_user_exists {
|
||||
local username=$1
|
||||
|
||||
local elasticsearch_host="${ELASTICSEARCH_HOST:-elasticsearch}"
|
||||
|
||||
local -a args=( '-s' '-D-' '-m15' '-w' '%{http_code}'
|
||||
"http://${elasticsearch_host}:9200/_security/user/${username}"
|
||||
)
|
||||
|
||||
if [[ -n "${ELASTIC_PASSWORD:-}" ]]; then
|
||||
args+=( '-u' "elastic:${ELASTIC_PASSWORD}" )
|
||||
fi
|
||||
|
||||
local -i result=1
|
||||
local -i exists=0
|
||||
local output
|
||||
|
||||
output="$(curl "${args[@]}")"
|
||||
if [[ "${output: -3}" -eq 200 || "${output: -3}" -eq 404 ]]; then
|
||||
result=0
|
||||
fi
|
||||
if [[ "${output: -3}" -eq 200 ]]; then
|
||||
exists=1
|
||||
fi
|
||||
|
||||
if ((result)); then
|
||||
echo -e "\n${output::-3}"
|
||||
else
|
||||
echo "$exists"
|
||||
fi
|
||||
|
||||
return $result
|
||||
}
|
||||
|
||||
# Set password of a given Elasticsearch user.
|
||||
function set_user_password {
|
||||
local username=$1
|
||||
local password=$2
|
||||
|
||||
local elasticsearch_host="${ELASTICSEARCH_HOST:-elasticsearch}"
|
||||
|
||||
local -a args=( '-s' '-D-' '-m15' '-w' '%{http_code}'
|
||||
"http://${elasticsearch_host}:9200/_security/user/${username}/_password"
|
||||
'-X' 'POST'
|
||||
'-H' 'Content-Type: application/json'
|
||||
'-d' "{\"password\" : \"${password}\"}"
|
||||
)
|
||||
|
||||
if [[ -n "${ELASTIC_PASSWORD:-}" ]]; then
|
||||
args+=( '-u' "elastic:${ELASTIC_PASSWORD}" )
|
||||
fi
|
||||
|
||||
local -i result=1
|
||||
local output
|
||||
|
||||
output="$(curl "${args[@]}")"
|
||||
if [[ "${output: -3}" -eq 200 ]]; then
|
||||
result=0
|
||||
fi
|
||||
|
||||
if ((result)); then
|
||||
echo -e "\n${output::-3}\n"
|
||||
fi
|
||||
|
||||
return $result
|
||||
}
|
||||
|
||||
# Create the given Elasticsearch user.
|
||||
function create_user {
|
||||
local username=$1
|
||||
local password=$2
|
||||
local role=$3
|
||||
|
||||
local elasticsearch_host="${ELASTICSEARCH_HOST:-elasticsearch}"
|
||||
|
||||
local -a args=( '-s' '-D-' '-m15' '-w' '%{http_code}'
|
||||
"http://${elasticsearch_host}:9200/_security/user/${username}"
|
||||
'-X' 'POST'
|
||||
'-H' 'Content-Type: application/json'
|
||||
'-d' "{\"password\":\"${password}\",\"roles\":[\"${role}\"]}"
|
||||
)
|
||||
|
||||
if [[ -n "${ELASTIC_PASSWORD:-}" ]]; then
|
||||
args+=( '-u' "elastic:${ELASTIC_PASSWORD}" )
|
||||
fi
|
||||
|
||||
local -i result=1
|
||||
local output
|
||||
|
||||
output="$(curl "${args[@]}")"
|
||||
if [[ "${output: -3}" -eq 200 ]]; then
|
||||
result=0
|
||||
fi
|
||||
|
||||
if ((result)); then
|
||||
echo -e "\n${output::-3}\n"
|
||||
fi
|
||||
|
||||
return $result
|
||||
}
|
||||
|
||||
# Ensure that the given Elasticsearch role is up-to-date, create it if required.
|
||||
function ensure_role {
|
||||
local name=$1
|
||||
local body=$2
|
||||
|
||||
local elasticsearch_host="${ELASTICSEARCH_HOST:-elasticsearch}"
|
||||
|
||||
local -a args=( '-s' '-D-' '-m15' '-w' '%{http_code}'
|
||||
"http://${elasticsearch_host}:9200/_security/role/${name}"
|
||||
'-X' 'POST'
|
||||
'-H' 'Content-Type: application/json'
|
||||
'-d' "$body"
|
||||
)
|
||||
|
||||
if [[ -n "${ELASTIC_PASSWORD:-}" ]]; then
|
||||
args+=( '-u' "elastic:${ELASTIC_PASSWORD}" )
|
||||
fi
|
||||
|
||||
local -i result=1
|
||||
local output
|
||||
|
||||
output="$(curl "${args[@]}")"
|
||||
if [[ "${output: -3}" -eq 200 ]]; then
|
||||
result=0
|
||||
fi
|
||||
|
||||
if ((result)); then
|
||||
echo -e "\n${output::-3}\n"
|
||||
fi
|
||||
|
||||
return $result
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"cluster": [
|
||||
"manage_ilm",
|
||||
"manage_index_templates",
|
||||
"manage_ingest_pipelines",
|
||||
"monitor",
|
||||
"read_pipeline"
|
||||
],
|
||||
"indices": [
|
||||
{
|
||||
"names": [
|
||||
"filebeat-*"
|
||||
],
|
||||
"privileges": [
|
||||
"create_doc",
|
||||
"manage"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"cluster": [
|
||||
"manage_ilm",
|
||||
"manage_index_templates",
|
||||
"monitor"
|
||||
],
|
||||
"indices": [
|
||||
{
|
||||
"names": [
|
||||
"heartbeat-*"
|
||||
],
|
||||
"privileges": [
|
||||
"create_doc",
|
||||
"manage"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
{
|
||||
"cluster": [
|
||||
"manage_index_templates",
|
||||
"monitor",
|
||||
"manage_ilm"
|
||||
],
|
||||
"indices": [
|
||||
{
|
||||
"names": [
|
||||
"logs-generic-default",
|
||||
"logstash-*",
|
||||
"ecs-logstash-*"
|
||||
],
|
||||
"privileges": [
|
||||
"write",
|
||||
"create",
|
||||
"create_index",
|
||||
"manage",
|
||||
"manage_ilm"
|
||||
]
|
||||
},
|
||||
{
|
||||
"names": [
|
||||
"logstash",
|
||||
"ecs-logstash"
|
||||
],
|
||||
"privileges": [
|
||||
"write",
|
||||
"manage"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"cluster": [
|
||||
"manage_ilm",
|
||||
"manage_index_templates",
|
||||
"monitor"
|
||||
],
|
||||
"indices": [
|
||||
{
|
||||
"names": [
|
||||
".monitoring-*-mb",
|
||||
"metricbeat-*"
|
||||
],
|
||||
"privileges": [
|
||||
"create_doc",
|
||||
"manage"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDvzCCAqegAwIBAgIUL9YHiVgQxrFPSGq4nMe6KbMznaowDQYJKoZIhvcNAQEL
|
||||
BQAwbzELMAkGA1UEBhMCR1IxDzANBgNVBAgMBkF0dGljYTEPMA0GA1UEBwwGQXRo
|
||||
ZW5zMQwwCgYDVQQKDANOTEcxDjAMBgNVBAsMBU9TRFlFMSAwHgYDVQQDDBdubGct
|
||||
b3NkeWUubG9jYWwuY2l0ZS5ncjAeFw0yMDExMjcxODMzNTJaFw0yMTExMjcxODMz
|
||||
NTJaMG8xCzAJBgNVBAYTAkdSMQ8wDQYDVQQIDAZBdHRpY2ExDzANBgNVBAcMBkF0
|
||||
aGVuczEMMAoGA1UECgwDTkxHMQ4wDAYDVQQLDAVPU0RZRTEgMB4GA1UEAwwXbmxn
|
||||
LW9zZHllLmxvY2FsLmNpdGUuZ3IwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
|
||||
AoIBAQCYsoKFVSg67/NckladOuqFDeJWMYOYa1MhMTCpLL5UksoYM+BiKbWvXmRH
|
||||
AGZAjIO2sGf6vTFO7SN6LdjCRRqJfS9zQVKHZKUdvfxkGnPaAIqWAwQkM4fFUlZF
|
||||
e5jsGd7owCoEEFAirJpz53z27Xa0En5CLSI5eLGBqLNz31zi1Rdh5BPLAtgLGEoS
|
||||
kOhlDXwgGtTmBAS82sXRr51J6DQr5stKsN68+DCwJiY6GU3Kun2Kyl+bepkEtHLM
|
||||
SOxe5Du3F93kC4TwFckG+JSLrq8neXNbyoBOLYNxPzAGLg9vmD7nX02hFfONdX5p
|
||||
zeGMD+0oyujL0HtH8nKkv9OtvYP1AgMBAAGjUzBRMB0GA1UdDgQWBBTrvPpWYBX6
|
||||
spVt2gpkpDW6yzrBZzAfBgNVHSMEGDAWgBTrvPpWYBX6spVt2gpkpDW6yzrBZzAP
|
||||
BgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAqfOJiorxiszfKKeD2
|
||||
eVda5pBU+qDnUOewRKizAktPm7V+cjM7bTEkmEHQ/oKlsT0FX5nsa8YfZCYgdotd
|
||||
cDWC9KqYy9itXPESoJIZ/gMJ57v1BaVDly8tHedXEltob9ywrUyf7OF55eP0fWwb
|
||||
AK90PfnRsxaurVYU5nfI9U/2jpi/LdsEYlJ7zUj7KM/Z2MwPA+be4EqjNcYLT/NB
|
||||
bavhjLgZNoTkI7wYOJug+ouPn6xJJcj06RS1Q4FxtfrsnAuT+L33HemUludEUE00
|
||||
TJwYWJN9hOgbyzTf5EsHxxME1gIhcYLYPMeBr9VIyJxdAEuuDJbn87oOB094sCA+
|
||||
nvpp
|
||||
-----END CERTIFICATE-----
|
|
@ -1,28 +0,0 @@
|
|||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCYsoKFVSg67/Nc
|
||||
kladOuqFDeJWMYOYa1MhMTCpLL5UksoYM+BiKbWvXmRHAGZAjIO2sGf6vTFO7SN6
|
||||
LdjCRRqJfS9zQVKHZKUdvfxkGnPaAIqWAwQkM4fFUlZFe5jsGd7owCoEEFAirJpz
|
||||
53z27Xa0En5CLSI5eLGBqLNz31zi1Rdh5BPLAtgLGEoSkOhlDXwgGtTmBAS82sXR
|
||||
r51J6DQr5stKsN68+DCwJiY6GU3Kun2Kyl+bepkEtHLMSOxe5Du3F93kC4TwFckG
|
||||
+JSLrq8neXNbyoBOLYNxPzAGLg9vmD7nX02hFfONdX5pzeGMD+0oyujL0HtH8nKk
|
||||
v9OtvYP1AgMBAAECggEAajxoCpPAtaCT1GgL0sBWwdNzETzJrZWd9I3gqRL0KKsn
|
||||
58bP6fvS5/voEG36thYM3WHGNfDDCYJ7GFolYKPrXpS2Gp3r6T7gkdzIaGzvBVEz
|
||||
GkNm8jjX0TUDyLvBHSKyr4RitwkSd81WeCUqEDIOUCI9rZTxJsMN3IOetpNEcJt1
|
||||
xR2kVuTkQiIs5evQCQ2arqTf/VQFb7FuVTtmrOggsTn33FnrUDujTAAsbEoglgvw
|
||||
w1A2AYtMdGcrFIsUMJFdECkQGPVeqzKHddi1k1hv3DmOx5Rf4xJCdTL9ZYzbU1lw
|
||||
ydSAM88UA7MTZWNYCGb4HjqEeDRnMUN/Qbi4f80PgQKBgQDKWLxsCBBgFRoH6nlh
|
||||
TmBwYOmdQkBE09txpcpAFVZVv3eq/syZnT5+pcyj7EUexhu/p78UHPPkXDfnIKKe
|
||||
C+7VOEmSM9cPMZU6cqB1x4+YZkyiU1rPD2SG46ZxBBTKsPWauJNvtuhW3K6kwMCT
|
||||
ECiwG1f9EAmf9q7YKqdXGgUL3QKBgQDBL5WDIRtqHBdIPgHMue/teM+fP8I0/GKV
|
||||
D3oJjBLE+I7JNp0lpeVhDvqfAL0AgZ5023hjlPobUNtpWyuLufzY6S2Pv1scyM3A
|
||||
xW/LVXtC7QzdPmhrPxZkHEmRFA1zXdYo0xH4O+KDXVmYuzpIPfgrQkzt1EvP5jxv
|
||||
tbjY935C+QKBgHZhr+rsVNhBwDb9YQIi3p0gtcyBZCRgZjR5MHiJgzcri5GI/J6q
|
||||
tlNWIQGOS2oTsUxRkaLsxWvG4BXirAEXLiWkhrZ4icuj0JCfW21M0Z/xycf2SFx3
|
||||
vvKD4W6hWqCzIx3f+rITKp8XAT32XzQq8gMGHFY7ucXShryFR93XpTgpAoGALaAF
|
||||
WaDaDqdvwDoUxrsrNRSRRHUUctsglT/AfLy+OhLR9ieV2axijhexjRfpi1MRj1u+
|
||||
BRbMMuNXznwfvrJASyJXBloVNKkgHuUCUC1yHQ5LOX1hv+J4cVBU95Sa0KJaz+15
|
||||
kvzhtFC5tl6Rlzo7gEv6SzkWZpVjtKZgb62T/lECgYBr6PyDcGVGc8rbjxugnUnm
|
||||
rShh7nMRUiTMLpWrucf7Mfr4cwFgejCoEMXPgxJF5Q1acppL0dKQzfmLVqazNX58
|
||||
0XM0+fNDIeGyYKAbqtnqfmyI7O/Lb1jXPFuCNujzDxfeJX0yxoo38US4ZCD2iUrW
|
||||
ZK/FFkm5ncXTenBhpHOANQ==
|
||||
-----END PRIVATE KEY-----
|
|
@ -1003,7 +1003,7 @@
|
|||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret": "**********",
|
||||
"secret": "annotation_secret",
|
||||
"redirectUris": [
|
||||
"/*"
|
||||
],
|
||||
|
@ -1104,7 +1104,7 @@
|
|||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret": "**********",
|
||||
"secret": "notification_secret",
|
||||
"redirectUris": [
|
||||
"/*"
|
||||
],
|
||||
|
@ -1212,7 +1212,7 @@
|
|||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret": "**********",
|
||||
"secret": "plugins_secret",
|
||||
"redirectUris": [
|
||||
"/*"
|
||||
],
|
||||
|
@ -1312,7 +1312,7 @@
|
|||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret": "**********",
|
||||
"secret": "web_secret",
|
||||
"redirectUris": [
|
||||
"/*"
|
||||
],
|
||||
|
@ -1414,18 +1414,18 @@
|
|||
"clientId": "dmp_webapp",
|
||||
"name": "dmp_webapp",
|
||||
"description": "",
|
||||
"rootUrl": "http://localhost:8081/home",
|
||||
"rootUrl": "http://localhost:8082/home",
|
||||
"adminUrl": "",
|
||||
"baseUrl": "http://localhost:8081/home",
|
||||
"baseUrl": "http://localhost:8082/home",
|
||||
"surrogateAuthRequired": false,
|
||||
"enabled": true,
|
||||
"alwaysDisplayInConsole": false,
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"redirectUris": [
|
||||
"http://localhost:8081/*"
|
||||
"http://localhost:8082/*"
|
||||
],
|
||||
"webOrigins": [
|
||||
"http://localhost:8081"
|
||||
"http://localhost:8082"
|
||||
],
|
||||
"notBefore": 0,
|
||||
"bearerOnly": false,
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
#DB
|
||||
DB_CONNECTION_STRING=jdbc:postgresql://opendmp.postgres:5432/opendmp
|
||||
DB_USER=opendmp-psql
|
||||
DB_PASSWORD=opendmp-admin
|
||||
|
||||
#Server
|
||||
WEB_PORT=8087
|
||||
|
||||
#Security
|
||||
IDP_APIKEY_CLIENT_ID=dmp_annotation
|
||||
IDP_APIKEY_CLIENT_SECRET=annotation_secret
|
||||
IDP_APIKEY_SCOPE=dmp_annotation-dedicated
|
||||
|
||||
IDP_OPAQUE_CLIENT_ID=
|
||||
IDP_OPAQUE_CLIENT_SECRET=
|
||||
|
||||
IDP_ISSUER_URI=http://localhost:8082/keycloak/realms/OpenDMP
|
||||
QUEUE_APP_ID=opendmp-annotation-staging
|
||||
|
||||
#RABBITMQ
|
||||
RABBIT_HOST=opendmp.rabbitmq
|
||||
RABBIT_PORT=5672
|
||||
RABBIT_USER=guest
|
||||
RABBIT_PASS=guest
|
||||
|
||||
#EMAIL
|
||||
MAIL_HOST=smtp.office365.com
|
||||
MAIL_PORT=587
|
||||
MAIL_USERNAME=
|
||||
MAIL_PASSWORD=
|
||||
MAIL_AUTH=false
|
||||
MAIL_TLS=true
|
||||
MAIL_ADDRESS=dmp_annotation@admin.gr
|
|
@ -0,0 +1,12 @@
|
|||
cipher:
|
||||
symetric-encryption:
|
||||
default-o: null
|
||||
options:
|
||||
configuration:
|
||||
aes:
|
||||
key: ${CIPHER_SYMETRIC_ENCRYPTION_CONFIGURATION_AES_KEY:}
|
||||
iv: ${CIPHER_SYMETRIC_ENCRYPTION_CONFIGURATION_AES_IV:}
|
||||
queue:
|
||||
aes:
|
||||
key: ${CIPHER_SYMETRIC_ENCRYPTION_QUEUE_AES_KEY:}
|
||||
iv: ${CIPHER_SYMETRIC_ENCRYPTION_QUEUE_AES_IV:}
|
|
@ -0,0 +1,3 @@
|
|||
web:
|
||||
cors:
|
||||
allowed-origins: [ http://localhost:8081 ]
|
|
@ -0,0 +1,15 @@
|
|||
spring:
|
||||
jpa:
|
||||
show-sql: true
|
||||
properties:
|
||||
hibernate:
|
||||
show_sql: true
|
||||
format_sql: false
|
||||
datasource:
|
||||
maxIdle: 10
|
||||
minIdle: 5
|
||||
maxActive: 10
|
||||
url: ${DB_CONNECTION_STRING}
|
||||
username: ${DB_USER}
|
||||
password: ${DB_PASSWORD}
|
||||
driver-class-name: org.postgresql.Driver
|
|
@ -0,0 +1,14 @@
|
|||
spring:
|
||||
mail:
|
||||
host: ${MAIL_HOST:}
|
||||
port: ${MAIL_PORT:}
|
||||
username: ${MAIL_USERNAME:}
|
||||
password: ${MAIL_PASSWORD:}
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: ${MAIL_AUTH:}
|
||||
starttls:
|
||||
enable: ${MAIL_TLS:}
|
||||
email:
|
||||
address: ${MAIL_ADDRESS:}
|
|
@ -0,0 +1,2 @@
|
|||
logging:
|
||||
config: /config/logging/logback-${spring.profiles.active}.xml
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration debug="false">
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} [%thread] %-5level %logger{36} [%X{req.id}] - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="TROUBLESHOOTING" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/logs/logging.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/logging.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
</timeBasedFileNamingAndTriggeringPolicy>
|
||||
<maxHistory>15</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} [%thread] %-5level %logger{36} [%X{req.id}] - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="AUDITING" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/logs/auditing.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/auditing.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
</timeBasedFileNamingAndTriggeringPolicy>
|
||||
<maxHistory>15</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} - %X{req.id} - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<logger name="org.springframework.web" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="org.hibernate" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="gr.cite" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="org.springframework.data.elasticsearch.client.WIRE" level="TRACE" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="audit" level="INFO" additivity="false">
|
||||
<appender-ref ref="AUDITING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<root level="info">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
</configuration>
|
|
@ -0,0 +1,25 @@
|
|||
queue:
|
||||
rabbitmq:
|
||||
host: ${RABBIT_HOST}
|
||||
port: ${RABBIT_PORT}
|
||||
username: ${RABBIT_USER}
|
||||
password: ${RABBIT_PASS}
|
||||
enable: true
|
||||
durable: true
|
||||
queue: cite_dmp_test_annotation_inbox_queue
|
||||
exchange: cite_dmp_test_queue
|
||||
listenerEnabled: true
|
||||
publisherEnabled: true
|
||||
task:
|
||||
publisher:
|
||||
enable: true
|
||||
options:
|
||||
exchange: cite_dmp_test_queue
|
||||
rabbitmq:
|
||||
enable: true
|
||||
listener:
|
||||
enable: true
|
||||
options:
|
||||
exchange: cite_dmp_test_queue
|
||||
rabbitmq:
|
||||
enable: true
|
|
@ -0,0 +1,21 @@
|
|||
web:
|
||||
security:
|
||||
enabled: true
|
||||
authorized-endpoints: [ api ]
|
||||
allowed-endpoints: [ health ]
|
||||
idp:
|
||||
api-key:
|
||||
enabled: true
|
||||
authorization-header: Authorization
|
||||
client-id: ${IDP_APIKEY_CLIENT_ID:}
|
||||
client-secret: ${IDP_APIKEY_CLIENT_SECRET:}
|
||||
scope: ${IDP_APIKEY_SCOPE:}
|
||||
resource:
|
||||
token-type: JWT #| opaque
|
||||
opaque:
|
||||
client-id: ${IDP_OPAQUE_CLIENT_ID:}
|
||||
client-secret: ${IDP_OPAQUE_CLIENT_SECRET:}
|
||||
jwt:
|
||||
claims: [ role, x-role ]
|
||||
issuer-uri: ${IDP_ISSUER_URI:}
|
||||
audiences: [ "dmp_annotation" ]
|
|
@ -0,0 +1,3 @@
|
|||
server:
|
||||
port: ${WEB_PORT}
|
||||
forward-headers-strategy: FRAMEWORK
|
|
@ -0,0 +1,7 @@
|
|||
tenant:
|
||||
multitenancy:
|
||||
is-multitenant: true
|
||||
default-tenant-code: default
|
||||
interceptor:
|
||||
client-claims-prefix: client_
|
||||
enforce-trusted-tenant: false
|
|
@ -0,0 +1,10 @@
|
|||
validation.empty=Value cannot be empty
|
||||
validation.hashempty=Hash must be set
|
||||
validation.lowerthanmin=Value must be larger than {value}
|
||||
validation.largerthanmax=Value must be less than {value}
|
||||
validation.invalidid=Not valid id
|
||||
General_ItemNotFound=Item {0} of type {1} not found
|
||||
Validation_Required={0} is required
|
||||
Validation_OverPosting=Too much info
|
||||
Validation_MaxLength={0} too long
|
||||
Validation_UnexpectedValue=Unexpected value in field {0}
|
|
@ -0,0 +1,6 @@
|
|||
validation.empty=el-Value cannot be empty
|
||||
validation.hashempty=el-Hash must be set
|
||||
validation.lowerthanmin=el-Value must be larger than {value}
|
||||
validation.largerthanmax=el-Value must be less than {value}
|
||||
validation.invalidid=el-Not valid id
|
||||
General_ItemNotFound=el-Item {0} of type {1} not found
|
|
@ -0,0 +1,458 @@
|
|||
[
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.data_quality_assurance"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.access_url"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.available_until"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.byte_size"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.data_access"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.download_url"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.format"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.availability"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.backup_frequency"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.backup_type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.certified_with"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.geo_location"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.pid_system"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.storage_type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.supports_versioning"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.title"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.host.url"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.license.license_ref"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.license.start_date"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.distribution.title"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.keyword"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.language"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.metadata.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.metadata.language"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.metadata.metadata_standard_id"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.metadata.metadata_standard_id.identifier"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.metadata.metadata_standard_id.type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.personal_data"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.preservation_statement"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.security_and_privacy"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.security_and_privacy.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.security_and_privacy.title"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.sensitive_data"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.technical_resource.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.technical_resource.name"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.title"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.issued"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.dataset_id"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.dataset_id.identifier"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.dataset_id.type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dataset.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contact"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contact.contact_id.identifier"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contact.contact_id.type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contact.mbox"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contact.name"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contributor"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contributor.contributor_id.identifier"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contributor.contributor_id.type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contributor.mbox"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contributor.name"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.contributor.role"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.cost"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.cost.currency_code"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.cost.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.cost.title"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.cost.value"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.created"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.dmp_id"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.dmp_id.identifier"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.dmp_id.type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.ethical_issues_description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.ethical_issues_exist"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.ethical_issues_report"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.language"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.modified"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.description"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.end"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.funding"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.funding.funder_id.identifier"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.funding.funder_id.type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.funding.funding_status"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.funding.grant_id.identifier"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.funding.grant_id.type"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.project.start"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.dmp.project.title"
|
||||
},
|
||||
{
|
||||
"category": "rda",
|
||||
"name": "rda.dmp.title"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isCitedBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.cites"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isSupplementTo"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isSupplementedBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isContinuedBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.continues"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isDescribedBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.describes"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.hasMetadata"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isMetadataFor"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isNewVersionOf"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isPreviousVersionOf"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isPartOf"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.hasPart"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isReferencedBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.references"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isDocumentedBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.documents"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isCompiledBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.compiles"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isVariantFormOf"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isOriginalFormof"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isIdenticalTo"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isAlternateIdentifier"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isReviewedBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.reviews"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isDerivedFrom"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isSourceOf"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.requires"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isRequiredBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.isObsoletedBy"
|
||||
},
|
||||
{
|
||||
"category": "zenodo",
|
||||
"name": "zenodo.related_identifiers.obsoletes"
|
||||
}
|
||||
]
|
Binary file not shown.
|
@ -0,0 +1,20 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDXDCCAkSgAwIBAgIUK8FEbNAIdyPoRF/pTyqNuL3kP54wDQYJKoZIhvcNAQEL
|
||||
BQAwRzELMAkGA1UEBhMCR1IxDTALBgNVBAgMBENJVEUxDDAKBgNVBAcMA0FUSDEN
|
||||
MAsGA1UECgwEQ0lURTEMMAoGA1UEAwwDZWxrMCAXDTIyMDkwODA4MjgxM1oYDzIx
|
||||
MjIwODE1MDgyODEzWjAYMRYwFAYDVQQDDA1lbGFzdGljc2VhcmNoMIIBIjANBgkq
|
||||
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoC6DoPC1kesTH0cKs1blVW8ddsQ3VmFO
|
||||
ROJiUorhDIHB3sXJhCSw0hxZFNZtqgG35CTa5w3XiQMT1fr6Ar/ztOQmARg9CMQa
|
||||
mOf8gR+tMTSwP7zr7WBR/1Q+GseeOnthFOfvfq7LLpRs8VNb/mhcSIjJsT9kMNXN
|
||||
5iHIyEuGhQSwPZDUYx+6Ag4belQLvic+QYDhwvujtPFWj8qLSG7kTpbBK5ahH/5E
|
||||
mvT5mpOYTR10f3LG4DKw7t6qG9tzh4WkwR0JYmlgxpAA/HBSa/QjS7CGxLrA4Sop
|
||||
gQF8KQPEP/0w98EbYpBUPS5jqbkBr6093M7Epksi86oRjtbcXAT0qwIDAQABo20w
|
||||
azApBgNVHREEIjAggg1lbGFzdGljc2VhcmNogglsb2NhbGhvc3SHBH8AAAEwHQYD
|
||||
VR0OBBYEFC/cKMOAVbx8bwyoKdg2Oiej9xoSMB8GA1UdIwQYMBaAFBIAjWDf6ACx
|
||||
PkEdV9pY+U0XL0iCMA0GCSqGSIb3DQEBCwUAA4IBAQBo42FOuxIMeIiMaKa347gc
|
||||
WsHpkazYOA6iHK5xXPsVUU1xSCLKp5HLCC04FU5P9njCDyZo1e/SR6rirQJJHEtT
|
||||
SAn7iabREE+vy0oN3JnyV+eJPmKWxlqeFr9Cs9uIXQbgjwyyj9rxT06eLr3M1MA1
|
||||
IsARV2eyxcgS5sCC8JBCEpKR4jLRrpAs0tGJOeIh1cmf/1id+NQaDa14sLFKHBH1
|
||||
3+6TfBPrhJoGqFz92jV2airr7dppyCXgmWymVc66iD00Nak6Bvchg6ARTkqJnfoZ
|
||||
2/Tz7asHV2V052ZLiow7Si34nS/9Hp8F8vUaj+FYXowvGwQUXLQIg/53KXh7piuW
|
||||
-----END CERTIFICATE-----
|
|
@ -0,0 +1,57 @@
|
|||
#DB
|
||||
DB_URL=jdbc:postgresql://opendmp.postgres:5432/opendmp
|
||||
DB_USER=opendmp-psql
|
||||
DB_PASS=opendmp-admin
|
||||
|
||||
#ELASTICSEARCH
|
||||
ELASTIC_ENABLED=true
|
||||
ELASTIC_USE_SSL=false
|
||||
ELASTIC_HOST=opendmp.elasticsearch:9200
|
||||
ELASTIC_USER= opendmp-api-test
|
||||
ELASTIC_PASS=your_password_here
|
||||
ELASTIC_DMP_INDEX=plans
|
||||
ELASTIC_DESCRIPTION_INDEX=descriptions
|
||||
|
||||
#SERVER
|
||||
WEB_PORT=8081
|
||||
|
||||
#GOTENBERG
|
||||
PDF_CONVERTER_URL=http://opendmp.gotenberg:3000/
|
||||
|
||||
#STORAGE
|
||||
FILE_STORAGE=/storage
|
||||
|
||||
#RABBITMQ
|
||||
RABBIT_HOST=opendmp.rabbitmq
|
||||
RABBIT_PORT=5672
|
||||
RABBIT_USER=guest
|
||||
RABBIT_PASS=guest
|
||||
|
||||
#KEYCLOAK
|
||||
KEYCLOAK_API_SERVER_URL=http://localhost:8082/keycloak/
|
||||
KEYCLOAK_API_REALM=OpenDMP
|
||||
KEYCLOAK_API_USERNAME=keycloak-admin
|
||||
KEYCLOAK_API_PASSWORD=admin
|
||||
KEYCLOAK_API_CLIENT_ID=dmp_web
|
||||
KEYCLOAK_API_CLIENT_SECRET=VNK5kd01faV8Fp9BZgKcthOPo1eXdodK
|
||||
|
||||
#SECURITY
|
||||
IDP_ISSUER_URI=http://localhost:8082/keycloak/realms/OpenDMP
|
||||
IDP_ISSUER_URI_TOKEN=http://localhost:8082/keycloak/realms/OpenDMP/protocol/openid-connect/token
|
||||
IDP_APIKEY_CLIENT_ID=dmp_web
|
||||
IDP_APIKEY_CLIENT_SECRET=VNK5kd01faV8Fp9BZgKcthOPo1eXdodK
|
||||
IDP_APIKEY_SCOPE=dmp_plugins
|
||||
|
||||
#METRICS
|
||||
IDP_APIKEY_CLIENT_ID_UUID=c82150e9-a9e5-4a5f-bd0f-5f25460b3e08
|
||||
|
||||
QUEUE_APP_ID=opendmp-web-staging
|
||||
|
||||
#EMAIL
|
||||
MAIL_HOST=smtp.office365.com
|
||||
MAIL_PORT=587
|
||||
MAIL_USERNAME=
|
||||
MAIL_PASSWORD=
|
||||
MAIL_AUTH=false
|
||||
MAIL_TLS=true
|
||||
MAIL_ADDRESS=dmp_web@admin.gr
|
|
@ -0,0 +1,3 @@
|
|||
web:
|
||||
cors:
|
||||
allowed-origins: [ http://localhost, http://localhost:8082, http://localhost:8081 ]
|
|
@ -0,0 +1,14 @@
|
|||
spring:
|
||||
jpa:
|
||||
show-sql: true
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: false
|
||||
datasource:
|
||||
maxIdle: 10
|
||||
minIdle: 5
|
||||
maxActive: 10
|
||||
url: ${DB_URL:}
|
||||
username: ${DB_USER:}
|
||||
password: ${DB_PASS:}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
deposit:
|
||||
sources:
|
||||
- url: http://opendmp.zenodo:8080
|
||||
repositoryId: Zenodo
|
||||
pdfTransformerId: docx-file-transformer
|
||||
rdaTransformerId: rda-file-transformer
|
||||
issuer-url: ${IDP_ISSUER_URI_TOKEN}
|
||||
client-id: ${IDP_APIKEY_CLIENT_ID}
|
||||
client-secret: ${IDP_APIKEY_CLIENT_SECRET}
|
||||
scope: ${IDP_APIKEY_SCOPE}
|
|
@ -0,0 +1,23 @@
|
|||
elastic:
|
||||
enabled: ${ELASTIC_ENABLED:}
|
||||
disableHostnameVerifier: true
|
||||
serverCertificatePaths:
|
||||
- /certificates/elasticsearch_dev04.crt
|
||||
hosts:
|
||||
- ${ELASTIC_HOST:}
|
||||
username: ${ELASTIC_USER:}
|
||||
password: ${ELASTIC_PASS:}
|
||||
useSSL: ${ELASTIC_USE_SSL:}
|
||||
socketTimeoutMillis: 30000
|
||||
connectTimeoutMillis: 30000
|
||||
defaultResultSize: 100
|
||||
defaultCollectAllResultSize: 1000
|
||||
defaultScrollSize: 100
|
||||
defaultScrollSeconds: 120
|
||||
defaultCompositeAggregationResultSize: 200000
|
||||
app-elastic:
|
||||
enableIcuAnalysisPlugin: true
|
||||
enabled: ${ELASTIC_ENABLED:}
|
||||
dmpIndexName: ${ELASTIC_DMP_INDEX:}
|
||||
descriptionIndexName: ${ELASTIC_DESCRIPTION_INDEX:}
|
||||
resetBatchSize: 1000
|
|
@ -0,0 +1,14 @@
|
|||
file-transformer:
|
||||
sources:
|
||||
- url: http://opendmp.file.transformer.docx:8080
|
||||
transformerId: docx-file-transformer
|
||||
issuer-url: ${IDP_ISSUER_URI_TOKEN}
|
||||
client-id: ${IDP_APIKEY_CLIENT_ID}
|
||||
client-secret: ${IDP_APIKEY_CLIENT_SECRET}
|
||||
scope: ${IDP_APIKEY_SCOPE}
|
||||
- url: http://opendmp.file.transformer.rdajson:8080
|
||||
transformerId: rda-file-transformer
|
||||
issuer-url: ${IDP_ISSUER_URI_TOKEN}
|
||||
client-id: ${IDP_APIKEY_CLIENT_ID}
|
||||
client-secret: ${IDP_APIKEY_CLIENT_SECRET}
|
||||
scope: ${IDP_APIKEY_SCOPE}
|
|
@ -0,0 +1,21 @@
|
|||
keycloak-resources:
|
||||
tenantGroupsNamingStrategy: 'tenant-{tenantCode}'
|
||||
tenantRoleAttributeName: 'tenant_role'
|
||||
authorities:
|
||||
User:
|
||||
groupId: 011269bd-9eec-445f-926d-1ebd1f45b5aa
|
||||
Admin:
|
||||
groupId: 935ab34d-700a-407f-bb7b-8a00ddcef1d8
|
||||
tenantAuthorities:
|
||||
TenantAdmin:
|
||||
parent: 01195be1-f754-415b-8225-3cc470744d62
|
||||
roleAttributeValueStrategy: 'TenantAdmin:{tenantCode}'
|
||||
TenantUser:
|
||||
parent: 64c07220-0d92-44e5-be6e-d9edf6c10a56
|
||||
roleAttributeValueStrategy: 'TenantUser:{tenantCode}'
|
||||
TenantManager:
|
||||
parent: 35f22f1-a0cc-4afd-af4c-dba6bb2e7415
|
||||
roleAttributeValueStrategy: 'TenantManager:{tenantCode}'
|
||||
TenantDescriptionTemplateEditor:
|
||||
parent: 1bfe8064-4e44-4ec1-a69e-836364a36e37
|
||||
roleAttributeValueStrategy: 'TenantDescriptionTemplateEditor:{tenantCode}'
|
|
@ -0,0 +1,2 @@
|
|||
logging:
|
||||
config: /config/logging/logback-${spring.profiles.active}.xml
|
|
@ -0,0 +1,67 @@
|
|||
<configuration debug="false">
|
||||
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} [%thread] %-5level %logger{36} [%X{req.id}] - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="TROUBLESHOOTING" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/logs/logging.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/logging.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
</timeBasedFileNamingAndTriggeringPolicy>
|
||||
<maxHistory>15</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} [%thread] %-5level %logger{36} [%X{req.id}] - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="AUDITING" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/logs/auditing.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/auditing.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
</timeBasedFileNamingAndTriggeringPolicy>
|
||||
<maxHistory>15</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} - %X{req.id} - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
|
||||
<logger name="org.springframework.web" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="org.hibernate" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="gr.cite" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="eu.eudat" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="org.springframework.data.elasticsearch.client.WIRE" level="TRACE" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="audit" level="INFO" additivity="false">
|
||||
<appender-ref ref="AUDITING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<root level="INFO">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
</configuration>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
metrics:
|
||||
task:
|
||||
enable: true
|
||||
intervalSeconds: 600
|
||||
nexusDate: "2021-01-01T00:00:00.00Z"
|
||||
usersLoginClient: ${IDP_APIKEY_CLIENT_ID_UUID:}
|
||||
referenceTypes:
|
||||
funderIds: ["538928bb-c7c6-452e-b66d-08e539f5f082"]
|
||||
grantIds: ["5b9c284f-f041-4995-96cc-fad7ad13289c"]
|
||||
projectIds: ["3d372db5-a456-45e6-a845-e41e1a8311f8"]
|
||||
researcherIds: ["5a2112e7-ea99-4cfe-98a1-68665e26726e"]
|
||||
endpoints:
|
||||
prometheus:
|
||||
sensitive: false
|
|
@ -0,0 +1,19 @@
|
|||
queue:
|
||||
rabbitmq:
|
||||
enable: true
|
||||
durable: true
|
||||
queue: cite_dmp_test_web_inbox_queue
|
||||
exchange: cite_dmp_test_queue
|
||||
listenerEnabled: true
|
||||
publisherEnabled: true
|
||||
task:
|
||||
publisher:
|
||||
options:
|
||||
exchange: cite_dmp_test_queue
|
||||
rabbitmq:
|
||||
enable: true
|
||||
listener:
|
||||
options:
|
||||
exchange: cite_dmp_test_queue
|
||||
rabbitmq:
|
||||
enable: true
|
|
@ -0,0 +1,15 @@
|
|||
web:
|
||||
security:
|
||||
enabled: true
|
||||
authorized-endpoints: [ api ]
|
||||
allowed-endpoints: [ api/public, api/dmp/public, api/description/public, api/supportive-material/public, api/language/public, api/contact-support/public, api/dashboard/public ]
|
||||
idp:
|
||||
api-key:
|
||||
enabled: false
|
||||
resource:
|
||||
token-type: JWT #| opaque
|
||||
jwt:
|
||||
claims: [ role, x-role ]
|
||||
issuer-uri: ${IDP_ISSUER_URI:}
|
||||
audiences: [ "dmp_web" ]
|
||||
validIssuer: ${IDP_ISSUER_URI:}
|
|
@ -0,0 +1,2 @@
|
|||
server:
|
||||
max-http-request-header-size: 16KB
|
|
@ -0,0 +1,21 @@
|
|||
storage:
|
||||
service:
|
||||
defaultLanguage: en
|
||||
storages:
|
||||
- type: Temp
|
||||
basePath: ${FILE_STORAGE}/temp
|
||||
- type: Main
|
||||
basePath: ${FILE_STORAGE}/main
|
||||
- type: Transformer
|
||||
basePath: ${FILE_STORAGE}/transformer
|
||||
- type: Deposit
|
||||
basePath: ${FILE_STORAGE}/deposit
|
||||
static-files:
|
||||
semantics: /Semantics.json
|
||||
material-files:
|
||||
userGuide: /material/user-guide/
|
||||
about: /material/about/
|
||||
termsOfService: /material/terms-of-service/
|
||||
glossary: /material/glossary/
|
||||
faq: /material/faq/
|
||||
language: /i18n/
|
|
@ -0,0 +1,10 @@
|
|||
tenant:
|
||||
configEncryptionAesKey: rmpTvZnRWzyisUtFADBcZCn0q7Z75Xdz
|
||||
configEncryptionAesIv: ec05d521a23f80ad
|
||||
multitenancy:
|
||||
is-multitenant: true
|
||||
default-tenant-code: default
|
||||
interceptor:
|
||||
client-claims-prefix: client_
|
||||
enforce-trusted-tenant: false
|
||||
auto-create-tenant-user: true
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,76 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
|
||||
<style type="text/css">
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin: 2rem 0 1rem 0;
|
||||
font-size: 3.3125rem;
|
||||
line-height: 1.15;
|
||||
font-weight: 300;
|
||||
color: rgba(0,0,0,.87);
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
.container {
|
||||
max-width:540px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.container {
|
||||
max-width:720px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.container {
|
||||
max-width:960px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1244px) {
|
||||
.container {
|
||||
max-width:1204px!important
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Roboto,Helvetica,Arial,sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
color: #212121;
|
||||
text-align: left;
|
||||
background: transparent;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>About</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p>ARGOS is an online tool in support of automated processes to creating, managing, sharing and linking DMPs with research artifacts they correspond to. It is the joint effort of OpenAIRE and EUDAT to deliver an open platform for Data Management Planning that addresses FAIR and Open best practices and assumes no barriers for its use and adoption. It does so by applying common standards for machine-actionable DMPs as defined by the global research data community of RDA and by communicating and consulting with researchers, research communities and funders to better reflect on their needs.
|
||||
<br /><br />ARGOS provides a flexible environment and an easy interface for users to navigate and use.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,749 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap" rel="stylesheet">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
|
||||
<style type="text/css">
|
||||
h3 {
|
||||
font-size: 1.5625rem;
|
||||
margin: 20px 0 10px;
|
||||
line-height: 1.4em;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1rem;
|
||||
line-height: 1em;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: left;
|
||||
font-family: Roboto,sans-serif;
|
||||
letter-spacing: 0;
|
||||
color: #212121;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #2e75b6;
|
||||
}
|
||||
|
||||
p a {
|
||||
color: #23bcba;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 2.5rem;
|
||||
}
|
||||
|
||||
.container-fluid {
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.col-md-12 {
|
||||
padding-right: 25px;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Roboto,Helvetica,Arial,sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
color: #212121;
|
||||
text-align: left;
|
||||
background: transparent;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h3>About ARGOS</h3>
|
||||
<h4>What is ARGOS?</h4>
|
||||
<p>Argos is an open and collaborative platform developed by <a href="https://www.openaire.eu/"
|
||||
target="_blank">OpenAIRE</a> to facilitate
|
||||
Research Data Management (RDM) activities concerning the implementation of Data
|
||||
Management Plans. It uses OpenAIRE guides created by the <a
|
||||
href="https://www.openaire.eu/task-forces-in-openaire-advance" target="_blank">RDM Task Force</a> to
|
||||
familiarize users with basic RDM concepts and guide them throughout the process of
|
||||
writing DMPs. It also utilises the OpenAIRE pool of services and inferred sources to
|
||||
make DMPs more dynamic in use and easier to be completed and published. Argos is
|
||||
based on the OpenDMP <a href="https://code-repo.d4science.org/MaDgiK-CITE/argos/src/branch/master"
|
||||
target="_blank">open source software</a> and is available through the <a
|
||||
href="http://catalogue.openaire.eu/" target="_blank">OpenAIRE
|
||||
Service catalogue</a> and the <a
|
||||
href="https://marketplace.eosc-portal.eu/services/argos?fromc=data-management"
|
||||
target="_blank">EOSC</a>.</p>
|
||||
|
||||
<br />
|
||||
<h4>Is Argos designed for one specific funder, e.g. the EC/Horizon Europe?</h4>
|
||||
<p>
|
||||
Argos is a flexible tool, designed to accommodate all research performing
|
||||
and research funding organisations’ policies and Research Data Management (RDM) needs.
|
||||
It already supports templates for different authorities.
|
||||
These templates are created by Admin users in Argos.
|
||||
In addition, we currently work to provide non-administrative users with the capability
|
||||
to modify templates according to their own needs.
|
||||
</p>
|
||||
<br />
|
||||
<h4>Why use Argos?</h4>
|
||||
<p>Argos is easy to use and navigate around. It familiarises users with the DMP process
|
||||
and provides guidance on basic RDM concepts so that users find useful resources to
|
||||
learn from without having to leave the Argos environment. Users can invite their
|
||||
colleagues and collaboratively work on completing a DMP. Moreover, Argos is an
|
||||
integral part of the OpeAIRE ecosystem and the <a href="https://zenodo.org/record/2643199#.X3HL0WgzY2x"
|
||||
target="_blank">Research
|
||||
Graph</a>. Argos integrates
|
||||
other services of the ecosystem to enable contextualisation of information, which is
|
||||
especially useful when data are re-used, for example to understand how/ if they can
|
||||
be repurposed.</p>
|
||||
<br />
|
||||
<h4>Who is Argos for?</h4>
|
||||
<p>Argos is designed as a tool for inclusive use by researchers, students, funders,
|
||||
research communities and institutions. It can be used in the context of research
|
||||
projects’ conduct to comply with funders’ RDM requirements, as a tool in support of
|
||||
literacy programmes in academia or can be independently deployed to meet given
|
||||
stakeholder demands. Also, it is available in native languages, thanks to the help
|
||||
of OpenAIRE NOADs, which strengthens common understanding of all researchers
|
||||
involved in the DMP writing process.
|
||||
By using Argos, researchers and students are able to create their DMPs in
|
||||
collaboration with other colleagues, learn basic RDM concepts throughout the process
|
||||
and publish DMPs as outputs in an open and FAIR manner, among other things by
|
||||
assigning DOIs and licenses and by maintaining DMPs as living documents through
|
||||
versioning.
|
||||
At the same time, Argos can be configured and deployed by funders, institutions and
|
||||
research communities. They can plug in their own services and/ or make use of
|
||||
OpenAIRE underlying services that Argos is built with ad-hoc.</p>
|
||||
<br />
|
||||
<h4>Using Argos</h4>
|
||||
<p>
|
||||
Argos consists of two main functionalities: DMPs and Datasets.
|
||||
Argos can be used for:
|
||||
<br /><br /><span style="padding:20px;">
|
||||
A. Viewing/ consulting publicly released DMPs and Datasets or Projects
|
||||
corresponding to
|
||||
DMPs
|
||||
</span><br /><br />
|
||||
Argos offers options for publishing DMPs in two modes, private or public. To view
|
||||
public DMPs and Datasets, there is no need for login to the platform.
|
||||
<br /><br /><span style="padding:20px;">
|
||||
B. Writing and publishing a DMP
|
||||
</span><br /><br />
|
||||
Argos helps researchers comply with mandates that may be attached to their grant
|
||||
proposal/ project funding. They can therefore choose from the most suitable to their
|
||||
needs template from the Datasets collection and proceed with answering the
|
||||
corresponding questions. Once finalized, researchers can assign a DOI to their DMP,
|
||||
publish and eventually cite it.
|
||||
<br /><br /><span style="padding:20px;">
|
||||
C. Practicing on writing DMPs and Dataset Descriptions
|
||||
</span><br /><br />
|
||||
Argos may be used for educational purposes. The process of Data Management Planning
|
||||
reflects the data management lifecycle, hence the tool can be used in response to
|
||||
global RDM training demands. Examples may refer to embedding DMPs and DMP tools in
|
||||
specific curricula or be embedded in library instructions’ sessions to familiarize
|
||||
researchers and students the processes of RDM and DMP.
|
||||
</p>
|
||||
<br />
|
||||
<h4>Can I exploit ARGOS DMPs?</h4>
|
||||
<p>
|
||||
Of course. If you want to compare DMPs or analyse DMP data, then we advise you to export the records in .xml.
|
||||
This schema is the most complete as it includes all information held in a DMP: information provided by the Admin
|
||||
when structuring the template and input provided by researchers when completing their DMPs.
|
||||
</p>
|
||||
<br />
|
||||
<h3>Manage Account</h3>
|
||||
<h4>Log in and out of Argos</h4>
|
||||
<p>
|
||||
You can log in Argos by selecting one of the providers from the Login page. Argos
|
||||
does not require Sign Up.
|
||||
</p>
|
||||
<br />
|
||||
<h4>Create an administrator account</h4>
|
||||
<p>
|
||||
If you are interested in becoming an administrator in Argos and benefit from extra
|
||||
features relevant to creating tailored templates, please email <a href="mailto:argos@openaire.eu"
|
||||
target="_blank">argos@openaire.eu</a> .
|
||||
</p>
|
||||
|
||||
<br />
|
||||
<h4>
|
||||
Switch from administrator account
|
||||
</h4>
|
||||
<p>
|
||||
There is no need to switch from your administrator account to use Argos. The only
|
||||
difference between regular users and administrators profiles in Argos is an extra
|
||||
set of tools at the bottom of the main tool bar that is positioned on the left
|
||||
handside.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Change your email
|
||||
</h4>
|
||||
<p>
|
||||
Argos does not have Sign Up. To change email, please see “Switch between accounts”.
|
||||
Alternatevily, you can add more email addresses to your user account by selecting
|
||||
the “Add alternative email” from your profile.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Switch between accounts
|
||||
</h4>
|
||||
<p>
|
||||
You can switch between email accounts by loging in with different providers from the
|
||||
Login page. The change depends on whether you have used different email addresses to
|
||||
sign up with those providers. On the occassion that only one email address is used
|
||||
for all providers offered by Argos, then no change is expected. You can always add
|
||||
new email accounts in your profile from the “Add alternative email” in your profile
|
||||
page.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Delete your account
|
||||
</h4>
|
||||
<p>
|
||||
If you want to delete your Argos profile, please email <a href="mailto:argos@openaire.eu"
|
||||
target="_blank">argos@openaire.eu</a> .
|
||||
</p>
|
||||
<br />
|
||||
<h3>
|
||||
Accounts access and safety
|
||||
</h3>
|
||||
<h4>
|
||||
How can I access my account and edit my profile?
|
||||
</h4>
|
||||
<p>
|
||||
You can access your profile page and make desired edits from clicking on the avatar
|
||||
at the very top of the toolbar located on the right handside.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can’t login to ARGOS
|
||||
</h4>
|
||||
<p>
|
||||
Please try using a different provider from the Login page and contact us at:
|
||||
<a href="mailto:argos@openaire.eu" target="_blank">argos@openaire.eu</a> .
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Accessing Argos
|
||||
</h4>
|
||||
<p>
|
||||
If you are reading this right now, you probably know the answer already! One way to
|
||||
access Argos is through the <a href="http://catalogue.openaire.eu/" target="_blank">OpenAIRE Service
|
||||
catalogue</a>. Another way is through the
|
||||
<a href="https://marketplace.eosc-portal.eu/services/argos?fromc=data-management" target="_blank">EOSC
|
||||
Catalogue</a>. But, you can always find Argos at
|
||||
argos.openaire.eu .
|
||||
To access Argos software, please visit
|
||||
<a href="https://code-repo.d4science.org/MaDgiK-CITE/argos/src/branch/master"
|
||||
target="_blank">https://code-repo.d4science.org/MaDgiK-CITE/argos/src/branch/master</a>
|
||||
.
|
||||
</p>
|
||||
<br />
|
||||
<h3>Argos User Roles</h3>
|
||||
<h4>
|
||||
Who is the author of a DMP?
|
||||
</h4>
|
||||
<p>
|
||||
Author of the DMP is everyone contributing to writing the DMP. Both Argos owners and
|
||||
Argos members are DMP authors. Researchers, however, are not DMP authors.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What is the difference between owners and
|
||||
members?
|
||||
</h4>
|
||||
<p>
|
||||
Argos DMP owner is the person initiating the DMP. People who are invited to join the
|
||||
DMP process are members who contribute to writing the DMP. DMP owners have extra
|
||||
editing rights and they are the ones to finalize the DMP process. Members can view
|
||||
and edit DMPs and Datasets, but can not perform further actions for its validation
|
||||
or finalization.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What is the role of a researcher in Argos?
|
||||
</h4>
|
||||
<p>
|
||||
Researchers in Argos are project contributors and usually those who own or have
|
||||
managed data described in respective DMPs.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can a researcher be a DMP author?
|
||||
</h4>
|
||||
<p>
|
||||
Of course! This depends on whether the researcher has also been involved in the DMP
|
||||
writing process.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What does an Admin user do?
|
||||
</h4>
|
||||
<p>
|
||||
Not everyone can become an Admin user in Argos. This happens upon request at
|
||||
<a href="mailto:argos@openaire.eu" target="_blank">argos@openaire.eu</a>. Admin users are able to create
|
||||
their own tailored templates from
|
||||
a specialised editor, configure their own APIs and integrate services with Argos in
|
||||
collaboration with and support of the Argos development team. Fees may apply
|
||||
according to the type of requests.
|
||||
</p>
|
||||
<br />
|
||||
<h3>Creating DMPs</h3>
|
||||
<h4>
|
||||
I can’t find my project in the list. What should
|
||||
I do?
|
||||
</h4>
|
||||
<p>
|
||||
DMPs that are created as part of the project proposal are not included in Argos.
|
||||
Only accepted project proposals are listed in the platform. If you can’t find your
|
||||
project in the list (drop-down menu), please use the “Insert manually”
|
||||
functionality.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
I can’t find my grant in the list. What should I
|
||||
do?
|
||||
</h4>
|
||||
<p>
|
||||
If you can’t find your grant in the list (drop-down menu), please use the “Insert
|
||||
manually” functionality.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
How do I edit and design my own DMP
|
||||
template?
|
||||
</h4>
|
||||
<p>
|
||||
You have to be an Admin user to design your own template in Argos. To learn more
|
||||
about Admin users, check “What does an Admin user do?”.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can I create my own templates in Argos?
|
||||
</h4>
|
||||
<p>
|
||||
Yes, you can, provided that you are an Admin user. To learn more about Admin users,
|
||||
check “What does an Admin user do?”.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What is the difference between “Save”, “Save &
|
||||
Close”, “Save & Add New”?
|
||||
</h4>
|
||||
<div>
|
||||
<p>They all perform the same action, but the difference lies in where you are directed
|
||||
after you have saved your DMP or Dataset.</p>
|
||||
<ul>
|
||||
<li>
|
||||
When choosing Save, information that you have added in the editor is kept
|
||||
and you
|
||||
can continue adding more from the same page you were working on.
|
||||
</li>
|
||||
<li>
|
||||
When choosing Save & Close, information that you have added is kept, but the
|
||||
editor’s window closes and you are redirected to your dashboard.
|
||||
</li>
|
||||
<li>
|
||||
[only for datasets] When choosing Save & Add New, information that you have
|
||||
added is
|
||||
kept, and you are redirected to another editor to start a new dataset.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<br />
|
||||
<h4>
|
||||
Can I modify things once I have finalized
|
||||
them?
|
||||
</h4>
|
||||
<p>
|
||||
Yes, you can, as long as you haven’t assigned a DOI to your DMP. You just select
|
||||
“Undo Finalization”.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
How do I invite collaborators?
|
||||
</h4>
|
||||
<p>
|
||||
You may use the “Invite” button to share DMPs with your colleagues and start working
|
||||
on them together.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can scientists collaborate on the same DMP even though they may belong to different institutions (e.g. a hospital, a University, etc, collaborating on a project) and the dataset also "belongs" to different institutions?
|
||||
</h4>
|
||||
<p>
|
||||
Of course. Argos supports collaborations across diverse teams. There are two most frequent ways that can address this question:
|
||||
<br /><br /><span style="padding:20px;">
|
||||
A. Everyone works on the same DMP, but on different dataset descriptions
|
||||
</span><br /><br />
|
||||
In this case, each organisation makes its own dataset description(s) in a single DMP.
|
||||
That means that the manager (i.e. person responsible for the DMP activity) creates a DMP in ARGOS
|
||||
and shares it with everyone. If the DMP is shared with co-ownership rights,
|
||||
then the people will be able to edit it and add their dataset descriptions at any time during the project.
|
||||
If there is the need to control editing rights of people writing the DMPs, then the manager can create the dataset description(s)
|
||||
and share these each time with the team members that are responsible for adding input for the specified datasets.
|
||||
<br /><br /><span style="padding:20px;">
|
||||
B. Everyone works on their own DMP and content is later merged into one single DMP
|
||||
</span><br /><br />
|
||||
In this case, each organisation might work on their own DMP for the same project.
|
||||
At one point, you need to decide which DMP is going to be the core for the work you perform, share co-ownership
|
||||
between managers of all DMPs so they can copy all dataset descriptions of their DMPs in this single DMP document.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
How do I create an identical DMP or Dataset as a
|
||||
copy?
|
||||
</h4>
|
||||
<p>
|
||||
DMPs and Datasets can be cloned and used in different research contexts.
|
||||
Existing DMPs presenting similarities with new ones, can be cloned, changed name and
|
||||
then edited according to the new project data requirements.
|
||||
Existing Datasets can be cloned and used in new DMPs that are reusing data described
|
||||
in their context.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What is the DMP version? How is it set?
|
||||
</h4>
|
||||
<p>
|
||||
Versioning in Argos is both an internal and an external process. That means that
|
||||
versioning happens both in the Argos environment when editing the DMP, and outside
|
||||
of Argos when a DMP output is published in Zenodo. At every stage of the DMP
|
||||
lifecycle, users have the option of keeping versions of the DMPs they are editing.
|
||||
In Argos, users can create new versions of their DMPs by selecting the “Start New
|
||||
Version” option to keep track of the evolution of their DMP throughout the writing
|
||||
process. When published, versioning is associated with a DOI. Published DMPs are
|
||||
automatically versioned every time a newer version of the same output is uploaded in
|
||||
Zenodo.
|
||||
</p>
|
||||
<br />
|
||||
<h3>
|
||||
DMPs and Datasets
|
||||
</h3>
|
||||
<h4>
|
||||
What is the DMP?
|
||||
</h4>
|
||||
<p>
|
||||
A DMP in Argos consists of vital information about the research project on behalf of
|
||||
which the DMP is created and of more in depth information about the management,
|
||||
handling and curation of datasets collected, produced or reused during the research
|
||||
lifetime. A DMP in Argos accommodates documentation of more than one datasets. That
|
||||
way datasets are provided with the flexibility to be described separately, following
|
||||
different templates per type of dataset or research community concerned each time,
|
||||
also possible to be copied and used in multiple DMPs. Datasets are then bundled up
|
||||
in a DMP and can be shared more broadly. Special attention is given to the handling
|
||||
of data that are being re-used via OpenAIRE APIs.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
How do I find which Dataset template to use?
|
||||
</h4>
|
||||
<p>
|
||||
This depends on the reason why you are creating a DMP in the first place. If it is
|
||||
for compliance matters with funders, institutions or research communities RDM
|
||||
policies, then you may select the dataset template of that particular stakeholder.
|
||||
If you are creating a DMP for training purposes, you may select and work on any
|
||||
template from the Argos collection.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
How do I create my own Dataset template?
|
||||
</h4>
|
||||
<p>
|
||||
Currently, it is not possible for all Argos users to create dataset templates of
|
||||
their own, so they have to work on predefined templates. Additional rights for
|
||||
editing Dataset templates according to tailored needs have Admin users. This is
|
||||
expected to change in the near future. To learn more about Admin users, check “What
|
||||
does an Admin user do?”.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can I create smaller versions of a template for project proposals?
|
||||
</h4>
|
||||
<p>
|
||||
Yes, it is possible in Argos to create short versions of templates that can be used
|
||||
for grant proposals, such as for Horizon Europe.
|
||||
If you are interested in working with us to create this short version of any ARGOS template,
|
||||
please contact us: <a href="mailto:argos@openaire.eu" target="_blank">argos@openaire.eu</a>.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can I customise an existing template (e.g. for a specific institution)?
|
||||
</h4>
|
||||
<p>
|
||||
Yes, you can. In the current version, this is possible for Admin users who have their own deployment on-premises or cloud.
|
||||
Please note that this subject to change in the near future as we are working on a feature that will allow all users
|
||||
to customise (remove/add/extend) specific questions on the template they are working on.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What is a Dataset?
|
||||
</h4>
|
||||
<p>
|
||||
A Dataset in Argos is an editor with set up questions that support the creation of
|
||||
descriptions of how data are / have been handled, managed and curated throughout the
|
||||
research data lifecycle. The editor holds a collection of Dataset templates each one
|
||||
with different sets of predefined questions as per funders, institutions, research
|
||||
communities RDM policy requirements. Researchers and students can choose the
|
||||
template that corresponds to their RDM needs in order to get funding or get their
|
||||
degree, respectively. A DMP in Argos may consist of one or more datasets.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Why do I need more than one Dataset?
|
||||
</h4>
|
||||
<p>
|
||||
You don’t necessarily need to have many Datasets in a DMP. However, you might be
|
||||
producing a plethora of data during your research that are diverse in type and/ or
|
||||
scope of collection/ re-use, thus presenting diverse management needs. Argos gives
|
||||
you the flexibility to describe all data produced and/ or re-used in your research
|
||||
separately. That way it is easy to perform the mapping of information provided in a
|
||||
DMP to the respective data types or data collections they correspond to. Equally,
|
||||
reuse of particular datasets in different DMPs is easier. For the latter, please
|
||||
check “How do I create an identical DMP or Dataset as a copy?”.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
It is not very clear to me when one should choose to add a dataset or to describe several "data products" in the same description.
|
||||
</h4>
|
||||
<p>
|
||||
This is something that has to be tackled conceptually, from the author of the DMP.
|
||||
If those "products" have their own lifetime and rules (IPR, Access rights, etc), they should be described as different datasets.
|
||||
Alternative formats should not be treated as different datasets, unless they have other differences due to the format, too.
|
||||
But, for instance, if you have datasets in CSV and JSON formats and under the same terms, they could be seen as one dataset description in the DMP.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can I add to my DMP information about datasets published on Zenodo?
|
||||
</h4>
|
||||
<p>
|
||||
Argos offers a search to Zenodo for prefilling the DMP you are working with dataset metadata.
|
||||
This search has been developed according to the rules set by Zenodo
|
||||
and therefore has the same behaviour as when you are using the search bar on the Zenodo interface.
|
||||
However, we understand the need to be able to find records with their PID,
|
||||
hence we introduced some changes and now support searching DOIs from the Argos interface.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Is it possible to describe a dataset that is not yet in a repository?
|
||||
</h4>
|
||||
<p>
|
||||
Of course! You can choose to manually describe your dataset, e.g. for a dataset you are planning to produce,
|
||||
instead of pre-filling the template with available metadata from a dataset that has already been shared and preserved in a repository.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What are public DMPs and Datasets?
|
||||
</h4>
|
||||
<p>
|
||||
Public DMPs and Public Datasets are collections of openly available Argos outputs.
|
||||
That means that DMP owners and members are making their DMP and/or Dataset outputs
|
||||
available to all Argos and non-Argos users who might want to consult or re-use them
|
||||
under the framework provided by the assigned DMP license. Please also check “Is all
|
||||
the information I create visible by default?”.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Is all information I create visible by
|
||||
default?
|
||||
</h4>
|
||||
<p>
|
||||
No, it is not. You can choose how your DMP is displayed in Argos from the
|
||||
“Visibility” option. Choosing Public will immediately locate your DMP in the “Public
|
||||
DMPs” collection and make it available to all Argos and non-Argos users.
|
||||
Choosing Private will keep the DMP visible only to you and to the people invited to
|
||||
edit the DMP in collaboration with you. Private DMPs are not publicly displayed to
|
||||
other users.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What is the difference between the DMP and the dataset export?
|
||||
</h4>
|
||||
<p>
|
||||
DMP export contains all vital information for a DMP, including funding and dataset details,
|
||||
while dataset export is a subset of the DMP export containing information only about a dataset described in the DMP.
|
||||
Both DMP and Dataset exports are available in .pdf, .docx, .xml.
|
||||
In addition, DMP export is available in the RDA .json format
|
||||
to increase interoperability of ARGOS exchanged DMPs.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Is there a storage allowance limitation for the
|
||||
DMPs and Dataset files?
|
||||
</h4>
|
||||
<p>
|
||||
No, there is no storage limit or fee for either files stored in Argos.
|
||||
</p>
|
||||
<br />
|
||||
<h3>
|
||||
Publishing DMPs
|
||||
</h3>
|
||||
<h4>
|
||||
Is it possible to publish DMPs in different repositories (so not Zenodo)?
|
||||
</h4>
|
||||
<p>
|
||||
Yes, it is possible.
|
||||
But, to have different repositories attached to the system, you will need your own on-premises or cloud deployment.
|
||||
We are already working on that for DSpace and Dataverse repositories.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Do you know that Zenodo has empty DMPs from ARGOS?
|
||||
</h4>
|
||||
<p>
|
||||
Yes, we are aware of that.
|
||||
Argos has no control over the DMPs that you generate and publish and thus can not be held accountable for empty DMPs.
|
||||
Please remember that, as on all other occasions where you publish content, you should do so responsinbly.
|
||||
If you have any questions regarding publishing DMPs, don’t hesitate to contact us at <a href="mailto:argos@openaire.eu" target="_blank">argos@openaire.eu</a>.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Once I upload a final version of a DMP to Zenodo, do I need to update this first final version from Zenodo or from Argos?
|
||||
</h4>
|
||||
<p>
|
||||
Both options are possible according to how you have deposited the DMP in the first place.
|
||||
If you have deposited your DMP with a token (i.e. from the ARGOS account on Zenodo),
|
||||
then you won’t have editing rights on the Zenodo record, but you will still be able to make changes
|
||||
on ARGOS by starting and depositing a new version of the published DMP.
|
||||
However, if you have deposited your DMP using your own account on Zenodo (i.e. login to Zenodo with your own credentials),
|
||||
then you are able to also make minor changes, e.g. on the title of the DMP, directly from the Zenodo interface.
|
||||
</p>
|
||||
<br />
|
||||
<h3>Troubleshooting</h3>
|
||||
<h4>
|
||||
Can’t finalize a DMP
|
||||
</h4>
|
||||
<p>
|
||||
You might be experiencing this problem because there are incomplete mandatory fields
|
||||
in your DMP. Please check for those fields, fill in with appropriate information and
|
||||
try again. Should the problem persists, please contact <a href="mailto:argos@openaire.eu"
|
||||
target="_blank">argos@openaire.eu</a> .
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can’t co-edit a DMP
|
||||
</h4>
|
||||
<p>
|
||||
DMPs can be shared with many colleagues in support of collaborative writing, but
|
||||
DMPs should be worked by one person at a time. Argos will inform you if another
|
||||
colleague has the DMP you are trying to edit open, so that your team avoids
|
||||
information loss.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Deposit is not working
|
||||
</h4>
|
||||
<p>
|
||||
You need to have a Zenodo login to perform a deposit. Please sign up in Zenodo or
|
||||
use the token option to publish your DMPs and get a DOI.
|
||||
</p>
|
||||
<br />
|
||||
<h3>Legal and privacy</h3>
|
||||
<h4>
|
||||
Is Argos open source?
|
||||
</h4>
|
||||
<p>
|
||||
Yes, it is. The OpenDMP software that Argos has deployed upon is open source code
|
||||
available under Apache 2.0 license. You may find more information about the software
|
||||
<a href="https://code-repo.d4science.org/MaDgiK-CITE/argos/src/branch/master"
|
||||
target="_blank">here</a>.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Can I contribute to Argos development?
|
||||
</h4>
|
||||
<p>
|
||||
Of course! Please feel free to suggest new features and to actively contribute to
|
||||
Argos development via pull requests in <a
|
||||
href="https://code-repo.d4science.org/MaDgiK-CITE/argos/src/branch/master"
|
||||
target="_blank">Gitea</a>.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Is Argos GDPR compliant?
|
||||
</h4>
|
||||
<p>
|
||||
Argos takes all necessary steps in handling and protecting personal and sensitive
|
||||
information. Please check the <a href="https://argos.openaire.eu/terms-and-conditions"
|
||||
target="_blank">Argos Terms of Service and Privacy Policy</a>.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Which is the Argos data policy?
|
||||
</h4>
|
||||
<p>
|
||||
Please find all information about Argos Terms of Service and Privacy, <a
|
||||
href="https://argos.openaire.eu/terms-and-conditions" target="_blank">here</a>.
|
||||
Additionally, you may find Argos Cookies policy, <a href="https://argos.openaire.eu/cookies-policy"
|
||||
target="_blank">here</a>.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
What is the work ownership of information
|
||||
created in Argos?
|
||||
</h4>
|
||||
<p>
|
||||
Unless there are any contractual or institutional agreements stating ownership of
|
||||
outputs produced in the context of a project/ collaboration, owners of Argos outputs
|
||||
are DMP contributors, i.e. DMP owners and DMP members, who have been involved with
|
||||
writing the DMP.
|
||||
</p>
|
||||
<br />
|
||||
<h4>
|
||||
Which are the terms and policies of Argos?
|
||||
</h4>
|
||||
<p>
|
||||
Please find all information about Argos Terms of Service and Privacy, <a
|
||||
href="https://argos.openaire.eu/terms-and-conditions" target="_blank">here</a>.
|
||||
Additionally, you may find Argos Cookies policy, <a href="https://argos.openaire.eu/cookies-policy"
|
||||
target="_blank">here</a>.
|
||||
</p>
|
||||
|
||||
<!-- <h4>What is ARGOS?</h4>
|
||||
<p>ARGOS is an open and collaborative platform for creating Data Management Plans according to funders or institutions’ open science policy requirements. ARGOS technology provides solutions and workflows that connect the DMP to the actual data where they are stored and link to other useful information such as publications and funding information, thus enabling the association between research outputs and processes and leading to the creation of coherent/ complete research entities. ARGOS is comprised of two major features: the ARGOS template and the Dataset Description.</p>
|
||||
|
||||
<br />
|
||||
<h4>Who is it for?</h4>
|
||||
<p>ARGOS is inclusive to all researchers and research coordinators who may use the tool to create machine actionable DMPs. Funding and Research Performing Organizations as well as research communities may use the tool and create Dataset Description templates according to their preferences or requirements. ARGOS may be used for purposes other than research projects, such as on the occasion of trainings that familiarise scientists with the data management planning process.</p>
|
||||
|
||||
<br />
|
||||
<h4>How can I use it?</h4>
|
||||
<p>ARGOS is comprised of two main functionalities: DMP templates and Dataset Descriptions. Additional entities are Projects that link to funders and grants information.<br />ARGOS can be used for:
|
||||
<br /><br /><u style="padding:20px;"> A. viewing/ consulting publicly released DMPs and Dataset Descriptions or Projects corresponding to DMPs</u><br /><br />
|
||||
The tool offers options for publishing DMPs in two modes, private or public. To view public DMPs and Dataset Descriptions, there is no need for login to the platform.
|
||||
|
||||
<br /><br /><u style="padding:20px;"> B. writing and publishing a DMP</u><br /><br />
|
||||
The tool helps researchers comply with mandates that may be attached to their grant proposal/ project funding. They can therefore choose from the most suitable to their needs template from the Dataset Descriptions collection and proceed with answering the corresponding questions. Once finalized, researchers can assign a DOI to their DMP, publish and eventually cite it.
|
||||
|
||||
<br /><br /><u style="padding:20px;"> C. practicing in writing DMPs and Dataset Descriptions</u><br /><br />
|
||||
Given that Data Management Planning reflects the data management lifecycle and in accordance/ response to the increasing demand of the global scientific/ research community for training in Research Data Management (RDM), ARGOS may be used for educational purposes. Examples may refer to embedding DMP and DMP tools in specific curricula or even utilization of the tool for researchers and students familiarization with the concept and process, as part of library instructions’ sessions.
|
||||
</p>
|
||||
|
||||
<br />
|
||||
<h4>What is the difference between the “Wizard” and the “Expert” modes/ features?</h4>
|
||||
<p>There are two ways of creating a DMP: the “Wizard” and the “Expert”. The DMP Wizard combines the most necessary fields of the DMP template and the Data Description template. It is an easy way of starting a DMP and completing a Dataset Description. The downside when using the Wizard is that it only supports one Dataset Description. To add more datasets documentation, someone must open the DMP from DMP Expert.
|
||||
<br />DMP expert contains extra fields for describing the project, grant, funding, contributors and associations between DMP authors, etc. DMP Expert is advised for use when further modification and personalization is to take place.
|
||||
</p> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,94 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap" rel="stylesheet">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
|
||||
<style type="text/css">
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin: 2rem 0 1rem 0;
|
||||
font-size: 3.3125rem;
|
||||
line-height: 1.15;
|
||||
font-weight: 300;
|
||||
color: rgba(0,0,0,.87);
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1rem;
|
||||
line-height: 1em;
|
||||
font-weight: 500;
|
||||
color: rgba(0,0,0,.87);
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
.container {
|
||||
max-width:540px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.container {
|
||||
max-width:720px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.container {
|
||||
max-width:960px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1244px) {
|
||||
.container {
|
||||
max-width:1204px!important
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Roboto,Helvetica,Arial,sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
color: #212121;
|
||||
text-align: left;
|
||||
background: transparent;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>Glossary</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h4>DMP</h4>
|
||||
<p>A DMP - short for Data Management Plan - is a document describing the processes that the data have undergone and the tools used for their handling and storage during a research lifecycle. Most importantly, DMPs secure provenance and enable re-use of data by appointing data managers and by including information on how data can be re-used by others in the future. Therefore, a DMP is a living document which is modified according to the data developments of a project before it’s completed and handed over at the end of the project.
|
||||
Public funders increasingly contain DMPs in their grant proposals or policy funding requirements. A good paradigm is the European Commission demands for the production and delivery of DMPs for projects funded under the Horizon 2020 Funding Programme. On that note, and to encourage good data management practices uptake, many European institutions include DMPs in post-graduate researchers policies and offer relevant support to staff and students.
|
||||
</p>
|
||||
|
||||
<h4>DMP template</h4>
|
||||
<p>DMP template contains general but vital information about the name and the duration of the project that the DMP corresponds to, the contributing organisations and individuals as well as the datasets that are under the Dataset Description section. It also offers the possibility of describing datasets other than primary data generated, under “External References” section. A DMP template can have many Dataset Descriptions.
|
||||
</p>
|
||||
|
||||
<h4>Dataset Description</h4>
|
||||
<p>Dataset Description documents the management processes of datasets following funder’s or institution’s requirements. A dataset description is essentially a questionnaire template with underlying added value services for interoperability and machine readability of information which is developed based on the given requirements. Management requirements differ from funder to funder and from institution to institution, hence the growing collection of Dataset Descriptions to select from.
|
||||
Moreover, a Dataset Description links to the documentation of one dataset, hence a DMP template may contain more than one dataset descriptions on the occasion when multiple datasets were used during the project. When documentation of some of the project’s datasets falls under additional requirements (e.g. projects receiving multiple grants from different sources), there is the possibility of describing datasets with more than one Dataset Description template.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,115 @@
|
|||
<html>
|
||||
|
||||
<head>
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
|
||||
<style type="text/css">
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin: 2rem 0 1rem 0;
|
||||
font-size: 3.3125rem;
|
||||
line-height: 1.15;
|
||||
font-weight: 300;
|
||||
color: rgba(0,0,0,.87);
|
||||
}
|
||||
|
||||
ol {
|
||||
padding-left: 2.5rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #6aa4d9;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #2e75b6;
|
||||
}
|
||||
|
||||
p a {
|
||||
color: #23bcba;
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
.container {
|
||||
max-width:540px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.container {
|
||||
max-width:720px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.container {
|
||||
max-width:960px
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1244px) {
|
||||
.container {
|
||||
max-width:1204px!important
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Roboto,Helvetica,Arial,sans-serif;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
line-height: 1.5;
|
||||
color: #212121;
|
||||
text-align: left;
|
||||
background: transparent;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container terms-component">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>Terms of Service</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<p><span>The </span><span>OpenDMP</span><span> service was developed to provide a more flexible, </span><span>collaborative </span><span>environment with machine actionable solutions in writing, sharing and publishing Data Management Plans (DMPs). It is a product of </span><span>cooperation between </span><span>OpenAIRE </span><span>AMKE</span><span class="c0"> and EUDAT CDI and is offered both as a software “OpenDMP '' and as an online service under the name “ARGOS”. </span></p>
|
||||
<p><span></span></p>
|
||||
<ol>
|
||||
<li><span><a href="https://code-repo.d4science.org/MaDgiK-CITE/argos">OpenDMP software</a></span><span> is offered under the Free Open Source Software license </span><span>Apache 2.0</span><span class="c0">, for further development and use by institutions and interested parties.</span></li>
|
||||
<li><span><a href="https://argos.openaire.eu/">ARGOS</a></span><span> service</span><span> is offered by</span><span> </span><span>OpenAIRE</span><span> as </span><span>part of its mission to support Open Science in the European Research Area, focusing on information linking and contextualisation that enriches its </span><span class="c5"><a href="https://zenodo.org/record/2600275#.XZpJgUYzY2w">Research Graph</a></span><span>.</span><span class="c0"> Use of ARGOS denotes agreement with the following terms:</span>
|
||||
<ol>
|
||||
<li><span>ARGOS is a software interface and a database with no storage capacity to store or preserve research data. The DMPs created are hosted in the </span><span>OpenAIRE </span><span>production environment for the sole purpose of exposing the DMP records once finalised (“published”). If assigned a DOI, the DMP records are linked to and preserved in Zenodo, the OpenAIRE’s repository service. The ARGOS service is made available for use free-of-charge for research, educational and informational purposes.</span></li>
|
||||
<li><span>Login to ARGOS is possible through a variety of external providers, among which Google, Facebook, Twitter, B2Access </span><span>and OpenAIRE Login</span><span>, that share information of their user profiles with ARGOS, </span><span>according to the rights that have been granted to the given provider by the user.</span><span> External email addresses that are used in invitations for collaborations are held in ARGOS database that stores information about only the </span><span class="c11">name</span><span>, </span><span class="c11">surname</span><span> </span><span>and </span><span class="c11">email address</span><span> </span><span>of the DMP creator and collaborator. Personal data is collected via the login option and via email invitations sent to external DMP contributors. This personal information as well as the activity of ARGOS users is used only for deriving usage metrics and assessing the service quality. They are stored in ARGOS database for as long as the account is active and they are accessible only from people in the team in charge of </span><span>quality and risk assessment</span><span>. </span><span>They will not be used for other purposes other than the ones stated in this document and they can be deleted at any time should the user claim a relevant request. </span><span>The aforementioned processes are also facilitated by the use of c</span><span>ookies</span><span> (see below the “Cookie policy”). </span></li>
|
||||
<li><span>Data concerning DMP information will be used by OpenAIRE for research and development </span><span>purposes, </span><span>such as identifying DMP models, and for ensuring compliance with policy requirements and monitoring of DMPs uptake linked to OpenAIRE’s Monitoring Dashboards and the Open Science Observatory.</span></li>
|
||||
<li><span>The DMP Manager</span><span>, i.e. the person who creates and manages a DMP, and/ or the </span><span>contributor, i.e. the person who is invited to collaborate on a DMP, shall ensure that content is accurate and presented in a way that adheres to these </span><span>Terms of Service</span><span> and applicable laws, including, but not limited to, privacy, data protection and intellectual property rights.</span></li>
|
||||
<li><span>ARGOS service is provided by OpenAIRE “as is”. Although OpenAIRE and its partners take measures for the availability, dependability, and accuracy of the service, access to ARGOS, utilisation of its features and preservation of the data deposited or produced by the service are not guaranteed. OpenAIRE cannot be held responsible </span><span>for any data loss regarding DMPs,</span><span> ethical or financial damage or any other direct or indirect impact that any failure of ARGOS service may have on its users. </span></li>
|
||||
<li><span>ARGOS </span><span>users are exclusively responsible for their use of content, and shall hold OpenAIRE free and harmless in connection with their download and/or use.</span></li>
|
||||
<li><span>OpenAIRE may not be held responsible for the content provided </span><span>or statements</span><span> made in Data Management Plans created and managed by its users. </span></li>
|
||||
<li><span>All content is provided “as-is”. Users of content (“Users”) shall respect applicable license conditions. Download and use of content from ARGOS does not transfer any intellectual property rights in the content to the User.</span></li>
|
||||
<li><span>In the case any content is reported as violating third party rights or other legal provisions, ARGOS reserves the right to remove the content from the service until the dispute is legally settled. Any such incidents should be reported at </span><span class="c5"><a href="mailto:noticeandtakedown@openaire.eu">noticeandtakedown@openaire.eu</a></span><span class="c0"> </span></li>
|
||||
<li><span>ARGOS users are held responsible for the data and information they provide in the service. Users may not add information, data or any other type of artifact that may be </span><span>malicious</span><span>, intentionally erroneous and potentially harmful for other ARGOS users, IPR owners and/or the general public.</span></li>
|
||||
<li><span>In case a user of ARGOS identifies a potential </span><span>infringement</span><span> of copyright, </span><span>harmful</span><span> or </span><span>malicious </span><span>operation, function, code, information or data, shall inform OpenAIRE providing sufficient evidence for the identification of the case and the information and/or data challenged.</span></li>
|
||||
<li><span>OpenAIRE reserves the right, without notice, at its sole discretion and without liability, (i) to alter or delete inappropriate content, and (ii) to restrict or remove User access where it considers that use of ARGOS interferes with its operations or violates these Terms of Service or applicable laws.</span></li>
|
||||
<li><span>These Terms of Service are subject to change by OpenAIRE at any time and without notice, other than through posting the updated Terms of Service on the OpenAIRE website and indicating the version and date of last update.</span></li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
<p><span>For any questions or comments you may have about the current Terms of Service, please contact us: </span><span class="c5"><a href="mailto:argos@openaire.eu">argos@openaire.eu</a></span><span class="c0"> </span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,8 @@
|
|||
#Security
|
||||
IDP_ISSUER_URI=http://localhost:8082/keycloak/realms/OpenDMP
|
||||
|
||||
#PDF
|
||||
PDF_CONVERTER_URL=http://opendmp.gotenberg:3000
|
||||
|
||||
#Storage
|
||||
STORAGE_PATH=/storage
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,3 @@
|
|||
pdf:
|
||||
converter:
|
||||
url: ${PDF_CONVERTER_URL}
|
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"pidLinks": [
|
||||
{
|
||||
"pid": "doi",
|
||||
"link": "https://doi.org/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "uniprot",
|
||||
"link": "https://uniprot.org/uniprotkb/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "handle",
|
||||
"link": "https://hdl.handle.net/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "arxiv",
|
||||
"link": "https://arxiv.org/abs/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "ascl",
|
||||
"link": "https://ascl.net/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "orcid",
|
||||
"link": "https://orcid.org/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "pmid",
|
||||
"link": "https://pubmed.ncbi.nlm.nih.gov/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "ads",
|
||||
"link": "https://ui.adsabs.harvard.edu/#abs/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "pmcid",
|
||||
"link": "https://ncbi.nlm.nih.gov/pmc/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "gnd",
|
||||
"link": "https://d-nb.info/gnd/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "urn",
|
||||
"link": "https://nbn-resolving.org/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "sra",
|
||||
"link": "https://ebi.ac.uk/ena/data/view/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "bioproject",
|
||||
"link": "https://ebi.ac.uk/ena/data/view/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "biosample",
|
||||
"link": "https://ebi.ac.uk/ena/data/view/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "ensembl",
|
||||
"link": "https://ensembl.org/id/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "refseq",
|
||||
"link": "https://ncbi.nlm.nih.gov/entrez/viewer.fcgi?val={pid}"
|
||||
},
|
||||
{
|
||||
"pid": "genome",
|
||||
"link": "https://ncbi.nlm.nih.gov/assembly/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "geo",
|
||||
"link": "https://ncbi.nlm.nih.gov/geo/query/acc.cgi?acc={pid}"
|
||||
},
|
||||
{
|
||||
"pid": "arrayexpress_array",
|
||||
"link": "https://ebi.ac.uk/arrayexpress/arrays/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "arrayexpress_experiment",
|
||||
"link": "https://ebi.ac.uk/arrayexpress/experiments/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "hal",
|
||||
"link": "https://hal.archives-ouvertes.fr/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "swh",
|
||||
"link": "https://archive.softwareheritage.org/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "ror",
|
||||
"link": "https://ror.org/{pid}"
|
||||
},
|
||||
{
|
||||
"pid": "viaf",
|
||||
"link": "https://viaf.org/viaf/{pid}"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
web:
|
||||
security:
|
||||
idp:
|
||||
resource:
|
||||
jwt:
|
||||
audiences: [ "dmp_plugins" ]
|
|
@ -0,0 +1,4 @@
|
|||
file:
|
||||
storage:
|
||||
temp: ${STORAGE_PATH}/tmp
|
||||
transient-path: ${STORAGE_PATH}/shared
|
|
@ -0,0 +1,5 @@
|
|||
word-file-transformer:
|
||||
word-dmp-template: /config/documents/h2020.docx
|
||||
pid-template: /config/pidLinks.json
|
||||
word-description-template: /config/documents/h2020_dataset.docx
|
||||
useSharedStorage: false
|
|
@ -0,0 +1,5 @@
|
|||
#Security
|
||||
IDP_ISSUER_URI=http://localhost:8082/keycloak/realms/OpenDMP
|
||||
|
||||
#Storage
|
||||
STORAGE_PATH=/storage
|
|
@ -0,0 +1,2 @@
|
|||
rda-file-transformer:
|
||||
useSharedStorage: true
|
|
@ -0,0 +1,6 @@
|
|||
web:
|
||||
security:
|
||||
idp:
|
||||
resource:
|
||||
jwt:
|
||||
audiences: [ "dmp_plugins" ]
|
|
@ -0,0 +1,4 @@
|
|||
file:
|
||||
storage:
|
||||
temp: ${STORAGE_PATH}/tmp
|
||||
transient-path: ${STORAGE_PATH}/shared
|
|
@ -0,0 +1,186 @@
|
|||
{
|
||||
"aar": "aa",
|
||||
"abk": "ab",
|
||||
"afr": "af",
|
||||
"aka": "ak",
|
||||
"amh": "am",
|
||||
"ara": "ar",
|
||||
"arg": "an",
|
||||
"asm": "as",
|
||||
"ava": "av",
|
||||
"ave": "ae",
|
||||
"aym": "ay",
|
||||
"aze": "az",
|
||||
"bak": "ba",
|
||||
"bam": "bm",
|
||||
"bel": "be",
|
||||
"ben": "bn",
|
||||
"bis": "bi",
|
||||
"bod": "bo",
|
||||
"bos": "bs",
|
||||
"bre": "br",
|
||||
"bul": "bg",
|
||||
"cat": "ca",
|
||||
"ces": "cs",
|
||||
"cha": "ch",
|
||||
"che": "ce",
|
||||
"chu": "cu",
|
||||
"chv": "cv",
|
||||
"cor": "kw",
|
||||
"cos": "co",
|
||||
"cre": "cr",
|
||||
"cym": "cy",
|
||||
"dan": "da",
|
||||
"deu": "de",
|
||||
"div": "dv",
|
||||
"dzo": "dz",
|
||||
"ell": "el",
|
||||
"eng": "en",
|
||||
"epo": "eo",
|
||||
"est": "et",
|
||||
"eus": "eu",
|
||||
"ewe": "ee",
|
||||
"fao": "fo",
|
||||
"fas": "fa",
|
||||
"fij": "fj",
|
||||
"fin": "fi",
|
||||
"fra": "fr",
|
||||
"fry": "fy",
|
||||
"ful": "ff",
|
||||
"gla": "gd",
|
||||
"gle": "ga",
|
||||
"glg": "gl",
|
||||
"glv": "gv",
|
||||
"grn": "gn",
|
||||
"guj": "gu",
|
||||
"hat": "ht",
|
||||
"hau": "ha",
|
||||
"hbs": "sh",
|
||||
"heb": "he",
|
||||
"her": "hz",
|
||||
"hin": "hi",
|
||||
"hmo": "ho",
|
||||
"hrv": "hr",
|
||||
"hun": "hu",
|
||||
"hye": "hy",
|
||||
"ibo": "ig",
|
||||
"ido": "io",
|
||||
"iii": "ii",
|
||||
"iku": "iu",
|
||||
"ile": "ie",
|
||||
"ina": "ia",
|
||||
"ind": "id",
|
||||
"ipk": "ik",
|
||||
"isl": "is",
|
||||
"ita": "it",
|
||||
"jav": "jv",
|
||||
"jpn": "ja",
|
||||
"kal": "kl",
|
||||
"kan": "kn",
|
||||
"kas": "ks",
|
||||
"kat": "ka",
|
||||
"kau": "kr",
|
||||
"kaz": "kk",
|
||||
"khm": "km",
|
||||
"kik": "ki",
|
||||
"kin": "rw",
|
||||
"kir": "ky",
|
||||
"kom": "kv",
|
||||
"kon": "kg",
|
||||
"kor": "ko",
|
||||
"kua": "kj",
|
||||
"kur": "ku",
|
||||
"lao": "lo",
|
||||
"lat": "la",
|
||||
"lav": "lv",
|
||||
"lim": "li",
|
||||
"lin": "ln",
|
||||
"lit": "lt",
|
||||
"ltz": "lb",
|
||||
"lub": "lu",
|
||||
"lug": "lg",
|
||||
"mah": "mh",
|
||||
"mal": "ml",
|
||||
"mar": "mr",
|
||||
"mkd": "mk",
|
||||
"mlg": "mg",
|
||||
"mlt": "mt",
|
||||
"mon": "mn",
|
||||
"mri": "mi",
|
||||
"msa": "ms",
|
||||
"mya": "my",
|
||||
"nau": "na",
|
||||
"nav": "nv",
|
||||
"nbl": "nr",
|
||||
"nde": "nd",
|
||||
"ndo": "ng",
|
||||
"nep": "ne",
|
||||
"nld": "nl",
|
||||
"nno": "nn",
|
||||
"nob": "nb",
|
||||
"nor": "no",
|
||||
"nya": "ny",
|
||||
"oci": "oc",
|
||||
"oji": "oj",
|
||||
"ori": "or",
|
||||
"orm": "om",
|
||||
"oss": "os",
|
||||
"pan": "pa",
|
||||
"pli": "pi",
|
||||
"pol": "pl",
|
||||
"por": "pt",
|
||||
"pus": "ps",
|
||||
"que": "qu",
|
||||
"roh": "rm",
|
||||
"ron": "ro",
|
||||
"run": "rn",
|
||||
"rus": "ru",
|
||||
"sag": "sg",
|
||||
"san": "sa",
|
||||
"sin": "si",
|
||||
"slk": "sk",
|
||||
"slv": "sl",
|
||||
"sme": "se",
|
||||
"smo": "sm",
|
||||
"sna": "sn",
|
||||
"snd": "sd",
|
||||
"som": "so",
|
||||
"sot": "st",
|
||||
"spa": "es",
|
||||
"sqi": "sq",
|
||||
"srd": "sc",
|
||||
"srp": "sr",
|
||||
"ssw": "ss",
|
||||
"sun": "su",
|
||||
"swa": "sw",
|
||||
"swe": "sv",
|
||||
"tah": "ty",
|
||||
"tam": "ta",
|
||||
"tat": "tt",
|
||||
"tel": "te",
|
||||
"tgk": "tg",
|
||||
"tgl": "tl",
|
||||
"tha": "th",
|
||||
"tir": "ti",
|
||||
"ton": "to",
|
||||
"tsn": "tn",
|
||||
"tso": "ts",
|
||||
"tuk": "tk",
|
||||
"tur": "tr",
|
||||
"twi": "tw",
|
||||
"uig": "ug",
|
||||
"ukr": "uk",
|
||||
"urd": "ur",
|
||||
"uzb": "uz",
|
||||
"ven": "ve",
|
||||
"vie": "vi",
|
||||
"vol": "vo",
|
||||
"wln": "wa",
|
||||
"wol": "wo",
|
||||
"xho": "xh",
|
||||
"yid": "yi",
|
||||
"yor": "yo",
|
||||
"zha": "za",
|
||||
"zho": "zh",
|
||||
"zul": "zu"
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
server {
|
||||
|
||||
listen 8080;
|
||||
|
||||
sendfile on;
|
||||
|
||||
default_type application/octet-stream;
|
||||
|
||||
error_page 405 =200 $uri;
|
||||
|
||||
|
||||
gzip on;
|
||||
gzip_http_version 1.1;
|
||||
gzip_disable "MSIE [1-6]\.";
|
||||
gzip_min_length 1100;
|
||||
gzip_vary on;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
gzip_comp_level 9;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
location = / {
|
||||
return 301 https://$host/splash/;
|
||||
}
|
||||
|
||||
location /splash/ {
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
||||
alias /usr/share/nginx/html/assets/splash/;
|
||||
|
||||
}
|
||||
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"production": false,
|
||||
"Server": "http://localhost:8081/api",
|
||||
"App": "http://localhost:8081/",
|
||||
"HelpService": {
|
||||
"Enabled": false,
|
||||
"Url": "localhost:5000/"
|
||||
},
|
||||
"defaultCulture": "en-US",
|
||||
"defaultLanguage": "en",
|
||||
"defaultBlueprintId": "86635178-36a6-484f-9057-a934e4eeecd5",
|
||||
"keycloak": {
|
||||
"enabled": true,
|
||||
"address": "http://localhost:8082/keycloak/",
|
||||
"realm": "openDMP",
|
||||
"flow": "standard",
|
||||
"clientId": "dmp_webapp",
|
||||
"silentCheckSsoRedirectUri": "http://localhost:8082/assets/silent-check-sso.html",
|
||||
"scope": "openid profile email address phone dmp_web dmp_notification dmp_annotation identity_provider",
|
||||
"clientSecret": null,
|
||||
"grantType": "code"
|
||||
},
|
||||
"inAppNotificationsCountInterval": "30",
|
||||
"notification_service": {
|
||||
"enabled": true
|
||||
// "address": "http://opendmp.notification:8080/"
|
||||
},
|
||||
"annotation_service": {
|
||||
"enabled": true
|
||||
},
|
||||
"zenodoConfiguration": {
|
||||
"clientId": "dmp_plugins",
|
||||
"oauthUrl": "https://sandbox.zenodo.org/oauth/authorize",
|
||||
"redirectUri": "http://localhost:8081/zenodo/login/external/zenodo"
|
||||
},
|
||||
"logging": {
|
||||
"enabled": true,
|
||||
"logLevels": ["warning", "error"]
|
||||
},
|
||||
"matomo": {
|
||||
"enabled": true,
|
||||
"url": "https://beta.analytics.openaire.eu/",
|
||||
"siteId": 361
|
||||
},
|
||||
"lockInterval": 60000,
|
||||
"guideAssets": "assets/images/guide",
|
||||
"allowOrganizationCreator": true,
|
||||
"useSplash": false,
|
||||
"orcidPath": "https://orcid.org/",
|
||||
"maxFileSizeInMB": 10,
|
||||
"authProviders": {
|
||||
"defaultAuthProvider": {
|
||||
"name": "Default",
|
||||
"providerClass": "defaultIcon"
|
||||
},
|
||||
"authProviders": [
|
||||
{
|
||||
"name": "google",
|
||||
"providerClass": "googleIcon",
|
||||
"cultures": ["en"]
|
||||
},
|
||||
{
|
||||
"name": "facebook",
|
||||
"providerClass": "facebookIcon",
|
||||
"cultures": ["en"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
user nginx;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
access_log /var/log/nginx/access.log main;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
|
||||
#gzip on;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
#DB
|
||||
DB_CONNECTION_STRING=jdbc:postgresql://opendmp.postgres:5432/opendmp
|
||||
DB_USER=opendmp-psql
|
||||
DB_PASSWORD=opendmp-admin
|
||||
|
||||
#Server
|
||||
WEB_PORT=8080
|
||||
|
||||
#Security
|
||||
IDP_APIKEY_CLIENT_ID=dmp_notification
|
||||
IDP_APIKEY_CLIENT_SECRET=notification_secret
|
||||
IDP_APIKEY_SCOPE=dmp_notification-dedicated
|
||||
|
||||
IDP_OPAQUE_CLIENT_ID=
|
||||
IDP_OPAQUE_CLIENT_SECRET=
|
||||
|
||||
IDP_ISSUER_URI=http://localhost:8082/keycloak/realms/OpenDMP
|
||||
|
||||
#RABBITMQ
|
||||
RABBIT_HOST=opendmp.rabbitmq
|
||||
RABBIT_PORT=5672
|
||||
RABBIT_USER=guest
|
||||
RABBIT_PASS=guest
|
||||
|
||||
#EMAIL
|
||||
MAIL_HOST=smtp.office365.com
|
||||
MAIL_PORT=587
|
||||
MAIL_USERNAME=
|
||||
MAIL_PASSWORD=
|
||||
MAIL_AUTH=false
|
||||
MAIL_TLS=true
|
||||
MAIL_ADDRESS=dmp_notification@admin.gr
|
||||
|
||||
#CIPHER
|
||||
CIPHER_SYMETRIC_ENCRYPTION_CONFIGURATION_AES_KEY=
|
||||
CIPHER_SYMETRIC_ENCRYPTION_CONFIGURATION_AES_IV=
|
||||
CIPHER_SYMETRIC_ENCRYPTION_QUEUE_AES_KEY=
|
||||
CIPHER_SYMETRIC_ENCRYPTION_QUEUE_AES_IV=
|
||||
|
||||
#NOTIFICATION
|
||||
#CACHE_DISAMBIGUATION=
|
|
@ -0,0 +1,12 @@
|
|||
cipher:
|
||||
symetric-encryption:
|
||||
default-o: null
|
||||
options:
|
||||
configuration:
|
||||
aes:
|
||||
key: ${CIPHER_SYMETRIC_ENCRYPTION_CONFIGURATION_AES_KEY:}
|
||||
iv: ${CIPHER_SYMETRIC_ENCRYPTION_CONFIGURATION_AES_IV:}
|
||||
queue:
|
||||
aes:
|
||||
key: ${CIPHER_SYMETRIC_ENCRYPTION_QUEUE_AES_KEY:}
|
||||
iv: ${CIPHER_SYMETRIC_ENCRYPTION_QUEUE_AES_IV:}
|
|
@ -0,0 +1,3 @@
|
|||
web:
|
||||
cors:
|
||||
allowed-origins: [ http://localhost, http://localhost:8082 ]
|
|
@ -0,0 +1,18 @@
|
|||
spring:
|
||||
jpa:
|
||||
show-sql: true
|
||||
properties:
|
||||
hibernate:
|
||||
show_sql: true
|
||||
format_sql: false
|
||||
datasource:
|
||||
url: ${DB_CONNECTION_STRING}
|
||||
username: ${DB_USER}
|
||||
password: ${DB_PASSWORD}
|
||||
driver-class-name: org.postgresql.Driver
|
||||
hikari:
|
||||
connection-timeout: 30000
|
||||
minimum-idle: 3
|
||||
maximum-pool-size: 5
|
||||
idle-timeout: 600000
|
||||
max-lifetime: 1800000
|
|
@ -0,0 +1,14 @@
|
|||
spring:
|
||||
mail:
|
||||
host: ${MAIL_HOST:}
|
||||
port: ${MAIL_PORT:}
|
||||
username: ${MAIL_USERNAME:}
|
||||
password: ${MAIL_PASSWORD:}
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: ${MAIL_AUTH:}
|
||||
starttls:
|
||||
enable: ${MAIL_TLS:}
|
||||
email:
|
||||
address: ${MAIL_ADDRESS:}
|
|
@ -0,0 +1,2 @@
|
|||
logging:
|
||||
config: /config/logging/logback-${spring.profiles.active}.xml
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration debug="false">
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} [%thread] %-5level %logger{36} [%X{req.id}] - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="TROUBLESHOOTING" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/logs/logging.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/logging.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
</timeBasedFileNamingAndTriggeringPolicy>
|
||||
<maxHistory>15</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} [%thread] %-5level %logger{36} [%X{req.id}] - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="AUDITING" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/logs/auditing.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>logs/auditing.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
|
||||
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
</timeBasedFileNamingAndTriggeringPolicy>
|
||||
<maxHistory>15</maxHistory>
|
||||
</rollingPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<Pattern>%date{ISO8601} - %X{req.id} - %message%n</Pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<logger name="org.springframework.web" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="org.hibernate" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="gr.cite" level="WARN" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="org.springframework.data.elasticsearch.client.WIRE" level="TRACE" additivity="false">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<logger name="audit" level="INFO" additivity="false">
|
||||
<appender-ref ref="AUDITING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</logger>
|
||||
<root level="info">
|
||||
<appender-ref ref="TROUBLESHOOTING"/>
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
</configuration>
|
|
@ -0,0 +1,490 @@
|
|||
notification:
|
||||
staticFields:
|
||||
fields:
|
||||
- key: "{installation-url}"
|
||||
type: "String"
|
||||
value: "http://localhost:4200"
|
||||
resolver:
|
||||
global-policies:
|
||||
- #dmpInvitationExternalUser
|
||||
type: 065DEECD-21BB-44AF-9983-E660FDF24BC4
|
||||
contacts: [ email ]
|
||||
- #dmpInvitationExistingUser
|
||||
type: 4904dea2-5079-46d3-83be-3a19c9ab45dc
|
||||
contacts: [ inapp, email ]
|
||||
- #dpmModified
|
||||
type: 4542262A-22F8-4BAA-9DB6-1C8E70AC1DBB
|
||||
contacts: [ inapp, email ]
|
||||
- #dmpFinalised
|
||||
type: 90DB0B46-42DE-BD89-AEBF-6F27EFEB256E
|
||||
contacts: [ inapp, email ]
|
||||
- #descriptionModified
|
||||
type: 4FDBFA80-7A71-4A69-B854-67CBB70648F1
|
||||
contacts: [ inapp, email ]
|
||||
- #descriptionFinalised
|
||||
type: 33790bad-94d4-488a-8ee2-7f6295ca18ea
|
||||
contacts: [ inapp, email ]
|
||||
- #mergeAcountConfirmation
|
||||
type: BFE68845-CB05-4C5A-A03D-29161A7C9660
|
||||
contacts: [ email ]
|
||||
- #removeCredentialConfirmation
|
||||
type: C9BC3F16-057E-4BBA-8A5F-36BD835E5604
|
||||
contacts: [ email ]
|
||||
- #dmpDeposit
|
||||
type: 55736F7A-83AB-4190-AF43-9D031A6F9612
|
||||
contacts: [ inapp, email ]
|
||||
- #descriptionTemplateInvitation
|
||||
type: 223BB607-EFA1-4CE7-99EC-4BEABFEF9A8B
|
||||
contacts: [ inapp, email ]
|
||||
- #contactSupportType
|
||||
type: 5B1D6C52-88F9-418B-9B8A-6F1F963D9EAD
|
||||
contacts: [ email ]
|
||||
- #publicContactSupportType
|
||||
type: B542B606-ACC6-4629-ADEF-4D8EE2F01222
|
||||
contacts: [ email ]
|
||||
message:
|
||||
email:
|
||||
flows:
|
||||
- #dmpInvitationExternalUser
|
||||
key: 065DEECD-21BB-44AF-9983-E660FDF24BC4
|
||||
subject-path: /notification_templates/dmpinvitationexternaluser/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpinvitationexternaluser/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{dmpname}", "{dmprole}", "{installation-url}", "{confirmationToken}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{dmpname}]': null
|
||||
'[{dmprole}]': null
|
||||
'[{recipient}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #dmpInvitationExistingUser
|
||||
key: 4904dea2-5079-46d3-83be-3a19c9ab45dc
|
||||
subject-path: /notification_templates/dmpinvitationexistinguser/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpinvitationexistinguser/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{dmpname}", "{dmprole}", "{reasonName}", "{installation-url}", "{id}"]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{dmpname}]': null
|
||||
'[{dmprole}]': null
|
||||
'[{reasonName}]': null
|
||||
'[{recipient}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #dmpModified
|
||||
key: 4542262A-22F8-4BAA-9DB6-1C8E70AC1DBB
|
||||
subject-path: /notification_templates/dmpmodified/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpmodified/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{recipient}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #dmpFinalised
|
||||
key: 90DB0B46-42DE-BD89-AEBF-6F27EFEB256E
|
||||
subject-path: /notification_templates/dmpfinalised/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpfinalised/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{recipient}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #desriptionModified
|
||||
key: 4FDBFA80-7A71-4A69-B854-67CBB70648F1
|
||||
subject-path: /notification_templates/descriptionmodified/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/descriptionmodified/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{recipient}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #descriptionFinalised
|
||||
key: 33790bad-94d4-488a-8ee2-7f6295ca18ea
|
||||
subject-path: /notification_templates/descriptionfinalised/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/descriptionfinalised/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{recipient}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #mergeAccountConfirmation
|
||||
key: BFE68845-CB05-4C5A-A03D-29161A7C9660
|
||||
subject-path: /notification_templates/mergeacountconfirmation/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/mergeacountconfirmation/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{userName}", "{installation-url}", "{confirmationToken}" ]
|
||||
optional:
|
||||
- key: "{expiration_time}"
|
||||
value: ---
|
||||
formatting:
|
||||
'[{userName}]': null
|
||||
'[{installation-url}]': null
|
||||
'[{expiration_time}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #removeCredentialConfirmation
|
||||
key: C9BC3F16-057E-4BBA-8A5F-36BD835E5604
|
||||
subject-path: /notification_templates/removecredentialconfirmation/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ "{installation-url}", "{confirmationToken}" ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/removecredentialconfirmation/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ ]
|
||||
optional:
|
||||
- key: "{email}"
|
||||
value: email
|
||||
- key: "{expiration_time}"
|
||||
value: --
|
||||
formatting:
|
||||
'[{email}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #dmpDeposit
|
||||
key: 55736F7A-83AB-4190-AF43-9D031A6F9612
|
||||
subject-path: /notification_templates/dmpdeposit/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpdeposit/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{recipient}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #descriptionTemplateInvitation
|
||||
key: 223BB607-EFA1-4CE7-99EC-4BEABFEF9A8B
|
||||
subject-path: /notification_templates/descriptiontemplateinvitation/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/descriptiontemplateinvitation/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{templateName}", "{installation-url}", "{templateID}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{templateName}]': null
|
||||
'[{recipient}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #contactSupportType
|
||||
key: 5B1D6C52-88F9-418B-9B8A-6F1F963D9EAD
|
||||
subject-path: /notification_templates/contactsupport/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ "{subject}" ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/contactsupport/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{description}", "{email}" ]
|
||||
formatting:
|
||||
'[{subject}]': null
|
||||
'[{description}]': null
|
||||
'[{email}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
- #publicContactSupportType
|
||||
key: B542B606-ACC6-4629-ADEF-4D8EE2F01222
|
||||
subject-path: /notification_templates/publiccontactsupport/email/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ "{subject}" ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/publiccontactsupport/email/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{description}", "{email}", "{name}" ]
|
||||
formatting:
|
||||
'[{subject}]': null
|
||||
'[{description}]': null
|
||||
'[{email}]': null
|
||||
'[{name}]': null
|
||||
cc: [ ]
|
||||
cc-mode: 0
|
||||
bcc: [ ]
|
||||
bcc-mode: 0
|
||||
allow-attachments: false
|
||||
cipher-fields: [ ]
|
||||
template-cache:
|
||||
prefix: ${CACHE_DISAMBIGUATION:}
|
||||
key-pattern: "{prefix}:Notification_Message_Email_Template:{key}:v0"
|
||||
in-app:
|
||||
flows:
|
||||
- #dmpInvitationExistingUser
|
||||
key: 4904dea2-5079-46d3-83be-3a19c9ab45dc
|
||||
subject-path: /notification_templates/dmpinvitationexistinguser/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpinvitationexistinguser/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{dmpname}", "{dmprole}", "{reasonName}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{dmpname}]': null
|
||||
'[{dmprole}]': null
|
||||
'[{reasonName}]': null
|
||||
'[{recipient}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
- #dmpModified
|
||||
key: 4542262A-22F8-4BAA-9DB6-1C8E70AC1DBB
|
||||
subject-path: /notification_templates/dmpmodified/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpmodified/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{installation-url}]': null
|
||||
'[{id}]': null
|
||||
'[{recipient}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
- #dmpFinalised
|
||||
key: 90DB0B46-42DE-BD89-AEBF-6F27EFEB256E
|
||||
subject-path: /notification_templates/dmpfinalised/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpfinalised/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{installation-url}]': null
|
||||
'[{id}]': null
|
||||
'[{recipient}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
- #desriptionModified
|
||||
key: 4FDBFA80-7A71-4A69-B854-67CBB70648F1
|
||||
subject-path: /notification_templates/descriptionmodified/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/descriptionmodified/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{installation-url}]': null
|
||||
'[{id}]': null
|
||||
'[{recipient}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
- #descriptionFinalised
|
||||
key: 33790bad-94d4-488a-8ee2-7f6295ca18ea
|
||||
subject-path: /notification_templates/descriptionfinalised/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/descriptionfinalised/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{installation-url}]': null
|
||||
'[{id}]': null
|
||||
'[{recipient}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
- #mergeAccountConfirmation
|
||||
key: BFE68845-CB05-4C5A-A03D-29161A7C9660
|
||||
subject-path: /notification_templates/mergeacountconfirmation/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/mergeacountconfirmation/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{userName}", "{installation-url}", "{confirmationToken}" ]
|
||||
optional:
|
||||
- key: "{expiration_time}"
|
||||
value: ---
|
||||
formatting:
|
||||
'[{userName}]': null
|
||||
'[{installation-url}]': null
|
||||
'[{confirmationToken}]': null
|
||||
'[{expiration_time}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
- #removeCredentialConfirmation
|
||||
key: C9BC3F16-057E-4BBA-8A5F-36BD835E5604
|
||||
subject-path: /notification_templates/removecredentialconfirmation/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ "{installation-url}", "{confirmationToken}" ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/removecredentialconfirmation/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ ]
|
||||
optional:
|
||||
- key: "{email}"
|
||||
value: email
|
||||
- key: "{expiration_time}"
|
||||
value: --
|
||||
formatting:
|
||||
'[{email}]': null
|
||||
'[{expiration_time}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
- #dmpDeposit
|
||||
key: 55736F7A-83AB-4190-AF43-9D031A6F9612
|
||||
subject-path: /notification_templates/dmpdeposit/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/dmpdeposit/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{reasonName}", "{name}", "{installation-url}", "{id}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{reasonName}]': null
|
||||
'[{name}]': null
|
||||
'[{installation-url}]': null
|
||||
'[{id}]': null
|
||||
'[{recipient}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
- #descriptionTemplateInvitation
|
||||
key: 223BB607-EFA1-4CE7-99EC-4BEABFEF9A8B
|
||||
subject-path: /notification_templates/descriptiontemplateinvitation/inapp/subject.{language}.txt
|
||||
subject-field-options:
|
||||
mandatory: [ ]
|
||||
optional: [ ]
|
||||
body-path: /notification_templates/descriptiontemplateinvitation/inapp/body.{language}.html
|
||||
body-field-options:
|
||||
mandatory: [ "{templateName}", "{installation-url}", "{templateID}" ]
|
||||
optional:
|
||||
- key: "{recipient}"
|
||||
value:
|
||||
formatting:
|
||||
'[{templateName}]': null
|
||||
'[{installation-url}]': null
|
||||
'[{templateID}]': null
|
||||
'[{recipient}]': null
|
||||
priority-key: null
|
||||
cipher-fields: [ ]
|
||||
template-cache:
|
||||
prefix: ${CACHE_DISAMBIGUATION:}
|
||||
key-pattern: "{prefix}:Notification_Message_InApp_Template:{key}:v0"
|
|
@ -0,0 +1,25 @@
|
|||
queue:
|
||||
rabbitmq:
|
||||
host: ${RABBIT_HOST}
|
||||
port: ${RABBIT_PORT}
|
||||
username: ${RABBIT_USER}
|
||||
password: ${RABBIT_PASS}
|
||||
enable: true
|
||||
durable: true
|
||||
queue: cite_dmp_test_notification_inbox_queue
|
||||
exchange: cite_dmp_test_queue
|
||||
listenerEnabled: true
|
||||
publisherEnabled: true
|
||||
task:
|
||||
publisher:
|
||||
enable: true
|
||||
options:
|
||||
exchange: cite_dmp_test_queue
|
||||
rabbitmq:
|
||||
enable: true
|
||||
listener:
|
||||
enable: true
|
||||
options:
|
||||
exchange: cite_dmp_test_queue
|
||||
rabbitmq:
|
||||
enable: true
|
|
@ -0,0 +1,21 @@
|
|||
web:
|
||||
security:
|
||||
enabled: true
|
||||
authorized-endpoints: [ api ]
|
||||
allowed-endpoints: [ health ]
|
||||
idp:
|
||||
api-key:
|
||||
enabled: true
|
||||
authorization-header: Authorization
|
||||
client-id: ${IDP_APIKEY_CLIENT_ID:}
|
||||
client-secret: ${IDP_APIKEY_CLIENT_SECRET:}
|
||||
scope: ${IDP_APIKEY_SCOPE:}
|
||||
resource:
|
||||
token-type: JWT #| opaque
|
||||
opaque:
|
||||
client-id: ${IDP_OPAQUE_CLIENT_ID:}
|
||||
client-secret: ${IDP_OPAQUE_CLIENT_SECRET:}
|
||||
jwt:
|
||||
claims: [ role, x-role ]
|
||||
issuer-uri: ${IDP_ISSUER_URI:}
|
||||
audiences: [ "dmp_notification" ]
|
|
@ -0,0 +1,3 @@
|
|||
server:
|
||||
port: ${WEB_PORT}
|
||||
forward-headers-strategy: FRAMEWORK
|
|
@ -0,0 +1,10 @@
|
|||
tenant:
|
||||
configEncryptionAesKey: rmpTvZnRWzyisUtFADBcZCn0q7Z75Xdz
|
||||
configEncryptionAesIv: ec05d521a23f80ad
|
||||
multitenancy:
|
||||
is-multitenant: true
|
||||
default-tenant-code: default
|
||||
interceptor:
|
||||
client-claims-prefix: client_
|
||||
enforce-trusted-tenant: false
|
||||
auto-create-tenant-user: true
|
|
@ -0,0 +1,10 @@
|
|||
validation.empty=Value cannot be empty
|
||||
validation.hashempty=Hash must be set
|
||||
validation.lowerthanmin=Value must be larger than {value}
|
||||
validation.largerthanmax=Value must be less than {value}
|
||||
validation.invalidid=Not valid id
|
||||
General_ItemNotFound=Item {0} of type {1} not found
|
||||
Validation_Required={0} is required
|
||||
Validation_OverPosting=Too much info
|
||||
Validation_MaxLength={0} too long
|
||||
Validation_UnexpectedValue=Unexpected value in field {0}
|
|
@ -0,0 +1,6 @@
|
|||
validation.empty=el-Value cannot be empty
|
||||
validation.hashempty=el-Hash must be set
|
||||
validation.lowerthanmin=el-Value must be larger than {value}
|
||||
validation.largerthanmax=el-Value must be less than {value}
|
||||
validation.invalidid=el-Not valid id
|
||||
General_ItemNotFound=el-Item {0} of type {1} not found
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue