-
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 pull request #45 from UWIT-IAM/everything
Port all the changes from cert-service into spregistry
- Loading branch information
Showing
11 changed files
with
171 additions
and
79 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,34 @@ | ||
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improvethe workflow execution time | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | ||
|
||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: Java CI with Maven | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
token: ${{ secrets.ACTIONS_PAT }} | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '8' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Build with Maven | ||
run: mvn --no-transfer-progress clean compile test package |
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,3 @@ | ||
[submodule "deps/velocity-spring"] | ||
path = deps/velocity-spring | ||
url = https://github.com/UWIT-IAM/velocity-spring.git |
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,26 @@ | ||
# See https://pre-commit.com/ for file specification | ||
# | ||
# These checks are not performed by default. If you'd like to use these checks, | ||
# install pre-commit and then run `pre-commit install` in the root of your | ||
# repository. | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.1.0 | ||
hooks: | ||
# Avoid trailing whitespace, see Java style guide | ||
- id: trailing-whitespace | ||
|
||
# Avoid files without newline ending, see Java style guide | ||
- id: end-of-file-fixer | ||
|
||
# Verify modified data files | ||
- id: check-yaml | ||
- id: check-xml | ||
|
||
- repo: https://github.com/ejba/pre-commit-maven | ||
rev: v0.3.3 | ||
hooks: | ||
# Project compiles and passes unit tests | ||
- id: maven-compile | ||
- id: maven-test |
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
Submodule velocity-spring
added at
b8b1c3
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<configuration> | ||
|
||
|
||
<appender name="SP_LOGS" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<File>target/test.log</File> | ||
|
||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | ||
<!-- Unused during tests, files unlikely to roll over --> | ||
<FileNamePattern>target/test-%d{yyyy-MM-dd}.log</FileNamePattern> | ||
</rollingPolicy> | ||
|
||
<layout class="ch.qos.logback.classic.PatternLayout"> | ||
<!-- General logging pattern --> | ||
<Pattern>%date{HH:mm:ss.SSS} %level [%logger:%line] - %msg%n %ex{1}</Pattern> | ||
</layout> | ||
|
||
</appender> | ||
|
||
<root> | ||
<level value="ERROR" /> | ||
<appender-ref ref="SP_LOGS" /> | ||
</root> | ||
|
||
<logger name="edu.washington"> | ||
<level value="INFO"/> | ||
</logger> | ||
|
||
|
||
|
||
</configuration> |
Oops, something went wrong.