Skip to content

v1.0.7 #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 94 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
81cb6a5
Update .gitattributes
AB-xdev Apr 23, 2024
2fddb4f
Update dependency com.puppycrawl.tools:checkstyle to v10.16.0
xdev-renovate Apr 29, 2024
5b4f538
Merge remote-tracking branch 'origin/update-from-template'
AB-xdev Apr 30, 2024
4d4b380
Merge pull request #47 from xdev-software/renovate/com.puppycrawl.too…
AB-xdev Apr 30, 2024
80ca591
Enable ``includeTestSourceDirectory``
AB-xdev Apr 30, 2024
2afe2fc
Update CONTRIBUTING.md
AB-xdev May 6, 2024
451d36f
Update dependency org.apache.maven.plugins:maven-site-plugin to v4.0.…
xdev-renovate May 9, 2024
28a9e62
Update dependency com.mycila:license-maven-plugin to v4.5
xdev-renovate May 12, 2024
5a2a8da
Update dependency com.mycila:license-maven-plugin to v4.5
xdev-renovate May 12, 2024
9ba3411
Merge pull request #50 from xdev-software/renovate/org.apache.maven.p…
AB-xdev May 13, 2024
b10695d
Merge pull request #49 from xdev-software/renovate/com.mycila-license…
AB-xdev May 13, 2024
0effe0a
Create issue templates
AB-xdev May 13, 2024
ab0a8d2
Create issue labels automatically
AB-xdev May 13, 2024
c206e26
Merge pull request #51 from xdev-software/update-from-template
AB-xdev May 13, 2024
209777d
Security vulnerabilities are automatically added by GitHub
AB-xdev May 13, 2024
0c0f9f1
Add search and report for broken links
AB-xdev May 13, 2024
567dadd
Merge pull request #52 from xdev-software/update-from-template
AB-xdev May 13, 2024
89be6d9
Fix "we can't handle unicode" problems
AB-xdev May 13, 2024
e715dff
Merge pull request #53 from xdev-software/update-from-template
AB-xdev May 13, 2024
117e21e
Add ignore file
AB-xdev May 13, 2024
8a84f2f
Merge remote-tracking branch 'origin/update-from-template'
AB-xdev May 13, 2024
8dbbdf9
Ignore non resolveable links
AB-xdev May 13, 2024
97034e8
Slight rewording
AB-xdev May 17, 2024
30426ad
Update dependency maven to v3.9.7
xdev-renovate May 26, 2024
6960457
Update dependency maven to v3.9.7
xdev-renovate May 26, 2024
806b566
Update dependency com.puppycrawl.tools:checkstyle to v10.17.0
xdev-renovate May 27, 2024
f22a35b
Update dependency com.puppycrawl.tools:checkstyle to v10.17.0
xdev-renovate May 27, 2024
ea4e5c3
Merge pull request #56 from xdev-software/renovate/com.puppycrawl.too…
AB-xdev May 27, 2024
2f2221e
Merge remote-tracking branch 'origin/renovate/maven-3.x'
AB-xdev May 27, 2024
4575336
Only run sonar workflow when secret is present
AB-xdev May 27, 2024
403faee
Secrets are not available in if
AB-xdev May 27, 2024
167c8f6
Update dependency org.sonatype.plugins:nexus-staging-maven-plugin to …
xdev-renovate May 28, 2024
d562e83
Update dependency org.sonatype.plugins:nexus-staging-maven-plugin to …
xdev-renovate May 28, 2024
bef3a77
Don't run sonar token check when not required
AB-xdev May 28, 2024
8385277
Merge pull request #59 from xdev-software/renovate/org.sonatype.plugi…
AB-xdev May 28, 2024
8d48e75
Compact/Flatten pom on release
AB-xdev May 28, 2024
439d244
Merge branch 'master' of https://github.com/xdev-software/standard-ma…
AB-xdev May 28, 2024
a16ac06
Standardize job names
AB-xdev May 28, 2024
4de451f
Substitute using repo name
AB-xdev May 28, 2024
21769fc
Normalize workflow names
AB-xdev May 28, 2024
9d241f1
Update dependency org.apache.maven.plugins:maven-site-plugin to v4.0.…
xdev-renovate Jun 1, 2024
ea1cada
Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3…
xdev-renovate Jun 1, 2024
7ab8666
Update dependency org.apache.maven.plugins:maven-site-plugin to v4.0.…
xdev-renovate Jun 1, 2024
3b682e8
Update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3…
xdev-renovate Jun 1, 2024
f597d1e
Merge pull request #61 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jun 3, 2024
087eead
Merge pull request #60 from xdev-software/renovate/org.apache.maven.p…
AB-xdev Jun 3, 2024
0a48eee
Update update-from-template.yml
AB-xdev Jun 3, 2024
b68fe41
Ignore github pages
AB-xdev Jun 3, 2024
dbbac68
Update update-from-template.yml
AB-xdev Jun 3, 2024
100b498
Merge remote-tracking branch 'origin/update-from-template'
AB-xdev Jun 3, 2024
a96e946
Update update-from-template.yml
AB-xdev Jun 3, 2024
756b2bc
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 3, 2024
8aef498
Update update-from-template.yml
AB-xdev Jun 3, 2024
95142bb
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 3, 2024
e48734d
Update update-from-template.yml
AB-xdev Jun 4, 2024
acd6b4a
Merge branch 'master' into update-from-template-merged
xdev-gh-bot Jun 4, 2024
1a46f89
Update dependency org.apache.maven.plugins:maven-checkstyle-plugin to…
xdev-renovate Jun 6, 2024
03e7968
Merge pull request #78 from xdev-software/master
JohannesRabauer Jun 10, 2024
449c6c2
Merge branch 'develop' into update-from-template
JohannesRabauer Jun 10, 2024
4a674c9
Fixed checkstyle
JohannesRabauer Jun 10, 2024
f3ca20d
Merge pull request #80 from xdev-software/update-from-template
JohannesRabauer Jun 10, 2024
0d2f57d
Merge pull request #79 from xdev-software/renovate/com.mycila-license…
JohannesRabauer Jun 10, 2024
effc517
Merge pull request #86 from xdev-software/renovate/org.apache.maven.p…
JohannesRabauer Jun 10, 2024
ec6c160
Merge pull request #85 from xdev-software/renovate/org.apache.maven.p…
JohannesRabauer Jun 10, 2024
1ff3916
Merge pull request #84 from xdev-software/renovate/org.sonatype.plugi…
JohannesRabauer Jun 10, 2024
616dec1
Merge pull request #83 from xdev-software/renovate/com.puppycrawl.too…
JohannesRabauer Jun 10, 2024
594f398
Merge pull request #87 from xdev-software/renovate/org.apache.maven.p…
JohannesRabauer Jun 10, 2024
89d3567
Merge pull request #82 from xdev-software/renovate/maven-3.x
JohannesRabauer Jun 10, 2024
d026155
Fixed test to throw error
JohannesRabauer Jun 10, 2024
1a75240
Implemented ReentrantReadWriteLock
JohannesRabauer Jun 10, 2024
c498a30
Fixed benchmarks
JohannesRabauer Jun 10, 2024
e7fae7c
Added single method example for benchmark
JohannesRabauer Jun 10, 2024
8df4054
Fixed concurrency issues with Storage
JohannesRabauer Jun 10, 2024
6054695
Added StressTest for changing
JohannesRabauer Jun 10, 2024
549a397
Added Benchmark for changing entities
JohannesRabauer Jun 10, 2024
94ef94d
Extended Benchmark to FindById
JohannesRabauer Jun 11, 2024
6d958e1
Added parallel foreach benchmark
JohannesRabauer Jun 11, 2024
dfc5e90
Reworked EclipseSerialzierCopier to use ThreadLocal<PersistenceManager>
JohannesRabauer Jun 11, 2024
218a428
Restructured findAllById to make it easy to do work concurrently
JohannesRabauer Jun 11, 2024
afcfb2a
Used concurrency where possible (findAllById, existsById, store)
JohannesRabauer Jun 11, 2024
2c38b6a
Optimized ESCopier with Queue instead of ThreadLocal
JohannesRabauer Jun 11, 2024
c4bb255
Created tests and todo-implementation for QueryByExample
JohannesRabauer Jun 11, 2024
aec4757
Extended QueryByExample tests
JohannesRabauer Jun 13, 2024
a780a13
Extended QueryByExample tests
JohannesRabauer Jun 13, 2024
c044869
Implemented basic QueryByExample functionality
JohannesRabauer Jun 13, 2024
3af893f
Implemented FluentQueryByExample
JohannesRabauer Jun 13, 2024
5c7ebcb
Fix for Checkstyle
JohannesRabauer Jun 13, 2024
b4235a7
Added license to one file
JohannesRabauer Jun 14, 2024
cb8720a
Merge pull request #89 from xdev-software/QueryByExample
JohannesRabauer Jun 14, 2024
2b082ef
Fixed synchronized access to storageManager in EclipseStoreStorage
JohannesRabauer Jun 14, 2024
2b6976a
Optimized ReadWriteLock
JohannesRabauer Jun 14, 2024
930e371
Update Article.java
JohannesRabauer Jun 14, 2024
98b458a
Made it possible to have two repositories with the same class/entity
JohannesRabauer Jun 14, 2024
473a8ab
Updated version and changelog
JohannesRabauer Jun 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/.lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignorefile for broken link check
localhost
mvnrepository.com
68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: 🐞 Bug
description: Create a bug report for something that is broken
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thank you for reporting a bug.
Please fill in as much information as possible about your bug so that we don't have to play "information ping-pong" and can help you immediately.
- type: checkboxes
id: checklist
attributes:
label: "Checklist"
options:
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/template-placeholder/releases/latest)"
required: true
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
required: true
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
required: true
- label: "This issue contains only one bug."
required: true

