-
Notifications
You must be signed in to change notification settings - Fork 48
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
1 parent
4d628b5
commit 713dd08
Showing
686 changed files
with
3,343 additions
and
3,098 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,17 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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,9 @@ | ||
# Set the default behavior to LF, because checkstyle enforces it | ||
* text eol=lf | ||
|
||
*.bat eol=crlf | ||
|
||
*.jar binary | ||
*.jpg binary | ||
*.png binary | ||
*.ttf binary |
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,23 @@ | ||
|
||
<!-- | ||
If this is your first time contributing to the project (or it's been a while), please consider reviewing https://github.com/Terracotta-OSS/terracotta-platform/blob/master/CONTRIBUTING.md | ||
--> | ||
|
||
|
||
This PR... | ||
|
||
Fixes issue # | ||
|
||
## Changes | ||
- | ||
|
||
----------------- | ||
## Checklist | ||
- [ ] tested locally | ||
- [ ] updated the docs | ||
- [ ] added appropriate test | ||
- [ ] signed-off on the DCO referenced in the CONTRIBUTING link below via `git commit -s` on my commits, and submit this code under terms of the Apache 2.0 license and assign copyright to this project owners | ||
(If you're not using command-line, you can use a [browser extension](https://github.com/scottrigby/dco-gh-ui) ) | ||
----------------- | ||
In submitting this contribution, I agree to the terms of contributing as referred to here: | ||
https://github.com/Terracotta-OSS/terracotta-platform/blob/master/CONTRIBUTING.md |
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,58 @@ | ||
name: Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: "${{ matrix.os }}:jdk-${{ matrix.jdk }}:jvm-${{ matrix.jvm }}" | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
jdk: [8] | ||
jvm: [8, 11, 17, 21] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
env: | ||
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 10 | ||
|
||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: ${{ runner.os }}-gradle | ||
|
||
- name: "Setup JDK ${{ matrix.jdk }}" | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: ${{ matrix.jdk }} | ||
|
||
- name: "Setup JVM ${{ matrix.jvm }}" | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: ${{ matrix.jvm }} | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew check -x dependencyCheckAggregate --no-daemon -PcompileVM=${{ matrix.jdk }} -PtestVM=${{ matrix.jvm }} |
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 @@ | ||
name: Dependency Submission | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ["main", "master"] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
dependency-submission: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: 17 | ||
- name: Generate and submit dependency graph | ||
uses: gradle/actions/dependency-submission@v4 |
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,17 @@ | ||
name: "Validate Gradle Wrapper" | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
validation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gradle/actions/wrapper-validation@v4 |
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 |
---|---|---|
@@ -1,35 +1,4 @@ | ||
# IntelliJ exclusions | ||
.idea/ | ||
*.iml | ||
out/ | ||
|
||
# Eclipse exclusions | ||
.project | ||
.classpath/ | ||
.classpath | ||
.settings/ | ||
*.prefs | ||
|
||
# Netbeans exclusions | ||
nb-configuration.xml | ||
nbactions.xml | ||
.nb-gradle/ | ||
.nb-gradle-properties | ||
|
||
# MacOS exclusions | ||
.DS_Store | ||
|
||
# Maven exclusions | ||
target/ | ||
dependency-reduced-pom.xml | ||
.fbExcludeFilterFile | ||
|
||
.checkstyle | ||
*~ | ||
|
||
/.gradletasknamecache | ||
/classes | ||
/healthchecker-entity/api/nbproject/ | ||
|
||
# vim | ||
*.swp | ||
# Gradle | ||
.gradle/ | ||
**/build/ | ||
!**/src/**/build/ |
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 "build-logic/terracotta-gradle-plugins"] | ||
path = build-logic/terracotta-gradle-plugins | ||
url = https://github.com/Terracotta-OSS/terracotta-gradle-plugins.git |
Binary file not shown.
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,46 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make 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, 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]. The project team will review and investigate all complaints, and will respond in a way that it deems 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 [http://contributor-covenant.org/version/1/4][version] | ||
|
||
[homepage]: http://contributor-covenant.org | ||
[version]: http://contributor-covenant.org/version/1/4/ |
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,65 @@ | ||
|
||
# Contributing to the project | ||
|
||
_We're happy to have you participate in our community with your contributions!_ | ||
|
||
## Legal | ||
|
||
All original contributions to this project are licensed under the Apache License, version 2.0 or later. | ||
|
||
The Apache License 2.0 text is included verbatim in the [LICENSE.txt](https://github.com/Terracotta-OSS/terracotta-platform/blob/master/LICENSE.txt) file in the root directory of the repository. | ||
|
||
All contributions are subject to the Developer Certificate of Origin (DCO). | ||
|
||
The DCO text is available verbatim in the [DCO.txt](DCO.txt) file in the root directory of the 'contributing' repository. | ||
|
||
## Process | ||
|
||
This project is owned by IBM. Please follow the simple contribution process documented here. | ||
|
||
In brief, the process is as simple as: | ||
|
||
* Fork the code repository | ||
* Commit your changes with the _-s_ option to agree to the DCO, and "sign over" copyright ownership to IBM | ||
* If you introduce new files, include license (APL 2.0) and copyright (IBM) headers in the files | ||
* Create a Pull Request (PR) from your fork to the original project, on the appropriate branch - please note the template questions/agreements on the PR. | ||
* Await feedback on your contribution (which will typically come in the form of comments on your PR) | ||
|
||
Please also review the following sections that have additional important information. | ||
|
||
## Community Guidelines | ||
|
||
### Code of Conduct | ||
|
||
Before participating in our community with our code, doc, or forum contributions, please review our Community [Code of Conduct](CODE_OF_CONDUCT.md). | ||
|
||
### Coding Standards | ||
|
||
* Rule #1: do not gratuitously reformat all the the code in existing files. If you're changing an existing file, make your code changes match the formatting that is already in that file. | ||
* Use spaces, not Tabs, follow common Java formatting rules, your contribution may be initially rejected if it's a mess. | ||
* Explanatory comments are friendly to other developers, and to your future self! | ||
|
||
--- | ||
|
||
# Acting As a Project Publisher aka Maintainer aka Committer | ||
|
||
Some members of the project have a role beyond that of a contributor. These members are known as _Publishers_, and their role is similar to that of people with the role "Committer" or "Maintainer" on other projects. | ||
|
||
Publishers review PRs from other contributors, and have the rights to merge those PRs into the project. | ||
|
||
Publishers rights, duties, and responsibilities include: | ||
* Reviewing and Merging Pull Requests | ||
- Ensure that the PR has a signed-off (DCO) on all of its commits, and agreements on PR template questions/agreements | ||
- Ensure coding guidelines and community conduct guidelines are not violated | ||
- Review for functional correctness and possible performance impact | ||
- Review for possible security vulnerabilities or malicious intent | ||
- Check for any introduction of new third-pary library dependencies (see below) | ||
- Ensure all automated checks (build/test, etc.) have passed | ||
- Give kind and detailed feedback to the contributor | ||
- Addional pre-merge rules: | ||
- Contributions that introduce new features require discussion and vote from at least two additional project Admins/Publishers | ||
- Contributions that affect backward compatibility require discussion and vote from at least two additional project Admins/Publishers | ||
- Contributions that introduce 3rd party libraries require discussion and vote from at least two additional project Admins/Publishers | ||
- Contributions that otherwise necessitate a Major or Minor version bump require discussion and vote from at least two additional project Admins/Publishers | ||
* Actively seek input and opinions from other project Publishers and contributors when reviewing contributions that have significant impact | ||
* Fostering and protecting a healthy project community culture |
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,38 @@ | ||
Developer Certificate of Origin | ||
Version 1.1 | ||
|
||
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. | ||
1 Letterman Drive | ||
Suite D4700 | ||
San Francisco, CA, 94129 | ||
|
||
Everyone is permitted to copy and distribute verbatim copies of this | ||
license document, but changing it is not allowed. | ||
|
||
|
||
Developer's Certificate of Origin 1.1 | ||
|
||
By making a contribution to this project, I certify that: | ||
|
||
(a) The contribution was created in whole or in part by me and I | ||
have the right to submit it under the open source license | ||
indicated in the file; or | ||
|
||
(b) The contribution is based upon previous work that, to the best | ||
of my knowledge, is covered under an appropriate open source | ||
license and I have the right under that license to submit that | ||
work with modifications, whether created in whole or in part | ||
by me, under the same open source license (unless I am | ||
permitted to submit under a different license), as indicated | ||
in the file; or | ||
|
||
(c) The contribution was provided directly to me by some other | ||
person who certified (a), (b) or (c) and I have not modified | ||
it. | ||
|
||
(d) I understand and agree that this project and the contribution | ||
are public and that a record of the contribution (including all | ||
personal information I submit with it, including my sign-off) is | ||
maintained indefinitely and may be redistributed consistent with | ||
this project or the open source license(s) involved. | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.