Skip to content

Commit

Permalink
[MOSIP-37358]Update readme
Browse files Browse the repository at this point in the history
Signed-off-by: JanardhanBS-SyncByte <[email protected]>
  • Loading branch information
JanardhanBS-SyncByte committed Nov 25, 2024
1 parent ffcffea commit 9f00fcf
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clear-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
uses: mosip/kattu/.github/workflows/clear-artifacts.yml@master
secrets:
ACCESS_TOKEN: ${{ secrets.access_token }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
2 changes: 1 addition & 1 deletion .github/workflows/release-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
BASE: ${{ inputs.BASE }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
ACTION_PAT: ${{ secrets.ACTION_PAT }}
ACTION_PAT: ${{ secrets.ACTION_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
PRE_RELEASE: ${{ inputs.PRE_RELEASE }}
DRAFT: ${{ inputs.DRAFT }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
4 changes: 2 additions & 2 deletions deploy/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then
fi

NS=converters
CHART_VERSION=0.0.1-develop
CHART_VERSION=1.3.0-beta.1-develop

echo Create $NS namespace
kubectl create ns $NS
Expand Down Expand Up @@ -36,4 +36,4 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
set -o errtrace # trace ERR through 'time command' and other functions
set -o pipefail # trace ERR through pipes
installing_converters # calling function
installing_converters # calling function
2 changes: 1 addition & 1 deletion helm/converters/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: converters
description: A Helm chart for MOSIP converters module
type: application
version: 0.0.1-develop
version: 1.3.0-beta.1-develop
appVersion: ""
dependencies:
- name: common
Expand Down
2 changes: 1 addition & 1 deletion helm/converters/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ service:
image:
registry: docker.io
repository: mosipqa/kernel-bio-converter
tag: develop
tag: release-1.3.x
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down
13 changes: 0 additions & 13 deletions kernel-bio-converter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM mosipid/openjdk-21-jre:21.0.4

# label to be assigned along with Docker build [Mandatory]
ARG SOURCE
ARG COMMIT_HASH
Expand Down Expand Up @@ -57,28 +56,18 @@ ARG container_user_gid=1001

# set working directory for the user
WORKDIR /home/${container_user}

ENV work_dir=/home/${container_user}

ARG loader_path=${work_dir}/additional_jars/

ENV loader_path_env=${loader_path}

ARG logging_level_root=INFO

ENV logging_level_root_env=${logging_level_root}

# set working directory for the user
WORKDIR /home/${container_user}

ENV work_dir=/home/${container_user}

ARG loader_path=${work_dir}/additional_jars/

ENV loader_path_env=${loader_path}

ARG logging_level_root=INFO

ENV logging_level_root_env=${logging_level_root}

# install packages and create user
Expand All @@ -87,9 +76,7 @@ RUN apt-get update && \
groupadd -g ${container_user_gid} ${container_user_group} && \
useradd -u ${container_user_uid} -g ${container_user_group} -s /bin/bash -m ${container_user} && \
mkdir -p /home/${container_user} ${loader_path}

ENV loader_path_env=${loader_path}

COPY ./target/kernel-bio-converter-*.jar kernel-bio-converter.jar

# change permissions of file inside working dir
Expand Down
2 changes: 1 addition & 1 deletion kernel-bio-converter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,4 +434,4 @@
</build>
</profile>
</profiles>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ public ResponseWrapper<Map<String, String>> convert(

return responseDto;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.mockStatic;
import static org.mockito.Mockito.when;

import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;

import javax.imageio.ImageIO;

import org.apache.commons.io.IOUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit 9f00fcf

Please sign in to comment.