Skip to content

Commit

Permalink
Merge pull request #14 from LoganathanSekar7627/MOSIP-29982-move-comm…
Browse files Browse the repository at this point in the history
…ons-release-1.2.0.1-changes-to-otpmanager-repo

[MOSIP-29982] move commons release 1.2.0.1 changes to otpmanager repo
  • Loading branch information
ckm007 authored Jan 29, 2024
2 parents b474fd6 + f2022f4 commit 4911efe
Show file tree
Hide file tree
Showing 58 changed files with 105 additions and 1,933 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
release:
types: [published]
pull_request:
types: [opened]
types: [opened, reopened, synchronize]
workflow_dispatch:
inputs:
message:
Expand All @@ -22,11 +22,11 @@ on:
- MOSIP*

jobs:
build-otpmanager:
build-maven-otp-manager:
uses: mosip/kattu/.github/workflows/maven-build.yml@master
with:
SERVICE_LOCATION: ./
BUILD_ARTIFACT: commons
SERVICE_LOCATION: ./kernel
BUILD_ARTIFACT: otp-manager
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
Expand All @@ -36,10 +36,10 @@ jobs:

publish_to_nexus:
if: "${{ !contains(github.ref, 'master') && github.event_name != 'pull_request' }}"
needs: build-otpmanager
needs: build-maven-otp-manager
uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master
with:
SERVICE_LOCATION: ./
SERVICE_LOCATION: ./kernel
secrets:
OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
OSSRH_USER: ${{ secrets.OSSRH_USER }}
Expand All @@ -48,29 +48,14 @@ jobs:
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

sonar_analysis:
needs: build-otpmanager
if: "${{ github.event_name != 'pull_request' }}"
uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master
with:
SERVICE_LOCATION: ./
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 }}

build-dockers:
needs: build-otpmanager
needs: build-maven-otp-manager
strategy:
matrix:
include:
- SERVICE_LOCATION: 'kernel/kernel-otpmanager-service'
SERVICE_NAME: 'kernel-otpmanager-service'
BUILD_ARTIFACT: 'commons'
BUILD_ARTIFACT: 'otp-manager'
fail-fast: false
uses: mosip/kattu/.github/workflows/docker-build.yml@master
name: ${{ matrix.SERVICE_NAME }}
Expand All @@ -83,3 +68,18 @@ jobs:
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

sonar_analysis:
needs: build-maven-otp-manager
if: "${{ github.event_name != 'pull_request' }}"
uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master
with:
SERVICE_LOCATION: ./kernel
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 }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Commons

## Overview
As the name suggests, Commons refers to all the common services (also called "kernel") that are used by other modules of MOSIP. The Kernel services are listed below:
As the name suggests, Commons refers to all the common services (also called "kernel") that are used by other modules of MOSIP.

## Databases
Refer to [SQL scripts](db_scripts).
Expand Down
16 changes: 0 additions & 16 deletions db_scripts/mosip_authdevice/db.sql

This file was deleted.

12 changes: 0 additions & 12 deletions db_scripts/mosip_authdevice/ddl.sql

This file was deleted.

56 changes: 0 additions & 56 deletions db_scripts/mosip_authdevice/ddl/authdevice-device_detail.sql

This file was deleted.

45 changes: 0 additions & 45 deletions db_scripts/mosip_authdevice/ddl/authdevice-fk.sql

This file was deleted.

This file was deleted.

50 changes: 0 additions & 50 deletions db_scripts/mosip_authdevice/ddl/authdevice-ftp_chip_detail.sql

This file was deleted.

43 changes: 0 additions & 43 deletions db_scripts/mosip_authdevice/ddl/authdevice-reg_device_sub_type.sql

This file was deleted.

Loading

0 comments on commit 4911efe

Please sign in to comment.