Skip to content

This repository contains services for pre-registering an Individual with MOSIP

License

Notifications You must be signed in to change notification settings

saumyamosip/pre-registration

 
 

Repository files navigation

Build Status

Pre-Registration

This repository contains the source code and design documents for MOSIP Pre-Registration module.

Build

The project requires JDK 1.8.

  1. To build jars:
    $ cd pre-registration
    $ mvn clean install 
    
  2. To skip JUnit tests and Java Docs:
    $ mvn install -DskipTests=true -Dmaven.javadoc.skip=true
    
  3. To build Docker for a service:
    $ cd <service folder>
    $ docker build -f Dockerfile
    

Deploy

  1. To run all services as Dockers using MiniKube run sandbox installer scripts.

  2. To run a Service jar individually:

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

    Example:
    profile: env (extension used on configuration property files*)
    config_label: master (git branch of config repo*)
    config-url: http://localhost:51000 (Url of the config server*)

    * Refer to kernel-config-server for details

  3. Note that you will have to run the dependent services like kernel-config-server to run any service successfully.

  4. To run a Docker image individually:

    $ 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/<dcker-image>`
    

Test

Automated functaionl tests available in Functional Tests repo

APIs

API documentation available on Wiki: Pre-Registration APIs

Documentation

MOSIP documentation is available on Wiki

License

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

About

This repository contains services for pre-registering an Individual with MOSIP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.6%
  • TSQL 2.9%
  • Dockerfile 1.7%
  • Shell 1.3%
  • PLSQL 0.5%