- type: input
id: app-version
attributes:
label: Affected version
description: "In which version did you encounter the bug?"
placeholder: "x.x.x"
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce the bug
description: |
What did you do for the bug to show up?
If you can't cause the bug to show up again reliably (and hence don't have a proper set of steps to give us), please still try to give as many details as possible on how you think you encountered the bug.
placeholder: |
1. Use '...'
2. Do '...'
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: |
Tell us what you expect to happen.
- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
description: |
Tell us what happens with the steps given above.
- type: textarea
id: additional-information
attributes:
label: Additional information
description: |
Any other relevant information you'd like to include
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: 💬 Contact support
url: https://xdev.software/en/services/support
about: "If you need support as soon as possible or/and you can't wait for any pull request"
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: ✨ Feature/Enhancement
description: Suggest a new feature or enhancement
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Thank you for suggesting a new feature/enhancement.
- type: checkboxes
id: checklist
attributes:
label: "Checklist"
options:
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
required: true
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
required: true
- label: "This issue contains only one feature request/enhancement."
required: true

- type: textarea
id: description
attributes:
label: Description
validations:
required: true

- type: textarea
id: additional-information
attributes:
label: Additional information
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ❓ Question
description: Ask a question
labels: [question]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this form!
- type: checkboxes
id: checklist
attributes:
label: "Checklist"
options:
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
required: true
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
required: true

