Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.1.5.5 rc3 test #678

Open
wants to merge 140 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
6dbd20b
MOSIP-12810: Forgot Username defect fix
Mar 30, 2021
9030804
Merge pull request #4 from HimajaDhanyamraju2/1.1.5_defectfixes
ase-101 Mar 30, 2021
7d3032f
MOSIP-12861 : Fixed environment variable host name issue
Mar 31, 2021
c07388c
Merge pull request #8 from yaswanths2/MOSIP-12861
ase-101 Mar 31, 2021
49dbf75
MOSIP-12813 : Fixed Doc-Ref-Number and also fixed image not showing
Mar 31, 2021
6a48b28
Missed commit
Mar 31, 2021
a25ba46
MOSIP-12813 : Checked for exception if doc-ref-number key not found
Mar 31, 2021
2d1c644
Merge pull request #9 from yaswanths2/MOSIP-12813
ase-101 Mar 31, 2021
e56f99d
Updated to use custom openjdk as base image
Mar 31, 2021
b3eff5a
MOSIP-12893: Modified error message
Apr 1, 2021
979c6f6
MOSIP-12790: Modified error label for DOB
Apr 1, 2021
2d80f77
Merge pull request #15 from HimajaDhanyamraju2/1.1.5_defectfixes
ase-101 Apr 1, 2021
7cd8e1f
Merge pull request #13 from ase-101/1.1.5
ase-101 Apr 1, 2021
ec1210c
Commit Registration-test
Apr 1, 2021
8e7d906
MOSIP-12896
Apr 1, 2021
86c20a0
MOSIP-12896
Apr 1, 2021
f1a5e8d
Merge pull request #18 from ase-101/1.1.5
ase-101 Apr 1, 2021
6094556
MOSIP-12936
Apr 1, 2021
8aaaf12
Fixed MOSIP-12933
Apr 1, 2021
7969051
Merge pull request #19 from ase-101/1.1.5
ase-101 Apr 1, 2021
93a40f9
New Registration with Reports
Apr 2, 2021
053e619
Added Spaces.
Apr 2, 2021
8974471
Merge pull request #16 from neeharikatech/1.1.5Neeha
ase-101 Apr 3, 2021
f394c5a
updated for rc1 release
ckm007 Apr 12, 2021
7bb9f13
Merge pull request #26 from ckm007/1.1.5
ckm007 Apr 12, 2021
565f14d
Commit Test Utility
Apr 14, 2021
ca37d5e
Merge pull request #27 from neeharikatech/1.1.5TestUtil
ckm007 Apr 14, 2021
8edb9e2
added publish jars section to push trigger
ckm007 Apr 14, 2021
c165b21
Merge pull request #29 from ckm007/1.1.5
ckm007 Apr 14, 2021
28359d9
updated registration-test pom
ckm007 Apr 14, 2021
9e8cfa9
Merge pull request #30 from ckm007/1.1.5
ckm007 Apr 14, 2021
3dd9715
updated for rc2 release
ckm007 Apr 14, 2021
7d81cc3
Merge pull request #31 from ckm007/1.1.5
ckm007 Apr 14, 2021
6aafb18
updating for rc2 release
ckm007 Apr 16, 2021
4793227
Merge pull request #33 from ckm007/1.1.5
ckm007 Apr 16, 2021
69b00dc
Fixed 1.1.4-1.1.5 s/w upgrade issue
Apr 21, 2021
ea21c24
Merge pull request #36 from yaswanths2/1.1.5-fork
ase-101 Apr 21, 2021
3c50336
Adding Registration Test in configure.sh
Apr 22, 2021
99311a0
Merge pull request #37 from neeharikatech/1.1.5Conf
ase-101 Apr 22, 2021
aa6d6c1
Fixed reigstration-test scripts
Apr 23, 2021
359186a
Fix: failed to created db/reg
Apr 23, 2021
7957789
Fixed MOSIP-13466 MOSIP-13465
Apr 23, 2021
f88e64e
Fixed MOSIP-13468
Apr 23, 2021
efab1c4
Merge pull request #39 from ase-101/1.1.5
ase-101 Apr 23, 2021
bddcf9f
Added gpg plugin
ase-101 Apr 23, 2021
2d32e5b
Removed duplicate insert
Apr 23, 2021
4f30e67
Fixed MOSIP-12394 duplicate entries in local keystore
Apr 23, 2021
8ba4ce7
Merge pull request #40 from ase-101/1.1.5
ase-101 Apr 23, 2021
40011d0
upgrade fix
Apr 23, 2021
055b108
Merge pull request #41 from ase-101/1.1.5
ase-101 Apr 23, 2021
afbfcd9
Fixes MOSIP-13227
Apr 24, 2021
de16ce2
Merge pull request #44 from ase-101/1.1.5
ase-101 Apr 24, 2021
8a7e6ef
updated the pom's for regstration client module
ckm007 Apr 25, 2021
d7f9b57
updated pom changes for 1.1.5 release
ckm007 Apr 25, 2021
3fa5d7b
Merge pull request #45 from ckm007/1.1.5
ckm007 Apr 25, 2021
6871889
updated the push trigger for release 1.1.5
ckm007 Apr 25, 2021
bb2a777
Merge pull request #47 from ckm007/1.1.5
ckm007 Apr 25, 2021
bb624af
Resolved conflicts
Mar 23, 2021
b7f913c
Fixed exception while packet creation
Apr 28, 2021
99a2d9e
Merge pull request #55 from HimajaDhanyamraju2/1.1.5.1_fork
ase-101 Apr 28, 2021
8654e61
Added props
Apr 28, 2021
df18fdc
Merge pull request #57 from HimajaDhanyamraju2/1.1.5.1_fork
ase-101 Apr 28, 2021
627340f
MOR-56 fix
Apr 28, 2021
aeb7c83
policy key check added before registration
Apr 28, 2021
1db3d2b
fixes MOSIP-12485
Apr 29, 2021
e432e58
Fixes MOSIP-11842
Apr 29, 2021
6185503
Removed flag to enable / disable MDM trust validation
Apr 29, 2021
7439781
Updated pom version to 1.1.5.1-SNAPSHOT
Apr 29, 2021
1e1cfee
Merge pull request #58 from ase-101/1.1.5.1
gsasikumar Apr 29, 2021
d0f6a12
Updating POM and cleared not required package..
Apr 29, 2021
8d7edf6
Config change
Apr 29, 2021
3aafd59
Json update email id
May 2, 2021
863de00
Adding Parent details in child scenario.
May 2, 2021
19f7a78
adding else..
May 2, 2021
05d4bd7
Json arabic and test email
May 3, 2021
98ddcc3
Merge pull request #61 from neeharikatech/1.1.5.1
ase-101 May 3, 2021
6f8f2fb
updated for 1.1.5.1 release
ckm007 May 5, 2021
9a6556f
add lib in utility
neeharikatech May 10, 2021
534d333
Merge pull request #67 from neeharikatech/1.1.5.2
ase-101 May 10, 2021
b24bd11
Updated pom version 1.1.5.2
May 14, 2021
4b63849
Remove registration_transaction references references
May 16, 2021
3fb4014
Fixed Mor-83
May 16, 2021
5291756
removed unused code
May 16, 2021
49b5fbc
Merge pull request #73 from ase-101/1.1.5.2
ase-101 May 16, 2021
0b87867
cert upload failure check added
ase-101 May 17, 2021
7f3e1f0
Fixed MOSIP-14333
May 25, 2021
8893aca
Fix to MOSIP-14334
May 25, 2021
bac7129
Merge pull request #78 from ase-101/1.1.5.2_local
ase-101 May 25, 2021
898281c
updated for release
ckm007 May 25, 2021
ea9ef4f
updated for release
ckm007 May 25, 2021
b2d61f1
Updated version from 1.1.5.2 to 1.1.5.3-SNAPSHOT
Jun 8, 2021
dd24bad
Fixed to consider DPI and scanMode from config
Jun 8, 2021
3501c80
Merge pull request #98 from ase-101/1.1.5.3
ase-101 Jun 8, 2021
c82b572
MOSIP-14776
Jun 11, 2021
196adc0
Merge pull request #105 from ase-101/1.1.5.3
gsasikumar Jun 11, 2021
3d77e71
MOSIP-14913
Jun 11, 2021
e1e154d
Merge pull request #106 from ase-101/1.1.5.3
ase-101 Jun 11, 2021
d907343
Doc preview image size fix
Jun 14, 2021
ff0bc65
FIxed NPE
Jun 14, 2021
73926c6
Merge pull request #109 from ase-101/1.1.5.3
ase-101 Jun 15, 2021
ffc06d4
Biometric page fixes
Jun 18, 2021
7f74e96
Biometric page fixes
Jun 18, 2021
f2bd218
Merge pull request #122 from ase-101/1.1.5.3
ase-101 Jun 18, 2021
6618d08
MOSIP-15083 fixes
Jun 21, 2021
509d151
MOSIP-15083 fixes
Jun 21, 2021
7db53b6
MOSIP-15083 fixes
Jun 21, 2021
e83a430
Merge pull request #123 from ase-101/1.1.5.3
ase-101 Jun 21, 2021
f22561e
MOSIP-15083 fixes
Jun 22, 2021
27ca50d
Merge pull request #126 from ase-101/1.1.5.3
ase-101 Jun 22, 2021
47cf99c
Temporary change
ase-101 Jun 23, 2021
1b72336
Reverted temporary change
ase-101 Jun 23, 2021
3f3a9a8
MOSIP-15083 fixes
Jun 22, 2021
48c22b1
Pagination issue fix
Jun 28, 2021
5f5c439
Fixed PDF page image position
Jun 28, 2021
7cf048f
Merge pull request #131 from ase-101/1.1.5.3
gsasikumar Jun 28, 2021
4ebaba3
MOSIP-15083
Jun 29, 2021
cfa380f
Merge pull request #133 from ase-101/1.1.5.3
ase-101 Jun 29, 2021
d82bf6e
MOSIP-15083
Jun 29, 2021
d3426cb
Merge pull request #134 from ase-101/1.1.5.3
gsasikumar Jun 29, 2021
e656a3f
updated for 1.1.5.2 release
ckm007 Jun 30, 2021
4e8d271
updated for registration-client release
ckm007 Jul 1, 2021
e074075
updated for registration-client release
ckm007 Jul 1, 2021
0a86700
Update pom.xml
ckm007 Jul 2, 2021
642ab78
MOSIP-15871, MOSIP-15873
Jul 28, 2021
388bd26
Merge pull request #170 from HimajaDhanyamraju2/1.1.5.5_fork
gsasikumar Jul 30, 2021
161e430
updated the version
Aug 5, 2021
04088c2
Merge pull request #181 from ase-101/1.1.5.5
ase-101 Aug 5, 2021
2ae315b
MOSIP-15909, MOSIP-15910
Aug 9, 2021
e4b7e85
MOSIP-16356
Aug 9, 2021
8b5fefd
Merge pull request #183 from HimajaDhanyamraju2/1.1.5.5_fork
ase-101 Aug 10, 2021
4af43f9
Removed morena_license.jar
ase-101 Aug 20, 2021
958a853
added latest morena_license.jar
ase-101 Aug 20, 2021
816e2da
Rremoved
ase-101 Aug 20, 2021
18aa53f
Added license jar
Aug 20, 2021
2c48c20
Merge pull request #200 from ase-101/1.1.5.5
ase-101 Aug 20, 2021
c9a83c1
support for multiple user login, template and dynamic_field datatype …
Sep 5, 2021
879bacc
Merge pull request #208 from ase-101/1.1.5.5
gsasikumar Sep 6, 2021
a91a9f7
Update initial.sql
ase-101 Sep 7, 2021
df990e7
added log
ganeshtaru Dec 1, 2024
fd90923
updated mosip.min.mem and mosip.max.mem memory
ganeshtaru Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/push_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,18 @@ jobs:
echo VERSION=$VERSION
docker tag $SERVICE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION

