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

Mosip 33327 #1486

Open
wants to merge 79 commits into
base: develop_module_Wise_Test_Rig
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
2782e7f
ES-932
nandhu-kumar Apr 18, 2024
a520135
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar Apr 18, 2024
eb6ac32
Merge pull request #1413 from nandhu-kumar/develop
kamalsinghthoughtworks Apr 18, 2024
5b1e589
MOSIP-31931
Sohandey Apr 19, 2024
1d91d91
Merge pull request #1415 from Sohandey/develop
lsivanand Apr 19, 2024
458f98f
MOSIP-31931
Sohandey Apr 19, 2024
3570ffc
Merge pull request #1416 from Sohandey/develop
kamalsinghthoughtworks Apr 19, 2024
5db7b8f
IDA Fixes
Sohandey Apr 19, 2024
a0467ec
Merge pull request #1417 from Sohandey/develop
lsivanand Apr 19, 2024
b5c79e4
MOSIP-32574
pg-techno123 Apr 22, 2024
7ff333c
Merge pull request #1418 from pg-techno123/develop
kamalsinghthoughtworks Apr 22, 2024
00cc3ec
MOSIP-30855 MOSIP-30854 MOSIP-30852 MOSIP-30851 MOSIP-30553
Sohandey Apr 23, 2024
1f2c895
Merge pull request #1421 from Sohandey/develop
kamalsinghthoughtworks Apr 23, 2024
61c48ce
MOSIP-30855 MOSIP-30854 MOSIP-30852 MOSIP-30851 MOSIP-30553
Sohandey Apr 23, 2024
5f42d98
Merge pull request #1422 from Sohandey/develop
kamalsinghthoughtworks Apr 23, 2024
c0a28ee
MOSIP-30855 MOSIP-30854 MOSIP-30852 MOSIP-30851 MOSIP-30553
Sohandey Apr 23, 2024
10d75d0
Merge pull request #1423 from Sohandey/develop
lsivanand Apr 23, 2024
6a44331
INJIMOB-954
nandhu-kumar Apr 23, 2024
048fcea
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar Apr 23, 2024
547f3d2
Merge pull request #1425 from nandhu-kumar/develop
kamalsinghthoughtworks Apr 23, 2024
4e192da
INJIMOB-615
nandhu-kumar Apr 24, 2024
243589f
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar Apr 24, 2024
e3d47fb
Merge pull request #1426 from nandhu-kumar/develop
kamalsinghthoughtworks Apr 24, 2024
488d761
INJIMOB-615
nandhu-kumar May 2, 2024
e740274
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 2, 2024
4b0dd68
INJIMOB-615
nandhu-kumar May 2, 2024
ba84ac5
Merge pull request #1433 from nandhu-kumar/develop
kamalsinghthoughtworks May 2, 2024
19a9209
INJIMOB-615
nandhu-kumar May 2, 2024
37a952a
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 2, 2024
0707bf9
Merge pull request #1434 from nandhu-kumar/develop
kamalsinghthoughtworks May 2, 2024
0233b70
ES-1130
nandhu-kumar May 3, 2024
e92e1bc
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 3, 2024
65c1bc8
Merge pull request #1435 from nandhu-kumar/develop
kamalsinghthoughtworks May 3, 2024
12228f5
MOSIP-32069
nandhu-kumar May 10, 2024
4f6483e
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 10, 2024
ba6ff5b
Merge pull request #1441 from nandhu-kumar/develop
Raginikrishnamurthy May 10, 2024
0cc3fda
INJIMOB-1345
nandhu-kumar May 13, 2024
fd31892
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 13, 2024
388ea60
Merge pull request #1442 from nandhu-kumar/develop
kamalsinghthoughtworks May 13, 2024
41f3700
MOSIP-33136
nandhu-kumar May 20, 2024
71f8c40
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 20, 2024
6098a19
Merge pull request #1443 from nandhu-kumar/develop
lsivanand May 20, 2024
99ec0df
MOSIP-33136
nandhu-kumar May 21, 2024
c5648df
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 21, 2024
9e24fef
Merge pull request #1446 from nandhu-kumar/develop
kamalsinghthoughtworks May 21, 2024
6eb914a
DSD-5338
nandhu-kumar May 27, 2024
fe5f427
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 27, 2024
b492cad
Merge pull request #1454 from nandhu-kumar/develop
lsivanand May 27, 2024
442356c
auth demo service removal in progress
kamalsinghthoughtworks May 28, 2024
0ba8515
auth demo service removal in progress
kamalsinghthoughtworks May 28, 2024
1483f9e
auth demo service removal in progress
kamalsinghthoughtworks May 28, 2024
a0f5f23
Merge pull request #1455 from kamalsinghthoughtworks/feature-branch
kamalsinghthoughtworks May 28, 2024
24721bf
MOSIP-33302
nandhu-kumar May 28, 2024
a4e7621
Merge remote-tracking branch 'upstream/develop' into develop
nandhu-kumar May 28, 2024
ce00a90
Merge branch 'mosip:MOSIP-33327' into MOSIP-33327
nandhu-kumar May 31, 2024
4c34334
auth demo service removal in progress
kamalsinghthoughtworks May 31, 2024
94cf3af
auth demo service removal in progress
kamalsinghthoughtworks May 31, 2024
2abc1b5
Merge pull request #1463 from kamalsinghthoughtworks/feature-branch
Sohandey May 31, 2024
76addec
Merge remote-tracking branch 'upstream/MOSIP-33327' into MOSIP-33327
nandhu-kumar May 31, 2024
560d56d
MOSIP-31671
nandhu-kumar Jun 5, 2024
be303c4
Merge pull request #1472 from nandhu-kumar/MOSIP-33327
lsivanand Jun 5, 2024
7d66164
MOSIP-31671
nandhu-kumar Jun 5, 2024
5db7c1c
Merge remote-tracking branch 'upstream/MOSIP-33327' into MOSIP-33327
nandhu-kumar Jun 5, 2024
a983d39
Merge pull request #1473 from nandhu-kumar/MOSIP-33327
lsivanand Jun 5, 2024
e14c3f2
MOSIP-33327
nandhu-kumar Jun 7, 2024
0082f40
Merge remote-tracking branch 'upstream/MOSIP-33327' into MOSIP-33327
nandhu-kumar Jun 7, 2024
571c0b9
Merge pull request #1478 from nandhu-kumar/MOSIP-33327
lsivanand Jun 8, 2024
813db2b
MOSIP-33327
nandhu-kumar Jun 11, 2024
d3abd8b
Merge remote-tracking branch 'upstream/MOSIP-33327' into MOSIP-33327
nandhu-kumar Jun 11, 2024
3bfedb4
Merge pull request #1480 from nandhu-kumar/MOSIP-33327
lsivanand Jun 11, 2024
91e517d
MOSIP-33327
nandhu-kumar Jun 12, 2024
9f86bd6
Merge remote-tracking branch 'upstream/MOSIP-33327' into MOSIP-33327
nandhu-kumar Jun 12, 2024
33b62bd
Merge pull request #1482 from nandhu-kumar/MOSIP-33327
lsivanand Jun 12, 2024
303a573
mock mds & component wise run of auth module without auth demo
Sohandey Jun 24, 2024
e0c82d7
Merge pull request #1493 from Sohandey/MOSIP-33327
Sohandey Jun 24, 2024
6805511
Revert "Mosip 33327"
Sohandey Jun 26, 2024
caffc80
Merge pull request #1502 from mosip/revert-1493-MOSIP-33327
Sohandey Jun 26, 2024
68d89e9
MOSIP-33327
nandhu-kumar Jun 27, 2024
56ea5f4
Merge pull request #1506 from nandhu-kumar/MOSIP-33327
Sohandey Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
66 changes: 0 additions & 66 deletions .github/workflows/apitest-push-trigger.yml

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/authdemo-push-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
- '!release-branch'
- master
- 1.*
- develop*
- develop
- MOSIP*
- release*
- camdgc-*
Expand Down Expand Up @@ -86,4 +86,7 @@ jobs:
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}


