-
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.
- Loading branch information
0 parents
commit 9abbd5b
Showing
84 changed files
with
6,408 additions
and
0 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,10 @@ | ||
--- | ||
engines: | ||
codenarc: | ||
exclude_paths: | ||
- "src/it/**" | ||
exclude_paths: | ||
- "src/it/**" | ||
- "**/mock-loggers.css" | ||
- "**/prism.css" | ||
- "**/prism.js" |
Large diffs are not rendered by default.
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,68 @@ | ||
name: Bug report | ||
description: Create a report to help me improve | ||
labels: | ||
- bug | ||
assignees: [ "vitalijr2" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
**Before opening a new issue**, make sure to search for keywords in the issues | ||
filtered by the "bug" label: | ||
* https://github.com/vitalijr2/mock-loggers/issues?q=is%3Aissue+label%3Abug+ | ||
and verify the issue you're about to submit isn't a duplicate. | ||
- type: input | ||
id: summary | ||
validations: | ||
required: true | ||
attributes: | ||
label: Summary | ||
description: A clear and concise description of what the bug is. | ||
- type: textarea | ||
id: what-happened | ||
validations: | ||
required: true | ||
attributes: | ||
label: What is the current bug behavior? | ||
description: Describe what actually happens. | ||
placeholder: Tell us what you do and what you see! | ||
- type: textarea | ||
id: steps | ||
attributes: | ||
label: Steps to reproduce | ||
value: | | ||
1. ... | ||
2. ... | ||
3. ... | ||
... | ||
- type: textarea | ||
id: expected | ||
validations: | ||
required: true | ||
attributes: | ||
label: What is the expected correct behavior? | ||
description: Describe what you should see instead. | ||
placeholder: Tell us what you expected to get! | ||
- type: textarea | ||
id: misc | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. | ||
- type: textarea | ||
id: fixes | ||
attributes: | ||
label: Possible fixes | ||
description: If you can, link to the line of code that might be responsible for the problem. | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Paste any relevant logs - please use code blocks (```) | ||
to format console output, logs, and code as it's tough | ||
to read otherwise. | ||
**Do not attach ZIP files** of your code or compiled projects - instead, | ||
please publish your code to a public GitHub repo & post a link to it. |
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,44 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project | ||
labels: | ||
- enhancement | ||
assignees: [ "vitalijr2" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this feature request! | ||
**Before opening a new issue**, make sure to search for keywords in the issues | ||
filtered by the "enhancement" and "suggestion" labels: | ||
* https://github.com/vitalijr2/mock-loggers/issues?q=is%3Aissue+label%3Aenhancement+ | ||
* https://github.com/vitalijr2/mock-loggers/issues?q=is%3Aissue+label%3Asuggestion+ | ||
and verify the issue you're about to submit isn't a duplicate. | ||
- type: input | ||
id: summary | ||
validations: | ||
required: true | ||
attributes: | ||
label: Summary | ||
description: A clear and concise description of what the bug is. | ||
- type: textarea | ||
id: expected | ||
validations: | ||
required: true | ||
attributes: | ||
label: What is the expected correct behavior? | ||
description: Describe what you should see instead. | ||
placeholder: Tell us what you expected to get! | ||
- type: textarea | ||
id: implementation | ||
attributes: | ||
label: Possible implementations | ||
description: If you can, link to the line of code that might be responsible for the feature. | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Paste any relevant logs - please use code blocks (```) | ||
to format console output, logs, and code as it's tough | ||
to read otherwise. |
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 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for Maven | ||
- package-ecosystem: "maven" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "sunday" | ||
target-branch: "development" | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" | ||
day: "sunday" | ||
target-branch: "development" |
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 @@ | ||
name: "Check release" | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
name: Maven build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Java JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'corretto' | ||
java-version: 11 | ||
- name: Build with Maven | ||
env: | ||
SIGN_KEY: ${{ secrets.SIGN_KEY }} | ||
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }} | ||
run: ./mvnw --batch-mode -s .mvn/ci_settings.xml -ntp -DskipTests -DskipPublishing -Prun-its,release |
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,73 @@ | ||
name: "Codacy" | ||
|
||
on: | ||
push: | ||
branches: [ "**" ] | ||
tags-ignore: | ||
- v* | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "**" ] | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
name: Maven build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Java JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'corretto' | ||
java-version: 11 | ||
- name: Build with Maven | ||
run: ./mvnw --batch-mode | ||
- name: Temporarily save target and test requests | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: targets | ||
path: | | ||
core/target | ||
jdk-platform-logging/targets | ||
retention-days: 1 | ||
codacy-security-scan: | ||
name: Codacy Security Scan | ||
needs: build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
security-events: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Run Codacy Analysis CLI | ||
uses: codacy/codacy-analysis-cli-action@09916000460adeeedc96b9704f86deba53e2ad5d | ||
with: | ||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
verbose: true | ||
output: results.sarif | ||
format: sarif | ||
gh-code-scanning-compat: true | ||
- name: Upload SARIF results file | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: results.sarif | ||
codacy-coverage-reporter: | ||
name: Codacy Coverage Reporter | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Retrieve saved test requests and target | ||
uses: actions/download-artifact@master | ||
with: | ||
name: targets | ||
path: . | ||
- name: Run codacy-coverage-reporter | ||
uses: codacy/codacy-coverage-reporter-action@a38818475bb21847788496e9f0fddaa4e84955ba | ||
with: | ||
coverage-reports: core/target/site/jacoco/jacoco.xml,jdk-platform-logging/target/site/jacoco/jacoco.xml | ||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} |
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,45 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "**" ] | ||
tags-ignore: | ||
- v* | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "**" ] | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
permissions: | ||
security-events: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- language: java-kotlin | ||
build-mode: manual | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Java JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'corretto' | ||
java-version: 11 | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{matrix.language}} | ||
build-mode: ${{matrix.build-mode}} | ||
- name: Build with Maven | ||
run: ./mvnw --batch-mode | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "Publish artifacts" | ||
|
||
on: | ||
release: | ||
types: [ created ] | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
publish: | ||
name: Publish to Maven Central | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Java JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'corretto' | ||
java-version: 11 | ||
- name: Build and publish with Maven | ||
env: | ||
SIGN_KEY: ${{ secrets.SIGN_KEY }} | ||
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }} | ||
SONATYPE_TOKEN_USERNAME: ${{ secrets.SONATYPE_TOKEN_USERNAME }} | ||
SONATYPE_TOKEN_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }} | ||
run: ./mvnw --batch-mode -s .mvn/ci_settings.xml -ntp -DskipTests -Prelease |
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,54 @@ | ||
#Maven | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
release.properties | ||
.flattened-pom.xml | ||
|
||
# GitHub actions | ||
results.sarif | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
### Eclipse ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
bin/ | ||
|
||
### NetBeans ### | ||
nb-configuration.xml | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
build/ | ||
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
|
||
### VS Code ### | ||
.vscode | ||
|
||
### Mac OS ### | ||
.DS_Store | ||
|
||
# Vim | ||
*.swp | ||
*.swo | ||
|
||
# patch | ||
*.orig | ||
*.rej | ||
|
||
# Local environment | ||
.env |
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 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<servers> | ||
<server> | ||
<id>central</id> | ||
<username>${env.SONATYPE_TOKEN_USERNAME}</username> | ||
<password>${env.SONATYPE_TOKEN_PASSWORD}</password> | ||
</server> | ||
</servers> | ||
</settings> |
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,7 @@ | ||
--fail-at-end | ||
--show-version | ||
-Djava.awt.headless=true | ||
-DinstallAtEnd=true | ||
-DdeployAtEnd=true | ||
-Dhttps.protocols=TLSv1.2 | ||
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN |
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 @@ | ||
maven-wrapper.jar |
Oops, something went wrong.