Skip to content

Commit 98f7013

Browse files
authored
Merge pull request #1 from Foxentry/feat/release-1-0-0
feat: release 1.0.0
2 parents bdd2de0 + 9bd9a2c commit 98f7013

File tree

160 files changed

+15585
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+15585
-1
lines changed

.github/issue_template.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# ! To prevent creating a duplicate, please check for previous issues before making a new one. !
2+
3+
## Issue Description
4+
5+
[To help us better understand the issue you are experiencing, please be as detailed as possible. Try to be as detailed as you can.]
6+
7+
## Steps to Reproduce
8+
9+
[Describe the steps you took to get into the issue. Bring back every step of the process, down to the last detail, including all of the inputs, outputs you anticipated, and results you achieved. This enables us to identify and solve the problem more quickly.]
10+
11+
1. Step 1
12+
2. Step 2
13+
3. ...
14+
15+
## Expected Behavior
16+
17+
[Give a detailed description of the desired behavior you aimed to achieve with the flow.]
18+
19+
## Actual Behavior
20+
21+
[Give a detailed description of the actual behavior.]
22+
23+
## Screenshots
24+
25+
[Provide us with screenshots of the faulty behavior if possible. With this, we can get a clearer picture of the issue.]
26+
27+
## Environment
28+
29+
[Please describe the environment in which the issue occurred.]
30+
31+
- **Operating System:**
32+
- **Browser (if applicable):**
33+
- **Version/Commit ID (if applicable):**
34+
35+
## Additional Information
36+
37+
[Please share any further details you may have that could lead to a solution to this problem.]
38+
39+
## Labels
40+
41+
[Mention any labels that you think are relevant to this issue, such as "bug," "enhancement," etc.]
42+
43+
## Assignees
44+
45+
[If there's a specific person or team responsible for addressing this issue, assign them here. If not, you can leave this section blank.]
46+
47+
---

.github/pull_request_template.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# !Make sure that your branch is based on the latest changes in the main/master branch before submitting the pull request.!
2+
3+
## Pull Request Description
4+
5+
[Please give us as much information as possible about the pull request you want us to approve. Please be as detailed as possible.]
6+
7+
## Related Issue
8+
9+
[Please add related issue.]
10+
11+
## Changes Made
12+
13+
[List the specific changes made in this pull request.]
14+
15+
- Change 1
16+
- Change 2
17+
- ...
18+
19+
## Screenshots
20+
21+
[If applicable, include screenshots that showcase the changes.]
22+
23+
# Checklist
24+
25+
- [ ] I have tested these changes locally.
26+
- [ ] I have updated the documentation.
27+
- [ ] My code follows our project's coding style.
28+
- [ ] I have added/modified relevant tests.
29+
- [ ] All existing tests are passing.
30+
- [ ] I have rebased my branch on the latest main/master.
31+
32+
## Additional Information
33+
34+
[Please share any further details you may have.]
35+
36+
## Assignees
37+
38+
[If there's a specific person or team responsible for reviewing and merging this pull request, assign them here. If not, you can leave this section blank.]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish package to the Maven Central Repository
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Set up Maven Central Repository
11+
uses: actions/setup-java@v4
12+
with:
13+
java-version: '17'
14+
distribution: 'temurin'
15+
server-id: ossrh
16+
server-username: MAVEN_USERNAME
17+
server-password: MAVEN_PASSWORD
18+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
19+
gpg-passphrase: MAVEN_GPG_PASSPHRASE
20+
- name: Publish package
21+
run: |
22+
mvn clean deploy -P release -DskipTests=true --batch-mode
23+
env:
24+
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
25+
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
26+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Test SDK
2+
on:
3+
- push
4+
5+
jobs:
6+
build_and_test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up JDK 17
12+
uses: actions/setup-java@v1
13+
with:
14+
java-version: 17
15+
16+
- name: Build project with Maven
17+
run: mvn -B package --file pom.xml

.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
tmp
2+
3+
# Compiled class file
4+
*.class
5+
6+
# Log file
7+
*.log
8+
9+
# BlueJ files
10+
*.ctxt
11+
12+
# Mobile Tools for Java (J2ME)
13+
.mtj.tmp/
14+
15+
# Package Files #
16+
*.jar
17+
*.war
18+
*.nar
19+
*.ear
20+
*.zip
21+
*.tar.gz
22+
*.rar
23+
24+
# Maven
25+
target/
26+
27+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
28+
hs_err_pid*
29+
replay_pid*
30+
31+
### Linux ###
32+
*~
33+
34+
# temporary files which can be created if a process still has a handle open of a deleted file
35+
.fuse_hidden*
36+
37+
# KDE directory preferences
38+
.directory
39+
40+
# Linux trash folder which might appear on any partition or disk
41+
.Trash-*
42+
43+
# .nfs files are created when an open file is removed but is still being accessed
44+
.nfs*
45+
46+
### OSX ###
47+
# General
48+
.DS_Store
49+
.AppleDouble
50+
.LSOverride

CODE_OF_CONDUCT.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
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, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
- Using welcoming and inclusive language
12+
- Being respectful of differing viewpoints and experiences
13+
- Gracefully accepting constructive criticism
14+
- Focusing on what is best for the community
15+
- Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
- Trolling, insulting/derogatory comments, and personal or political attacks
21+
- Public or private harassment
22+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
- Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
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.
28+
29+
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 with this Code of Conduct or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [[email protected]](mailto:[email protected]). All complaints will be reviewed and investigated promptly and fairly.
38+
39+
All project team members are obligated to respect the privacy and security of the reporter of any incident.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).

CONTRIBUTING.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Contributing to com.foxentry.foxentrysdk
2+
3+
Thank you for considering contributing to com.foxentry.foxentrysdk! We appreciate your efforts in helping to improve our project. Please take a moment to review this document for guidelines on how to contribute.
4+
5+
## Ways to Contribute
6+
7+
There are several ways you can contribute to this project:
8+
9+
- Reporting issues
10+
- Suggesting enhancements
11+
- Submitting pull requests for bug fixes or new features
12+
13+
## How to Contribute
14+
15+
### Reporting Issues
16+
17+
If you encounter any issues or bugs, please use the GitHub issue tracker to report them. When reporting issues, please provide as much detail as possible, including:
18+
19+
- A clear and descriptive title
20+
- A detailed description of the issue
21+
- Steps to reproduce the issue, if applicable
22+
- Any relevant error messages or screenshots
23+
24+
### Suggesting Enhancements
25+
26+
If you have suggestions for enhancements or new features, please feel free to open an issue on GitHub. Please provide a clear and detailed description of your suggestion, including why you think it would be beneficial for the project.
27+
28+
### Submitting Pull Requests
29+
30+
We welcome pull requests for bug fixes, improvements, and new features. Before submitting a pull request, please ensure the following:
31+
32+
- Fork the repository and create a new branch for your changes.
33+
- Make your changes, and provide clear and descriptive commit messages.
34+
- Test your changes thoroughly.
35+
- Ensure that your code follows the existing coding style and guidelines.
36+
- Update any relevant documentation or examples to reflect your changes.
37+
38+
## Contact
39+
40+
If you have any further questions or need assistance, please feel free to reach out to us at [[email protected]](mailto:[email protected]).
41+
42+
Thank you again for your interest in contributing to com.foxentry.foxentrysdk

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2024 Foxentry
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)