build-automation-tests:
needs: publish_to_nexus
uses: ./.github/workflows/automationtests-push-trigger.yml
secrets: inherit
147 changes: 147 additions & 0 deletions .github/workflows/automationtests-push-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
name: Automationtests Build

on:
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
workflow_call:
workflow_dispatch:
inputs:
message:
description: 'Message for manually triggering'
required: false
default: 'Triggered for Updates'
type: string
#release:
# types: [published]
#pull_request:
# types: [opened, reopened, synchronize]
#push:
# branches:
# - '!release-branch'
# - master
# - 1.*
# - develop
# - MOSIP*
# - release*

jobs:
build-maven-automationtests:
uses: mosip/kattu/.github/workflows/maven-build.yml@master
with:
SERVICE_LOCATION: ./automationtests
BUILD_ARTIFACT: automationtests
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-automationtests-local:
needs: build-maven-automationtests
runs-on: ubuntu-latest
env:
NAMESPACE: ${{ secrets.dev_namespace_docker_hub }}
SERVICE_NAME: automationtests
SERVICE_LOCATION: automationtests
AUTH_SERVICE_LOCATION: authentication-demo-service
BUILD_ARTIFACT: automationtests-local
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: Setup the settings file for ossrh server
run: echo "<settings> <servers> <server> <id>ossrh</id> <username>${{secrets.ossrh_user}}</username> <password>${{secrets.ossrh_secret}}</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>releases-repo</id> <url>https://oss.sonatype.org/service/local/staging/deploy/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: Build Automationtests with Maven
run: |
cd ${{ env.SERVICE_LOCATION}}
mvn clean package -s $GITHUB_WORKSPACE/settings.xml