- name: Publish the maven package
run: |
cd registration
mvn deploy -DskipTests -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GPG_TTY: $(tty)
- name: Analyze with SonarCloud
run: |
cd registration
mvn clean -B verify sonar:sonar -Dsonar.projectKey=${{ secrets.PROJECT_KEY }} -Dsonar.organization=${{ secrets.ORG_KEY }} -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
89 changes: 89 additions & 0 deletions .github/workflows/regclient-manual_push_trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Manual push trigger

on: workflow_dispatch

jobs:

build_client:
runs-on: ubuntu-latest
env:
NAMESPACE: ${{ secrets. dev_namespace_docker_hub }}
SERVICE_NAME: registration-client
SERVICE_LOCATION: registration

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
ref: ${{ github.ref }}
java-version: 11
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"

- name: Setup branch and env
run: |
# Strip git ref prefix from version
echo "BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's,.*/\(.*\),\1,')" >> $GITHUB_ENV
echo "GPG_TTY=$(tty)" >> $GITHUB_ENV

- name: Setup branch and GPG public key
run: |
# Strip git ref prefix from version
echo ${{ env.BRANCH_NAME }}
echo ${{ env.GPG_TTY }}
sudo apt-get --yes install gnupg2
# gpg2 --import ./.github/keys/mosipgpgkey_pub.gpg
# gpg2 --quiet --batch --passphrase=${{secrets.gpg_secret}} --allow-secret-key-import --import ./.github/keys/mosipgpgkey_sec.gpg

