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

Bump jackson-databind from 2.12.0 to 2.12.7.1 in /kernel/kernel-core #1405

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/push_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:

- name: Publish the maven package
run: |
mvn -B deploy -DaltDeploymentRepository=ossrh::default::${{ secrets.OSSRH_SNAPSHOT_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
mvn -B deploy -DaltDeploymentRepository=ossrh::default::${{ secrets.RELEASE_URL }} -s $GITHUB_WORKSPACE/settings.xml -f pom.xml
env:
GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}}
GPG_TTY: $(tty)
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/release_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,19 @@ jobs:

# - name: removing --Dgpg.skip
# run: find . -type f -name "*push_trigger.yml" -print0 | xargs -0 sed -i "s/"-Dgpg.skip"//g"


- name: update Branch name in badges
run: |
sed -i 's/branch=.*)]/branch=${{ env.BRANCH_NAME }}\)]/g' README.md
sed -i 's/branch=.*\&/branch=${{ env.BRANCH_NAME }}\&/g' README.md

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Updated Pom versions for release changes
commit-message: Release Bot Pre-release changes
title: Release changes
body: Automated PR for ${{ github.event.inputs.releaseTags }} release.
branch: release-branch
delete-branch: true
base: ${{ github.event.inputs.base }}
token: ${{ secrets.ACTION_PAT }}
43 changes: 43 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Tagging of repos

env:
tag: v1.2.3

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to be published'
required: true
default: 'v1.2.3'
type: string
body:
description: 'Release body message'
required: true
default: 'Changes in this Release'
type: string
pre-release:
description: 'Pre-release? True/False'
required: true
default: False
type: string

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.event.inputs.tag }}
release_name: ${{ github.event.inputs.tag }}
body: |
${{ github.event.inputs.body }}
draft: false
prerelease: ${{fromJSON(github.event.inputs.pre-release)}}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Maven Package upon a push](https://github.com/mosip/commons/actions/workflows/push_trigger.yml/badge.svg?branch=release-1.2.0)](https://github.com/mosip/commons/actions/workflows/push_trigger.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=mosip_commons&metric=alert_status)](https://sonarcloud.io/dashboard?branch=release-1.2.0&id=mosip_commons)
[![Maven Package upon a push](https://github.com/mosip/commons/actions/workflows/push_trigger.yml/badge.svg?branch=release-1.2.0.1)](https://github.com/mosip/commons/actions/workflows/push_trigger.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=mosip_commons&metric=alert_status)](https://sonarcloud.io/dashboard?branch=release-1.2.0.1&id=mosip_commons)


# Commons
Expand Down
92 changes: 0 additions & 92 deletions db_release_scripts/mosip_iam/iam_release_db_deploy.sh

This file was deleted.

12 changes: 0 additions & 12 deletions db_release_scripts/mosip_iam/iam_release_deploy.properties

This file was deleted.

92 changes: 0 additions & 92 deletions db_release_scripts/mosip_iam/iam_revoke_db_deploy.sh

This file was deleted.

18 changes: 0 additions & 18 deletions db_release_scripts/mosip_iam/sql/1.1.5_iam-scripts_release.sql

This file was deleted.

13 changes: 0 additions & 13 deletions db_release_scripts/mosip_iam/sql/1.1.5_iam-scripts_revoke.sql

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions kernel/kernel-applicanttype-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-applicanttype-api</artifactId>
<description>Mosip Applicant type API</description>
<version>1.2.0.1-SNAPSHOT</version>
<version>1.2.0.1-B1</version>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
Expand All @@ -17,7 +17,7 @@
<dependency>
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-core</artifactId>
<version>1.2.0.1-SNAPSHOT</version>
<version>1.2.0.1-B1</version>
</dependency>
<dependency>
<groupId>org.mvel</groupId>
Expand Down
4 changes: 2 additions & 2 deletions kernel/kernel-authcodeflowproxy-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-authcodeflowproxy-api</artifactId>
<version>1.2.0.1-SNAPSHOT</version>
<version>1.2.0.1-B1</version>
<packaging>jar</packaging>
<name>kernel-authcodeflowproxy-api</name>
<description>Mosip commons project </description>
Expand Down Expand Up @@ -220,7 +220,7 @@
<aspectjweaver.version>1.8.12</aspectjweaver.version>
<micrometer.core.version>1.4.2</micrometer.core.version>
<micrometer.registry.prometheus.version>1.4.2</micrometer.registry.prometheus.version>
<kernel.core.version>1.2.0.1-SNAPSHOT</kernel.core.version>
<kernel.core.version>1.2.0.1-B1</kernel.core.version>
<jacoco.maven.plugin.version>0.8.5</jacoco.maven.plugin.version>
</properties>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public enum Errors {
EXCEPTION("KER-ACP-500", "Exception occured "),
ALLOWED_URL_EXCEPTION("KER-ACP-009", "url not found in allowed url's"),
STATE_NULL_EXCEPTION("KER-ACP-010", "state is null or empty"),
STATE_NOT_UUID_EXCEPTION("KER-ACP-011", "state is not uuid");
STATE_NOT_UUID_EXCEPTION("KER-ACP-011", "state is not uuid"),
UNSUPPORTED_ENCODING_EXCEPTION("KER-ACP-012", "unsupported encoding exception :");

/**
* The error code
Expand Down
Loading