forked from alibaba/Sentinel
-
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 c92fea5
Showing
386 changed files
with
40,030 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,16 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/openjdk:8-jdk | ||
|
||
working_directory: ~/sentinel | ||
|
||
environment: | ||
MAVEN_OPTS: -Xmx3200m | ||
|
||
steps: | ||
- checkout | ||
|
||
# Run tests | ||
- run: mvn integration-test |
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 @@ | ||
<!-- Here is for bug reports and feature requests ONLY! | ||
If you're looking for help, please check our mail list and the Gitter room. | ||
--> | ||
|
||
## Issue Description | ||
|
||
Type: *bug report* or *feature request* | ||
|
||
### Describe what happened (or what feature you want) | ||
|
||
|
||
### Describe what you expected to happen | ||
|
||
|
||
### How to reproduce it (as minimally and precisely as possible) | ||
|
||
1. | ||
2. | ||
3. | ||
|
||
### Tell us your environment | ||
|
||
|
||
### Anything else we need to know? | ||
|
||
|
||
|
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,19 @@ | ||
<!-- Thanks for submitting a pull request! Here are some tips for you: | ||
1. Please make sure you have read and understood the contributing guidelines: https://github.com/alibaba/Sentinel/blob/master/CONTRIBUTING.md | ||
2. Please make sure the PR has a corresponding issue. | ||
--> | ||
|
||
### Describe what this PR does / why we need it | ||
|
||
|
||
### Does this pull request fix one issue? | ||
|
||
<!--If that, add "Fixes #xxxx" below in the next line. For example, Fixes #15. Otherwise, add "NONE" --> | ||
|
||
### Describe how you did it | ||
|
||
|
||
### Describe how to verify it | ||
|
||
|
||
### Special notes for reviews |
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,27 @@ | ||
# IntelliJ project files | ||
.idea/ | ||
*.iml | ||
out | ||
gen | ||
|
||
# Maven | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
pom.xml.next | ||
release.properties | ||
dependency-reduced-pom.xml | ||
buildNumber.properties | ||
.mvn/timing.properties | ||
!/.mvn/wrapper/maven-wrapper.jar | ||
|
||
# Eclipse | ||
.classpath | ||
.settings/ | ||
.project | ||
bin/ | ||
|
||
# System related | ||
*.DS_Store | ||
Thumbs.db |
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 @@ | ||
language: java | ||
|
||
sudo: required | ||
dist: trusty | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
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 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to making participation in our project and | ||
our community a harassment-free experience for everyone, regardless of age, body | ||
size, disability, ethnicity, gender identity and expression, level of experience, | ||
education, socio-economic status, nationality, personal appearance, race, | ||
religion, or sexual identity and orientation. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contributes to creating a positive environment | ||
include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or | ||
advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic | ||
address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable | ||
behavior and are expected to take appropriate and fair corrective action in | ||
response to any instances of unacceptable behavior. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or | ||
reject comments, commits, code, wiki edits, issues, and other contributions | ||
that are not aligned to this Code of Conduct, or to ban temporarily or | ||
permanently any contributor for other behaviors that they deem inappropriate, | ||
threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies both within project spaces and in public spaces | ||
when an individual is representing the project or its community. Examples of | ||
representing a project or community include using an official project e-mail | ||
address, posting via an official social media account, or acting as an appointed | ||
representative at an online or offline event. Representation of a project may be | ||
further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
reported by contacting the project team at [email protected]. All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. The project team is | ||
obligated to maintain confidentiality with regard to the reporter of an incident. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good | ||
faith may face temporary or permanent repercussions as determined by other | ||
members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | ||
|
||
[homepage]: https://www.contributor-covenant.org |
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,80 @@ | ||
# Contributing to Sentinel | ||
|
||
Welcome to Sentinel! This document is a guideline about how to contribute to Sentinel. | ||
If you find something incorrect or missing, please leave comments / suggestions. | ||
|
||
# Before you get started | ||
|
||
## Code of Conduct | ||
|
||
Please make sure to read and observe our [Code of Conduct](./CODE_OF_CONDUCT.md). | ||
|
||
## Setting up your development environment | ||
|
||
You should have JDK 1.8 or later installed in your system. | ||
|
||
# Contributing | ||
|
||
We are always very happy to have contributions, whether for typo fix, bug fix or big new features. | ||
Please do not ever hesitate to ask a question or send a pull request. | ||
|
||
We strongly value documentation and integration with other projects. | ||
We are very glad to accept improvements for these aspects. | ||
|
||
## GitHub workflow | ||
|
||
We use the `master` branch as the development branch, which indicates that this is a unstable branch. | ||
|
||
Here are the workflow for contributors: | ||
|
||
1. Fork to your own | ||
2. Clone fork to local repository | ||
3. Create a new branch and work on it | ||
4. Keep your branch in sync | ||
5. Commit your changes (make sure your commit message concise) | ||
6. Push your commits to your forked repository | ||
7. Create a pull request | ||
|
||
Please follow [the pull request template](./.github/PULL_REQUEST_TEMPLATE.md). | ||
Please make sure the PR has a corresponding issue. | ||
|
||
After creating a PR, one or more reviewers will be assigned to the pull request. | ||
The reviewers will review the code. | ||
|
||
Before merging a PR, squash any fix review feedback, typo, merged, and rebased sorts of commits. | ||
The final commit message should be clear and concise. | ||
|
||
## Open an issue / PR | ||
|
||
We use [GitHub Issues](https://github.com/alibaba/Sentinel/issues) and [Pull Requests](https://github.com/alibaba/Sentinel/pulls) for trackers. | ||
|
||
If you find a typo in document, find a bug in code, or want new features, or want to give suggestions, | ||
you can [open an issue on GitHub](https://github.com/alibaba/Sentinel/issues/new) to report it. | ||
Please follow the guideline message in the issue template. | ||
|
||
If you want to contribute, please follow the [contribution workflow](#github-workflow) and create a new pull request. | ||
If your PR contains large changes, e.g. component refactor or new components, please write detailed documents | ||
about its design and usage. | ||
|
||
Note that a single PR should not be too large. If heavy changes are required, it's better to separate the changes | ||
to a few individual PRs. | ||
|
||
## Code review | ||
|
||
All code should be well reviewed by one or more committers. Some principles: | ||
|
||
- Readability: Important code should be well-documented. Comply with our code style. | ||
- Elegance: New functions, classes or components should be well designed. | ||
- Testability: Important code should be well-tested (high unit test coverage). | ||
|
||
# Community | ||
|
||
## Contact us | ||
|
||
### Mailing list | ||
|
||
If you have any questions or advice, please contact [email protected]. | ||
|
||
### Gitter | ||
|
||
Our Gitter room: [https://gitter.im/alibaba/Sentinel](https://gitter.im/alibaba/Sentinel). |
Oops, something went wrong.