# - uses: actions/cache@v1
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-${{ env.BRANCH_NAME }}

- name: Setup the settings file for ossrh server
run: echo "<settings> <servers> <server> <id>ossrh</id> <username>${{secrets.RELEASE_USER}}</username> <password>${{secrets.RELEASE_TOKEN}}</password> </server> </servers> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>gpg2</gpg.executable> <gpg.passphrase>${{secrets.gpg_secret}}</gpg.passphrase> </properties> </profile> <profile> <id>allow-snapshots</id> <activation><activeByDefault>true</activeByDefault></activation> <repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>central</id> <url>https://repo1.maven.org/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>false</enabled></snapshots> </repository> </repositories> </profile> <profile> <id>sonar</id> <properties> <sonar.sources>.</sonar.sources> <sonar.host.url>https://sonarcloud.io</sonar.host.url> </properties> <activation> <activeByDefault>false</activeByDefault> </activation> </profile> </profiles> </settings>" > $GITHUB_WORKSPACE/settings.xml

- name: Install xmllint
run: |
sudo apt-get update
sudo apt-get install libxml2-utils

- name: Build with Maven
run: |
cd registration
mvn -B package --file pom.xml -s $GITHUB_WORKSPACE/settings.xml -DskipTests -Dgpg.skip=true