- name: Copy configuration files to target directory.
run: |
cp -r ${{ env.SERVICE_LOCATION}}/target/classes/config ${{ env.SERVICE_LOCATION}}/target/config
cp -r ${{ env.SERVICE_LOCATION}}/testNgXmlFiles ${{ env.SERVICE_LOCATION}}/target/testNgXmlFiles
mv ${{ env.SERVICE_LOCATION}}/target/automationtests-*-dependencies.jar ${{ env.SERVICE_LOCATION}}/target/automationtests.jar

- name: Ready the springboot artifacts
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
run: |
## FIND JARS & COPY ONLY EXECUTABLE JARs STORED UNDER TARGET DIRECTORY
cd ${{ env.SERVICE_LOCATION }} && find ./ -path '*/target/*' -exec zip ${{ env.BUILD_ARTIFACT }}.zip {} +

- name: Upload the springboot jars
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.BUILD_ARTIFACT }}
path: ./${{ env.SERVICE_LOCATION }}/${{ env.BUILD_ARTIFACT }}.zip

- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,author,commit,workflow,job # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: failure() # Pick up events even if the job fails or is canceled.

build-dockers:
needs: build-automationtests-local
strategy:
matrix:
include:
- SERVICE_LOCATION: 'automationtests'
SERVICE_NAME: 'automationtests'
BUILD_ARTIFACT: 'automationtests-local'
ONLY_DOCKER: true
fail-fast: false
name: ${{ matrix.SERVICE_NAME }}
uses: mosip/kattu/.github/workflows/docker-build.yml@master
with:
SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }}
SERVICE_NAME: ${{ matrix.SERVICE_NAME }}
BUILD_ARTIFACT: ${{ matrix.BUILD_ARTIFACT }}
ONLY_DOCKER: ${{ matrix.ONLY_DOCKER }}
secrets:
DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }}
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

publish_to_nexus:
if: "${{ !contains(github.ref, 'master') && github.event_name != 'pull_request' && github.event_name != 'release' && github.event_name != 'prerelease' && github.event_name != 'publish' }}"
needs: build-maven-automationtests
uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master
with:
SERVICE_LOCATION: ./automationtests
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}


sonar_analysis:
needs: build-maven-automationtests
if: "${{ github.event_name != 'pull_request' }}"
uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master
with:
SERVICE_LOCATION: ./automationtests
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ORG_KEY: ${{ secrets.ORG_KEY }}
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
17 changes: 0 additions & 17 deletions apitest-commons/Biometric Devices/Face/DeviceDiscovery.json

This file was deleted.

18 changes: 0 additions & 18 deletions apitest-commons/Biometric Devices/Face/DeviceInfo.json

This file was deleted.

10 changes: 0 additions & 10 deletions apitest-commons/Biometric Devices/Face/DigitalId.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

18 changes: 0 additions & 18 deletions apitest-commons/Biometric Devices/Finger/Single/DeviceInfo.json

This file was deleted.

10 changes: 0 additions & 10 deletions apitest-commons/Biometric Devices/Finger/Single/DigitalId.json

This file was deleted.

Binary file not shown.
Binary file not shown.
17 changes: 0 additions & 17 deletions apitest-commons/Biometric Devices/Finger/Slap/DeviceDiscovery.json

This file was deleted.

18 changes: 0 additions & 18 deletions apitest-commons/Biometric Devices/Finger/Slap/DeviceInfo.json

This file was deleted.

10 changes: 0 additions & 10 deletions apitest-commons/Biometric Devices/Finger/Slap/DigitalId.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading