1.0.0 • Published 4 years ago

signing-api v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 years ago

DCC-Toolkit

Development branch

Please make sure you have node.js installed then just run npm install

Attention

Logging has been moved to https://gitlab.com/aalto-smartcom/elastic-logging

Getting started with SigningAPI on NUC

Please refer to the wiki page for instructions on setting up the service, as well as signing and validating DCCs with the help of Postman examples.

Starting development

Before making any commits please run pre-commmit. You can do that by installing the required module and then installing the hooks:

pip3 install pre-commit && pre-commit install

Docker-compose

We are using docker-compose as the development environment.

  1. First make sure you are logged in to the GitLab registry:
docker login registry.gitlab.com
  1. Bring the stack up:
docker-compose up
  1. To start the logging service (Elastic Stack):
docker-compose -f docker-compose.logging.yml up

Used ports

The project uses following external ports:

signingAPI      9000
eIDAS REST      8080
Kibana          5601
Elasticsearch   9200
Elasticsearch   9300
Logstash        9600
Logstash        9999

Endpoints

You can visit the staging site from the Operations -> Environments tab.