-
Notifications
You must be signed in to change notification settings - Fork 9
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 #1231 from wultra/develop
Merge develop to master
- Loading branch information
Showing
119 changed files
with
11,089 additions
and
3,795 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,52 @@ | ||
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 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,10 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="NextStepApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot"> | ||
<module name="powerauth-nextstep" /> | ||
<option name="SPRING_BOOT_MAIN_CLASS" value="io.getlime.security.powerauth.app.nextstep.NextStepApplication" /> | ||
<option name="VM_PARAMETERS" value="-Dserver.servlet.context-path=/powerauth-nextstep -Dserver.port=9082" /> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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,10 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="PowerAuthWebFlowApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true"> | ||
<module name="powerauth-webflow" /> | ||
<option name="SPRING_BOOT_MAIN_CLASS" value="io.getlime.security.powerauth.app.webflow.PowerAuthWebFlowApplication" /> | ||
<option name="VM_PARAMETERS" value="-Dserver.servlet.context-path=/powerauth-webflow -Dserver.port=9080" /> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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,10 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="PowerAuthWebFlowClientApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot"> | ||
<module name="powerauth-webflow-client" /> | ||
<option name="SPRING_BOOT_MAIN_CLASS" value="io.getlime.security.powerauth.app.webflow.demo.PowerAuthWebFlowDemoApplication" /> | ||
<option name="VM_PARAMETERS" value="-Dserver.servlet.context-path=/powerauth-webflow-client -Dserver.port=9083" /> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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,10 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="TppEngineApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot"> | ||
<module name="powerauth-tpp-engine" /> | ||
<option name="SPRING_BOOT_MAIN_CLASS" value="io.getlime.security.powerauth.app.tppengine.TppEngineApplication" /> | ||
<option name="VM_PARAMETERS" value="-Dserver.servlet.context-path=/tpp-engine -Dserver.port=9081" /> | ||
<method v="2"> | ||
<option name="Make" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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,41 @@ | ||
# Developer - How to Start Guide | ||
|
||
|
||
## Webflow | ||
|
||
|
||
### Standalone Run | ||
|
||
- Enable maven profile `standalone` | ||
- Use IntelliJ Idea run configuration at `../.run/PowerAuthWebFlowApplication.run.xml` | ||
- Open [http://localhost:9080/powerauth-webflow/actuator/health](http://localhost:9080/powerauth-webflow/actuator/health) and you should get `{"status":"UP"}` | ||
|
||
|
||
## TPP Engine | ||
|
||
|
||
### Standalone Run | ||
|
||
- Enable maven profile `standalone` | ||
- Use IntelliJ Idea run configuration at `../.run/TppEngineApplication.run.xml` | ||
- Open [http://localhost:9081/tpp-engine/actuator/health](http://localhost:9081/tpp-engine/actuator/health) and you should get `{"status":"UP"}` | ||
|
||
|
||
## NextStep | ||
|
||
|
||
### Standalone Run | ||
|
||
- Enable maven profile `standalone` | ||
- Use IntelliJ Idea run configuration at `../.run/NextStepApplication.run.xml` | ||
- Open [http://localhost:9082/powerauth-nextstep/actuator/health](http://localhost:9082/powerauth-nextstep/actuator/health) and you should get `{"status":"UP"}` | ||
|
||
|
||
## Webflow Client | ||
|
||
|
||
### Standalone Run | ||
|
||
- Enable maven profile `standalone` | ||
- Use IntelliJ Idea run configuration at `../.run/PowerAuthWebFlowClientApplication.run.xml` | ||
- Open [http://localhost:9083/powerauth-webflow-client/actuator/health](http://localhost:9083/powerauth-webflow-client/actuator/health) and you should get `{"status":"UP"}` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Migration from 1.3.0 to 1.4.0 | ||
|
||
## Database Changes | ||
|
||
Following database changes were introduced in version `1.4.0`: | ||
|
||
DDL update script for Oracle: | ||
|
||
```sql | ||
ALTER TABLE tpp_detail ADD tpp_blocked NUMBER(1) DEFAULT 0 NOT NULL; | ||
``` | ||
|
||
DDL update script for MySQL: | ||
|
||
```sql | ||
ALTER TABLE tpp_detail ADD tpp_blocked BOOLEAN NOT NULL DEFAULT FALSE; | ||
``` | ||
|
||
DDL update script for PostgreSQL: | ||
|
||
```sql | ||
ALTER TABLE tpp_detail ADD tpp_blocked BOOLEAN DEFAULT FALSE NOT NULL; | ||
``` |
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
Oops, something went wrong.