-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A Modern Reactive CQRS Architecture Microservice development framewor…
…k based on DDD and EventSourcing.
- Loading branch information
0 parents
commit ba6104f
Showing
723 changed files
with
41,242 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,4 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: "\U0001F41B Bug Report" | ||
about: Something isn't working as expected | ||
--- | ||
|
||
## Bug Report | ||
|
||
Before report a bug, make sure you have: | ||
|
||
- Searched open and closed [GitHub issues](https://github.com/Ahoo-Wang/Wow/issues). | ||
- Read documentation: [Wow Doc](https://github.com/Ahoo-Wang/Wow/). | ||
|
||
Please pay attention on issues you submitted, because we maybe need more details. | ||
If no response anymore and we cannot reproduce it on current information, we will **close it**. | ||
|
||
Please answer these questions before submitting your issue. Thanks! | ||
|
||
### Which version of Wow did you use? | ||
|
||
### Expected behavior | ||
|
||
### Actual behavior | ||
|
||
### Reason analyze (If you can) | ||
|
||
### Steps to reproduce the behavior | ||
|
||
### Example codes for reproduce this issue (such as a github link). |
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,6 @@ | ||
Fixes #ISSUSE_ID. | ||
|
||
Changes proposed in this pull request: | ||
- | ||
- | ||
- |
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,48 @@ | ||
name: Codecov | ||
on: | ||
push: | ||
paths-ignore: | ||
- 'document/**' | ||
- 'wow-example/**' | ||
pull_request: | ||
paths-ignore: | ||
- 'document/**' | ||
- 'wow-example/**' | ||
env: | ||
CI: GITHUB_ACTIONS | ||
jobs: | ||
codecov: | ||
name: Codecov | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Start Mysql | ||
run: sudo /etc/init.d/mysql start | ||
|
||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
server-id: github | ||
settings-path: ${{ github.workspace }} | ||
|
||
- name: Init Wow-Db | ||
run: mysql -vvv -h localhost -uroot -proot < wow-r2dbc/src/init-schema/init-schema-mysql.sql | ||
|
||
- name: Build Code Coverage Report | ||
run: gradle codeCoverageReport --stacktrace | ||
|
||
- name: Upload Code Coverage Report to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
flags: unittests # optional | ||
name: codecov-umbrella # optional | ||
fail_ci_if_error: true # optional (default = false) | ||
verbose: true # optional (default = false) | ||
# directory: ./build/reports/jacoco/codeCoverageReport/ | ||
files: ./test/code-coverage-report/build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml | ||
path_to_write_report: ./coverage/codecov_report.txt |
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,92 @@ | ||
# | ||
# Copyright [2021-present] [ahoo wang <[email protected]> (https://github.com/Ahoo-Wang)]. | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
name: Example Docker Image Deploy | ||
on: | ||
schedule: | ||
- cron: '0 10 * * *' | ||
push: | ||
paths-ignore: | ||
- 'examples/**' | ||
branches: | ||
- '**' | ||
tags: | ||
- 'v*.*.*' | ||
pull_request: | ||
paths-ignore: | ||
- 'document/**' | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
example-docker-deploy: | ||
name: Push Docker image | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'adopt' | ||
server-id: github | ||
settings-path: ${{ github.workspace }} | ||
|
||
- name: Build Dist | ||
run: gradle example-server:installDist | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Login to GHCR | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: | | ||
ahoowang/wow-example-server | ||
ghcr.io/ahoo-wang/wow-example-server | ||
tags: | | ||
type=ref,event=branch | ||
type=ref,event=pr | ||
type=semver,pattern={{version}} | ||
type=semver,pattern={{major}}.{{minor}} | ||
- name: Build and push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
context: example/example-server | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} |
Oops, something went wrong.