forked from PSMRI/Identity-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'PSMRI:develop' into develop
- Loading branch information
Showing
24 changed files
with
304 additions
and
156 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,30 @@ | ||
# Description | ||
|
||
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. | ||
|
||
# Type of change | ||
|
||
- [ ] Bug fix | ||
- [ ] New feature | ||
- [ ] Enhancement | ||
- [ ] Refactoring | ||
- [ ] Documentation | ||
- [ ] Other ( please specify ) | ||
|
||
# How Has This Been Tested? | ||
|
||
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration. | ||
|
||
- [ ] Test A | ||
- [ ] Test B | ||
|
||
# Checklist: | ||
|
||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my own code | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] My changes generate no new warnings | ||
- [ ] Any dependent changes have been merged and published in downstream modules | ||
|
||
|
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 @@ | ||
name: Package-prod | ||
|
||
on: | ||
push: | ||
branches: [ "master"] | ||
paths-ignore: | ||
- target/** | ||
|
||
pull_request: | ||
branches: [ "master" ] | ||
paths-ignore: | ||
- target/** | ||
|
||
env: | ||
ENV_VAR: prod | ||
|
||
jobs: | ||
Package-prod: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup JDK 8 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: 8 | ||
distribution: 'adopt' | ||
|
||
- name: Build with Maven | ||
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }} | ||
|
||
- name: Create WAR file | ||
run: mvn -B package --file pom.xml | ||
|
||
- name: Upload WAR file as artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Identity-API | ||
path: target/identity-0.0.1.war |
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 @@ | ||
name: Package | ||
|
||
on: | ||
push: | ||
branches: [ "develop"] | ||
paths-ignore: | ||
- target/** | ||
|
||
pull_request: | ||
branches: [ "develop" ] | ||
paths-ignore: | ||
- target/** | ||
|
||
env: | ||
ENV_VAR: test | ||
|
||
jobs: | ||
Package-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup JDK 8 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: 8 | ||
distribution: 'adopt' | ||
|
||
- name: Build with Maven | ||
run: mvn clean install -DENV_VAR=${{ env.ENV_VAR }} | ||
|
||
- name: Build WAR file | ||
run: mvn -B package --file pom.xml | ||
|
||
- name: Upload WAR file as artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Identity-API | ||
path: target/identity-0.0.1.war |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: CodeQL | ||
|
||
on: | ||
push: | ||
branches: [ "develop" ] | ||
paths-ignore: | ||
- target/** | ||
|
||
pull_request: | ||
branches: [ "develop" ] | ||
paths-ignore: | ||
- target/** | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'java' ] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
|
||
- name: Setup JDK 8 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: 8 | ||
distribution: 'adopt' | ||
|
||
- name: Build with Maven | ||
run: mvn clean install | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
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 @@ | ||
1.8 |
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.