- type: textarea
id: what-is-the-question
attributes:
label: What is/are your question(s)?
validations:
required: true

- type: textarea
id: additional-information
attributes:
label: Additional information
description: "Any other information you'd like to include - for instance logs, screenshots, etc."
38 changes: 38 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Default
## Required for template
- name: bug
description: "Something isn't working"
color: 'd73a4a'
- name: enhancement
description: New feature or request
color: '#a2eeef'
- name: question
description: Information is requested
color: '#d876e3'
## Others
- name: duplicate
description: This already exists
color: '#cfd3d7'
- name: good first issue
description: Good for newcomers
color: '#7057ff'
- name: help wanted
description: Extra attention is needed
color: '#008672'
- name: invalid
description: "This doesn't seem right"
color: '#e4e669'
# Custom
- name: automated
description: Created by an automation
color: '#000000'
- name: "can't reproduce"
color: '#e95f2c'
- name: customer-requested
description: Was requested by a customer of us
color: '#068374'
- name: stale
color: '#ededed'
- name: waiting-for-response
description: If no response is received after a certain time the issue will be closed
color: '#202020'
43 changes: 43 additions & 0 deletions .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Broken links

on:
workflow_dispatch:
schedule:
- cron: "23 23 * * 0"

permissions:
issues: write

