-
Notifications
You must be signed in to change notification settings - Fork 1
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 #6 from eo-cqrs/skeleton
Skeleton
- Loading branch information
Showing
23 changed files
with
1,313 additions
and
2 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,5 @@ | ||
errors: | ||
- [email protected] | ||
tags: | ||
- pdd | ||
- bug |
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: codecov | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
jobs: | ||
codecov: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2/repository | ||
key: maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
maven- | ||
- run: | | ||
mvn clean install | ||
- uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./target/site/jacoco/jacoco.xml | ||
fail_ci_if_error: false |
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,29 @@ | ||
name: mvn | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
test: | ||
name: Build | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, windows-2022, macos-12] | ||
java: [17] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: ${{ matrix.java }} | ||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: | | ||
${{ runner.os }}-jdk-${{ matrix.java }}-maven- | ||
- run: mvn clean install --errors --batch-mode |
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,14 @@ | ||
name: pdd | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
pdd: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: g4s8/pdd-action@master |
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,14 @@ | ||
name: xcop | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: g4s8/xcop-action@master |
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 @@ | ||
architect: | ||
- h1alexbel | ||
docker: | ||
image: l3r8y/rultor-image:1.0.3 | ||
assets: | ||
settings.xml: eo-cqrs/eo-cqrs-secrets#assets/settings.xml | ||
secring.gpg: eo-cqrs/eo-cqrs-secrets#assets/secring.gpg | ||
pubring.gpg: eo-cqrs/eo-cqrs-secrets#assets/pubring.gpg | ||
merge: | ||
script: | ||
- "mvn clean install --errors --batch-mode" | ||
release: | ||
pre: false | ||
sensetive: | ||
- settings.xml | ||
script: |- | ||
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 | ||
mvn versions:set "-DnewVersion=${tag}" | ||
git commit -am "${tag}" | ||
mvn clean deploy -Prelease --errors --settings ../settings.xml |
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,62 @@ | ||
[](https://self-xdsd.com/p/eo-cqrs/ohip-java?provider=github) | ||
|
||
[](https://www.elegantobjects.org) | ||
[](https://www.rultor.com/p/eo-cqrs/ohip-java) | ||
[](https://www.jetbrains.com/idea/) | ||
<br> | ||
|
||
[](https://github.com/eo-cqrs/ohip/actions/workflows/mvn.yml) | ||
[](https://search.maven.org/artifact/io.github.eo-cqrs/ohip-java) | ||
[](https://javadoc.io/doc/io.github.eo-cqrs/ohip-java) | ||
[](https://codecov.io/gh/eo-cqrs/eo-kafka) | ||
|
||
[](https://hitsofcode.com/view/github/eo-cqrs/ohip-java) | ||
[](https://github.com/eo-cqrs/ohip-java) | ||
[](http://www.0pdd.com/p?name=eo-cqrs/ohip-java) | ||
[](https://github.com/eo-cqrs/ohip-java/blob/master/LICENSE.txt) | ||
|
||
Project architect: [@h1alexbel](https://github.com/h1alexbel) | ||
|
||
Java Object-Oriented Wrapper of [OHIP](https://www.oracle.com/hospitality/integration-platform/) API. | ||
|
||
**Motivation**. We are lacking off some wrapper for OHIP API | ||
to simplify API calls and reuse configuration. | ||
we are suggesting this capability through small and cohesive objects. | ||
|
||
**Principles**. These are the [design principles](https://www.elegantobjects.org/#principles) behind this wrapper. | ||
|
||
**How to use**. All you need is this (get the latest version [here](https://search.maven.org/artifact/io.github.eo-cqrs/ohip)): | ||
|
||
Maven: | ||
```xml | ||
<dependency> | ||
<groupId>io.github.eo-cqrs</groupId> | ||
<artifactId>ohip</artifactId> | ||
</dependency> | ||
``` | ||
|
||
Gradle: | ||
```groovy | ||
dependencies { | ||
compile 'io.github.eo-cqrs:ohip:<version>' | ||
} | ||
``` | ||
|
||
## Accessing OHIP | ||
|
||
TBD.. | ||
|
||
## How to Contribute | ||
|
||
Fork repository, make changes, send us a [pull request](https://www.yegor256.com/2014/04/15/github-guidelines.html). | ||
We will review your changes and apply them to the `master` branch shortly, | ||
provided they don't violate our quality standards. To avoid frustration, | ||
before sending us your pull request please run full Maven build: | ||
|
||
```bash | ||
$ mvn clean install | ||
``` | ||
|
||
You will need Maven 3.8.7+ and Java 17+. | ||
|
||
Our [rultor image](https://github.com/eo-cqrs/eo-kafka-rultor-image) for CI/CD. |
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 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
MIT License | ||
Copyright (c) 2023 Aliaksei Bialiauski, EO-CQRS | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
--> | ||
<!DOCTYPE suppressions PUBLIC "-//Checkstyle//DTD SuppressionFilter Configuration 1.0//EN" "https://checkstyle.org/dtds/suppressions_1_0.dtd"> | ||
<suppressions> | ||
<suppress checks="LineLength" files=".*\.java$" lines="0-23"/> | ||
<suppress checks="HiddenField" files=".*\.java$" lines="23-9999"/> | ||
<suppress checks="MagicNumber" files="io.github.eocqrs.ohip.Token.java" lines="72"/> | ||
</suppressions> |
Oops, something went wrong.
0359012
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
1-6106bc7f
discovered inpom.xml
) and submitted as #7. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.0359012
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
1-a2c54751
discovered inpom.xml
) and submitted as #8. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.0359012
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
1-d08d9c09
discovered inpom.xml
) and submitted as #11. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.0359012
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
1-a60b558b
discovered inpom.xml
) and submitted as #13. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.