Skip to content

Commit

Permalink
Merge pull request #82 from JanardhanBS-SyncByte/develop
Browse files Browse the repository at this point in the history
[MOSIP-37358] readme
  • Loading branch information
ckm007 authored Nov 19, 2024
2 parents 49c1b92 + 684cd21 commit fcc2604
Showing 1 changed file with 18 additions and 26 deletions.
44 changes: 18 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# Converters

# Overview
This repository contains the source code for the Converters module, which enables the conversion of ISO biometric and document data into standard image formats such as JPEG or PNG. The module exposes API endpoints for configuring and handling conversion operations.

## Databases
Refer to SQL scripts.
This repository contains the source code for the Converters module, which enables the conversion of ISO biometric and document data into standard image formats such as JPEG or PNG. The module exposes API endpoints for configuring and handling conversion operations.

## Build & run (for developers)

The project requires the following:
To build and run the project, ensure you have the following prerequisites installed:

- Java Development Kit (JDK): Version 21.0.5

Java Development Kit (JDK): Version 21.0.5
Maven: Version 3.9.6
- Apache Maven: Version 3.9.6

Follow these below steps to get started:

1. Build and install:
- Navigate to the project directory:
Expand Down Expand Up @@ -43,7 +44,7 @@ Swagger url: [Swagger UI](http://localhost:8098/v1/converter-service/swagger-ui/

4. Use the jar as library:

```maven
```xml
<dependency>
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-bio-converter</artifactId>
Expand All @@ -54,7 +55,13 @@ Swagger url: [Swagger UI](http://localhost:8098/v1/converter-service/swagger-ui/

# Docker Instructions

1. To build a Docker image for a specific service, navigate to the service folder:
Follow these steps to build a Docker image for a specific service:



1. Navigate to the service folder:

Use the cd command to move to the directory containing the desired service's Dockerfile.
```shell
$ cd <service folder>
Expand All @@ -63,16 +70,10 @@ Swagger url: [Swagger UI](http://localhost:8098/v1/converter-service/swagger-ui/
2. Build the Docker image:
```shell
$ docker build -f Dockerfile
$ docker build -t <image-name>:<tag> -f Dockerfile .
```
## Channel:
Default channel is HTTP (POST)

## APIs for configuration and Expectation setting
[Sample expectations](./docs/sampleExpectations.md)

### Update configuration
## APIs testing
**Url**: http://{host}/v1/converter-service/convert
Expand Down Expand Up @@ -112,6 +113,7 @@ Method: POST
## Response:
```json
{
"id": "sample-converter",
Expand Down Expand Up @@ -154,15 +156,5 @@ Method: POST
| MOS-CNV-500 | Technical Error |
## Configuration


## Deploy


## Test

## APIs

## License
This project is licensed under the terms of [Mozilla Public License 2.0](LICENSE).

0 comments on commit fcc2604

Please sign in to comment.