jobs:
link-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- run: mv .github/.lycheeignore .lycheeignore

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1

- name: Find already existing issue
id: find-issue
run: |
echo "number=$(gh issue list -l 'bug' -l 'automated' -L 1 -S 'in:title \"Link Checker Report\"' -s 'open' --json 'number' --jq '.[].number')" >> $GITHUB_OUTPUT
env:
GH_TOKEN: ${{ github.token }}

- name: Close issue if everything is fine
if: env.lychee_exit_code == 0 && steps.find-issue.outputs.number != ''
run: gh issue close -r 'not planned' ${{ steps.find-issue.outputs.number }}
env:
GH_TOKEN: ${{ github.token }}

- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
issue-number: ${{ steps.find-issue.outputs.number }}
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: bug, automated
File renamed without changes.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
pull-requests: write

jobs:
check_code: # Validates the code
check-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -45,9 +45,9 @@ jobs:
exit 1
fi

prepare_release:
prepare-release:
runs-on: ubuntu-latest
needs: [check_code]
needs: [check-code]
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
Expand Down Expand Up @@ -93,8 +93,8 @@ jobs:
release_name: v${{ steps.version.outputs.release }}
commitish: master
body: |
## [Changelog](https://github.com/xdev-software/${{ env.PRIMARY_MAVEN_MODULE }}/blob/develop/CHANGELOG.md#${{ steps.version.outputs.releasenumber }})
See [Changelog#v${{ steps.version.outputs.release }}](https://github.com/xdev-software/${{ env.PRIMARY_MAVEN_MODULE }}/blob/develop/CHANGELOG.md#${{ steps.version.outputs.releasenumber }}) for more information.
## [Changelog](https://github.com/${{ github.repository }}/blob/develop/CHANGELOG.md#${{ steps.version.outputs.releasenumber }})
See [Changelog#v${{ steps.version.outputs.release }}](https://github.com/${{ github.repository }}/blob/develop/CHANGELOG.md#${{ steps.version.outputs.releasenumber }}) for more information.

## Installation
Add the following lines to your pom:
Expand All @@ -106,9 +106,9 @@ jobs:
</dependency>
```

publish_central: # Publish the code to central
publish-maven:
runs-on: ubuntu-latest
needs: [prepare_release]
needs: [prepare-release]
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:

publish-pages:
runs-on: ubuntu-latest
needs: [prepare_release]
needs: [prepare-release]
steps:
- uses: actions/checkout@v4

Expand All @@ -166,9 +166,9 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./${{ env.PRIMARY_MAVEN_MODULE }}/target/site

after_release:
after-release:
runs-on: ubuntu-latest
needs: [publish_central]
needs: [publish-maven]
steps:
- uses: actions/checkout@v4

Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,22 @@ env:
SONARCLOUD_HOST: https://sonarcloud.io

jobs:
sonar:
name: SonarCloud Scan
token-check:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
if: ${{ !(github.event_name == 'pull_request' && startsWith(github.head_ref, 'renovate/')) }}
outputs:
hasToken: ${{ steps.check-token.outputs.has }}
steps:
- id: check-token
run: |
[ -z $SONAR_TOKEN ] && echo "has=false" || echo "has=true" >> "$GITHUB_OUTPUT"
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonar-scan:
runs-on: ubuntu-latest
needs: token-check
if: ${{ needs.token-check.outputs.hasToken }}
steps:
- uses: actions/checkout@v4
with:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Sync labels

on:
push:
branches: develop
paths:
- .github/labels.yml

workflow_dispatch:

permissions:
issues: write

jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: .github/labels.yml

- uses: EndBug/label-sync@v2
with:
config-file: .github/labels.yml
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
PRIMARY_MAVEN_MODULE: ${{ github.event.repository.name }}

jobs:
publish_central: # Publish the code to central
publish-maven:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
Loading