GithubHelp home page GithubHelp logo

harishmejari8496 / id-repository Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mosip/id-repository

0.0 0.0 0.0 6.29 MB

ID-Repository is the Github repository from Release 1.2 for hosting modules related to Identity and credential.

License: Mozilla Public License 2.0

Shell 4.47% Dockerfile 1.42% Java 94.11%

id-repository's Introduction

ID Repository

ID Repository acts as a repository of Identity details of an Individual, and provides API based mechanism to store and retrieve Identity details by Registration Processor module.

Following are the pre-requisites for storing or retrieving Identity authentication of an individual

  1. ID Repository accepts ID JSON in the format as provided by the country in ID Schema
  2. ID JSON present in ID Repository APIs gets validated against IdObjectValidator.

ID Repository Documentation

Dependencies

ID Repository dependencies are mentioned below. For all Kernel services refer to commons repo

  • id-repository-identity-service

    • kernel-auditmanager-service
    • kernel-auth-service
    • kernel-config-server
    • kernel-cryptomanager-service
    • kernel-masterdata-service
    • kernel-fsadapter-hdfs
  • id-repository-vid-service

    • kernel-auditmanager-service
    • kernel-auth-service
    • kernel-config-server
    • kernel-cryptomanager-service
    • kernel-vidgenerator-service
    • id-repository-identity-service

Configuration

Configurations used for ID Repo are available in mosip-config

Build

Below command should be run in the parent project id-repository mvn clean install

Deploy

Below command should be executed to run any service locally in specific profile and local configurations -

java -Dspring.profiles.active=<profile> -jar <jar-name>.jar

Below command should be executed to run any service locally in specific profile and remote configurations -

java -Dspring.profiles.active=<profile> -Dspring.cloud.config.uri=<config-url> -Dspring.cloud.config.label=<config-label> -jar <jar-name>.jar

Below command should be executed to run a docker image -

docker run -it -p <host-port>:<container-port> -e active_profile_env={profile} -e spring_config_label_env= {branch} -e spring_config_url_env={config_server_url} <docker-registry-IP:docker-registry-port/<docker-image>

Sample Build and Deployment commands:

docker run -it -d -p 8090:8090 -e active_profile_env={profile}  -e spring_config_label_env= {branch} -e spring_config_url_env={config_server_url} docker-registry.mosip.io:5000/id-repository-identity-service

docker run -it -d -p 8091:8091 -e active_profile_env={profile}  -e spring_config_label_env= {branch} -e spring_config_url_env={config_server_url} docker-registry.mosip.io:5000/id-repository-vid-service

Test

Automated functional tests are available in Functional Tests repo

Documentation

MOSIP documentation is available on Wiki

ID Repository documentation is available on : ID Repository Documentation

ID Repository API documentation available on Wiki: ID Repository APIs

License

This project is licensed under the terms of Mozilla Public License 2.0

id-repository's People

Contributors

ase-101 avatar ckm007 avatar gsasikumar avatar loganathan-sekaran avatar manojsp12 avatar nayakrounak avatar sadanandegowda avatar sowmya695 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.