Sign inSign up

fiwoo/data-privacy

By fiwoo

Updated over 8 years ago

This repository contains the data privacy microservice in the FIWOO platform

Image
0

473

fiwoo/data-privacy repository overview

data-privacy

This repository contains the data privacy microservice in the FIWOO platform

Getting Started

Prerequisites
  • [Apache Maven 3.3.9]
  • [Java 1.8]
  • [MySQL]

Development

Install Apache Maven and Java 1.8 in your host.

MySQL server needs to be accessible in local or in docker instances.

Deployment with Docker

In order to deploy this microservice using Docker, follow these steps:

  • Download the docker image from Docker Hub

    docker pull fiwoo/data_privacy

  • Run the image. You have to inlude Environment Variables with the configurations for chino.io, the dataprivacy Mysql database, Eureka and auth:

Chino configuration

  • APPID
  • APPKEY
  • CUSTOMERID
  • CUSTOMERKEY
  • GROUPDOCTOR
  • SCHEMA
  • USERCHEMADOCTOR
  • USERSCHEMAPATIENT
  • URLCHINO

Database Configuration

  • URLDB
  • USERDB
  • PASSDB
  • PASSAES

Eureka configuration

  • EUREKA_VHOST
  • EUREKA_PORT

auth configuration

  • SECRET

The service is deployed in port 5050:

`sudo docker run -p 5050:5050 --name data_privacy -e "APPID=<appid>" -e "APPKEY=<appkey>" -e "CUSTOMERID=<customerId>" -e "CUSTOMERKEY=<customerkey>" -e "GROUPDOCTOR=<groupDoctor>" -e "SCHEMA=<schema>" -e "USERSCHEMADOCTOR=<userschemadoctor>" -e "USERSCHEMAPATIENT=<userschemapatient>" -e "URLCHINO=<urlchino>" -e "URLDB=jdbc:mysql://<Database URL>:<Database Port>/<Database name>" -e "USERDB=<user>" -e "PASSDB=<password>" -e "PASSAED=encryption password" -e "EUREKA_VHOST=<Eureka Host>" -e "EUREKA_PORT=<eureka port>" -e "SECRET=<auth secret>" fiwoo/data_privacy`

Tag summary

Content type

Image

Digest

Size

478.8 MB

Last updated

over 8 years ago

docker pull fiwoo/data-privacy