bioextractor-service

Biometrics Extractor service

License

License

GroupId

GroupId

io.mosip.idrepository
ArtifactId

ArtifactId

bioextractor-service
Last Version

Last Version

1.1.4
Release Date

Release Date

Type

Type

jar
Description

Description

bioextractor-service
Biometrics Extractor service

Download bioextractor-service

How to add to project

<!-- https://jarcasting.com/artifacts/io.mosip.idrepository/bioextractor-service/ -->
<dependency>
    <groupId>io.mosip.idrepository</groupId>
    <artifactId>bioextractor-service</artifactId>
    <version>1.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/io.mosip.idrepository/bioextractor-service/
implementation 'io.mosip.idrepository:bioextractor-service:1.1.4'
// https://jarcasting.com/artifacts/io.mosip.idrepository/bioextractor-service/
implementation ("io.mosip.idrepository:bioextractor-service:1.1.4")
'io.mosip.idrepository:bioextractor-service:jar:1.1.4'
<dependency org="io.mosip.idrepository" name="bioextractor-service" rev="1.1.4">
  <artifact name="bioextractor-service" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.mosip.idrepository', module='bioextractor-service', version='1.1.4')
)
libraryDependencies += "io.mosip.idrepository" % "bioextractor-service" % "1.1.4"
[io.mosip.idrepository/bioextractor-service "1.1.4"]

Dependencies

compile (24)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter jar 2.0.2.RELEASE
org.springframework.boot : spring-boot-starter-web jar 2.0.2.RELEASE
org.springframework.cloud : spring-cloud-starter-config jar 2.0.0.RELEASE
org.springframework.boot : spring-boot-starter-actuator jar 2.0.2.RELEASE
org.projectlombok : lombok jar 1.18.8
io.jsonwebtoken : jjwt jar 0.6.0
org.apache.httpcomponents : httpclient jar 4.5.6
org.springframework.boot : spring-boot-starter-data-jpa jar 2.0.2.RELEASE
org.postgresql : postgresql jar 42.2.2
com.h2database : h2 jar 1.4.197
com.auth0 : java-jwt jar 3.8.1
io.springfox : springfox-swagger-ui jar 2.9.2
io.springfox : springfox-swagger2 jar 2.9.2
io.mosip.kernel : kernel-core jar 1.1.4
io.mosip.kernel : kernel-cbeffutil-api jar 1.1.0
io.mosip.kernel : kernel-biosdk-provider jar 1.1.4
io.micrometer : micrometer-core jar 1.4.2
io.micrometer : micrometer-registry-prometheus jar 1.4.2
javax.xml.bind : jaxb-api jar 2.3.1
org.javassist : javassist jar 3.27.0-GA
io.mosip.idrepository : id-repository-core jar 1.1.4
javax.activation : activation jar 1.1
org.glassfish.jaxb : jaxb-runtime jar 2.3.0-b170127.1453
io.mosip.kernel : kernel-logger-logback jar 1.1.4

test (3)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar 2.0.2.RELEASE
junit : junit jar 4.12
org.mockito : mockito-core jar 2.22.0

Project Modules

There are no modules declared in this project.

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

io.mosip.idrepository

Modular Open Source Identity Platform

An open source platform on which national foundational IDs are built

Versions

Version
1.1.4
1.1.4-rc1
1.1.3
1.1.3-rc1
1.1.2
1.1.2-rc3
1.1.2-rc2