- name: Get version info from pom
id: getPomVersion
uses: mavrosxristoforos/[email protected]
with:
xml-file: ./${{ env.SERVICE_LOCATION }}/pom.xml
xpath: /*[local-name()="project"]/*[local-name()="version"]

- name: Build image
run: |
cd "./${{env.SERVICE_LOCATION}}"
docker build . --file Dockerfile --tag ${{ env.SERVICE_NAME }}

- name: Log into registry
run: echo "${{ secrets.release_docker_hub }}" | docker login -u ${{ secrets.actor_docker_hub }} --password-stdin

- name: Push image
run: |
IMAGE_ID=$NAMESPACE/$SERVICE_NAME

# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
echo "push version ${{steps.getPomVersion.outputs.info}}"
VERSION=$BRANCH_NAME
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker tag $SERVICE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
162 changes: 0 additions & 162 deletions pom.xml

This file was deleted.

1 change: 0 additions & 1 deletion registration/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ bin/
tmp/
*.tmp
*.html
*.json
*.bak
*.swp
*~.nib
Expand Down
14 changes: 6 additions & 8 deletions registration/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11
FROM mosipdev/javafx-reg-client-openjdk:latest

RUN apt-get update

Expand All @@ -14,10 +14,6 @@ ARG client_upgrade_server

ARG cert_server_URL

ARG tpm_enabled

ARG db_bootpwd

ENV client_version_env=${client_version}

ENV crypto_key_env=${crypto_key}
Expand All @@ -30,16 +26,18 @@ ENV client_repo_env=${client_repo_url}

ENV client_certificate_env=${client_certificate}

ENV tpm_enabled_env=${tpm_enabled}

ENV db_bootpwd_env=${db_bootpwd}
ENV artifactory_url_env=${artifactory_url}

ADD registration-client/target /registration-client/target

ADD registration-libs/target /registration-libs/target

ADD registration-libs/src/main/resources registration-libs/resources

ADD registration-test/target /registration-test/target

ADD /registration-test/src/main/resources /registration-test/resources

ADD configure.sh configure.sh

RUN chmod a+x configure.sh \
Expand Down
27 changes: 16 additions & 11 deletions registration/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@ echo "Started with args"

client_version_env="$client_version_env" #We should pick this from the jar not as an argument.
crypto_key_env="$crypto_key_env" #key to encrypt the jar files
client_tpm_enabled="$tpm_enabled_env" #Not used as of now
client_certificate="$client_certificate_env" # Not used as of now
client_upgrade_server="$client_upgrade_server_env" #docker hosted url
reg_client_sdk_url="$reg_client_sdk_url_env"
artifactory_url="$artifactory_url_env"

echo "initalized variables"

#download the certificate at runtime from the certificate store
#wget -O mosip_cer.cer "${client_certificate_url}"

mkdir -p /registration-libs/target/props

echo "mosip.reg.app.key=${crypto_key_env}" > /registration-libs/target/props/mosip-application.properties
Expand All @@ -26,7 +23,7 @@ echo "mosip.reg.rollback.path=../BackUp" >> /registration-libs/target/props/mosi
echo "mosip.reg.cerpath=/cer/mosip_cer.cer" >> /registration-libs/target/props/mosip-application.properties
echo "mosip.reg.dbpath=db/reg" >> /registration-libs/target/props/mosip-application.properties
echo "mosip.reg.xml.file.url=${client_upgrade_server}/registration-client/maven-metadata.xml" >> /registration-libs/target/props/mosip-application.properties
echo "mosip.reg.client.tpm.availability=${client_tpm_enabled}" >> /registration-libs/target/props/mosip-application.properties
echo "mosip.reg.client.tpm.availability=Y" >> /registration-libs/target/props/mosip-application.properties
echo "mosip.client.upgrade.server.url=${client_upgrade_server}" >> /registration-libs/target/props/mosip-application.properties

echo "created mosip-application.properties"
Expand All @@ -45,14 +42,9 @@ then
cp /sdkDependency/*.jar /sdkjars/
else
echo "Downloading MOCK SDK..."
wget https://repo1.maven.org/maven2/io/mosip/mock/sdk/mock-sdk/0.9/mock-sdk-0.9.jar -P /sdkjars/
wget "${artifactory_url}/artifactory/libs-release-local/mock-sdk/1.1.5/mock-sdk.jar" -O /sdkjars/mock-sdk.jar
fi

## download Open JRE 11 + FX
#wget https://cdn.azul.com/zulu/bin/zulu11.41.23-ca-fx-jre11.0.8-win_x64.zip -O zulu11.41.23-ca-fx-jre11.0.8-win_x64.zip

cp /registration-libs/resources/zulu11.41.23-ca-fx-jre11.0.8-win_x64.zip /

#unzip Jre to be bundled
/usr/bin/unzip /zulu11.41.23-ca-fx-jre11.0.8-win_x64.zip
mkdir -p /registration-libs/resources/jre
Expand All @@ -78,16 +70,29 @@ ls -ltr lib | grep bc
/usr/bin/zip -r reg-client.zip lib
#/usr/bin/zip reg-client.zip MANIFEST.MF

#Creating Regclient testing framework
mkdir -p /registration-test-utility
mkdir -p /registration-test-utility/lib
cp /registration-test/target/registration-test-*-dependencies.jar /registration-test-utility/registration-test.jar
cp /registration-test/resources/* /registration-test-utility/
cp -r /registration-libs/resources/jre /registration-test-utility/
cp -r /registration-client/target/lib/morena* /registration-test-utility/lib
cp -r /sdkjars/*.jar /registration-test-utility/lib
cp /registration-client/target/MANIFEST.MF /registration-test-utility/
/usr/bin/zip -r /registration-test-utility.zip /registration-test-utility

echo "setting up nginx static content"

mkdir -p /var/www/html/registration-client
mkdir -p /var/www/html/registration-client/${client_version_env}
mkdir -p /var/www/html/registration-client/${client_version_env}/lib
mkdir -p /var/www/html/registration-test/${client_version_env}

cp /registration-client/target/lib/* /var/www/html/registration-client/${client_version_env}/lib
cp /registration-client/target/MANIFEST.MF /var/www/html/registration-client/${client_version_env}/
cp /build_files/maven-metadata.xml /var/www/html/registration-client/
cp reg-client.zip /var/www/html/registration-client/${client_version_env}/
cp /registration-test-utility.zip /var/www/html/registration-test/${client_version_env}/

echo "setting up nginx static content - completed"

Expand Down
Loading