Skip to content

Chithara27/wuriguinea-pre-registration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 96.9%
  • Dockerfile 1.8%
  • Shell 1.3%