-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #812 from wultra/develop
Merge develop to master
- Loading branch information
Showing
89 changed files
with
1,429 additions
and
694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Run Coverity scan and upload results | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 10 1 * *' # monthly | ||
|
||
|
||
jobs: | ||
coverity-scan: | ||
uses: wultra/wultra-infrastructure/.github/workflows/coverity-scan.yml@develop | ||
secrets: inherit | ||
with: | ||
project-name: ${{ github.event.repository.name }} | ||
version: ${{ github.sha }} | ||
description: ${{ github.ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Deploy with Maven | ||
|
||
on: | ||
workflow_dispatch: | ||
branches: | ||
- 'develop' | ||
- 'master' | ||
- 'releases/*' | ||
- 'test/ci' | ||
inputs: | ||
release_type: | ||
type: choice | ||
description: | ||
default: snapshot | ||
options: | ||
- snapshot | ||
- release | ||
environment: | ||
type: environment | ||
default: internal-publish | ||
description: internal or external repository | ||
push: | ||
branches: | ||
- 'develop' | ||
- 'test/ci' | ||
|
||
jobs: | ||
maven-deploy-jfrog: | ||
if: ${{ github.event_name == 'push' }} | ||
name: Deploy to jfrog | ||
uses: wultra/wultra-infrastructure/.github/workflows/maven-deploy.yml@develop | ||
with: | ||
environment: internal-publish | ||
release_type: snapshot | ||
secrets: | ||
username: ${{ secrets.MAVEN_CENTRAL_USERNAME }} | ||
password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} | ||
|
||
maven-deploy-manual: | ||
if: ${{ github.event_name == 'workflow_dispatch' }} | ||
name: Deploy by parameter | ||
uses: wultra/wultra-infrastructure/.github/workflows/maven-deploy.yml@develop | ||
with: | ||
environment: ${{ inputs.environment }} | ||
release_type: ${{ inputs.release_type }} | ||
secrets: | ||
username: ${{ secrets.MAVEN_CENTRAL_USERNAME }} | ||
password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} | ||
gpg_passphrase: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} | ||
gpg_key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Test with Maven | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'master' | ||
- 'releases/**' | ||
pull_request: | ||
branches: | ||
- 'develop' | ||
- 'master' | ||
- 'releases/**' | ||
|
||
jobs: | ||
maven-tests: | ||
uses: wultra/wultra-infrastructure/.github/workflows/maven-test.yml@develop | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Run OWASP Dependency Check | ||
on: | ||
workflow_dispatch: | ||
|
||
push: | ||
branches: | ||
- 'develop' | ||
|
||
jobs: | ||
owasp-check: | ||
uses: wultra/wultra-infrastructure/.github/workflows/owasp-dependency-check.yml@develop | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Migration from 1.2.x to 1.2.5 | ||
|
||
This guide contains instructions for migration from PowerAuth Server version `1.2.x` to version `1.2.5`. | ||
|
||
_Warning: release `1.2.5` of PowerAuth server requires application of database migration steps. Usually we do not require a database migration for minor releases, however in release `1.2.5` such migration is necessary._ | ||
|
||
## Create New Columns in Operation Table | ||
|
||
Create a new columns in the operations table: | ||
|
||
- `template_name` - Stores the original template name. | ||
- `activation_flag` - Stores the activation flag that must be present on activation in order to return / approve / reject the operation. | ||
- `additional_data` - Stores attributes related to the approval / rejection / cancellation event. | ||
|
||
### Oracle | ||
|
||
```sql | ||
ALTER TABLE PA_OPERATION ADD TEMPLATE_NAME VARCHAR2(255); | ||
|
||
ALTER TABLE PA_OPERATION ADD ACTIVATION_FLAG VARCHAR2(255); | ||
|
||
ALTER TABLE PA_OPERATION ADD ADDITIONAL_DATA CLOB; | ||
``` | ||
|
||
### PostgreSQL | ||
|
||
```sql | ||
ALTER TABLE pa_operation ADD template_name VARCHAR(255); | ||
|
||
ALTER TABLE pa_operation ADD activation_flag VARCHAR(255); | ||
|
||
ALTER TABLE pa_operation ADD additional_data TEXT; | ||
``` | ||
|
||
### MySQL | ||
|
||
```sql | ||
ALTER TABLE pa_operation ADD template_name VARCHAR(255) NULL; | ||
|
||
ALTER TABLE pa_operation ADD activation_flag VARCHAR(255) NULL; | ||
|
||
ALTER TABLE pa_operation ADD additional_data TEXT NULL; | ||
``` | ||
|
||
## Create New Column in Activation History Table | ||
|
||
The `pa_activation_history` table was updated to include activation version. | ||
|
||
### Oracle | ||
|
||
```sql | ||
ALTER TABLE PA_ACTIVATION_HISTORY ADD activation_version NUMBER(2,0); | ||
``` | ||
|
||
### PostgreSQL | ||
|
||
```sql | ||
ALTER TABLE pa_activation_history ADD activation_version INTEGER; | ||
``` | ||
|
||
### MySQL | ||
|
||
```sql | ||
ALTER TABLE pa_activation_history ADD activation_version int(2); | ||
``` |
Oops, something went wrong.