Skip to content

Commit 57fa575

Browse files
committed
Merge branch 'develop' into update-from-template-merged
2 parents 3967f51 + 5ad5a73 commit 57fa575

File tree

567 files changed

+38171
-121
lines changed

Some content is hidden

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

567 files changed

+38171
-121
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ body:
1515
attributes:
1616
label: "Checklist"
1717
options:
18-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/template-placeholder/releases/latest)"
18+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/spring-data-eclipse-store/releases/latest)"
1919
required: true
20-
- 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."
20+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/spring-data-eclipse-store/issues) or [closed](https://github.com/xdev-software/spring-data-eclipse-store/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
2121
required: true
2222
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
2323
required: true

.github/ISSUE_TEMPLATE/enhancement.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
attributes:
1414
label: "Checklist"
1515
options:
16-
- 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."
16+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/spring-data-eclipse-store/issues) or [closed](https://github.com/xdev-software/spring-data-eclipse-store/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1717
required: true
1818
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
1919
required: true

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body:
1212
attributes:
1313
label: "Checklist"
1414
options:
15-
- 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."
15+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/spring-data-eclipse-store/issues) or [closed](https://github.com/xdev-software/spring-data-eclipse-store/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1616
required: true
1717
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
1818
required: true

.github/workflows/antora-build.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Antora Documentation Build
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
ACTIONS_STEP_DEBUG : true
8+
9+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10+
permissions:
11+
contents: read # Read permission for repository contents
12+
pages: write # Write permission for GitHub Pages
13+
id-token: write # Write permission for ID token
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
19+
environment:
20+
name: github-pages
21+
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@v4
25+
26+
- name: Install Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 18
30+
31+
- name: Install Antora and the Antora Lunr Extension
32+
run: npm i antora @antora/lunr-extension
33+
34+
- name: Generate Site
35+
run: npx antora docs/antora-playbook.yml
36+
37+
- name: Setup Pages
38+
uses: actions/configure-pages@v5
39+
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v3
42+
with:
43+
name: site
44+
path: docs/site
45+
46+
- name: Deploy to GitHub Pages
47+
id: deployment
48+
uses: actions/deploy-pages@v4
49+
with:
50+
token: ${{ secrets.GITHUB_TOKEN }}
51+
artifact_name: site

.github/workflows/check-build.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ jobs:
117117
- name: Run PMD
118118
run: ./mvnw -B test pmd:aggregate-pmd-no-fork pmd:check -P pmd -DskipTests -T2C
119119

120-
- name: Run CPD (Copy Paste Detector)
121-
run: ./mvnw -B pmd:aggregate-cpd pmd:cpd-check -P pmd -DskipTests -T2C
122-
123120
- name: Upload report
124121
if: always()
125122
uses: actions/upload-artifact@v4
@@ -128,3 +125,20 @@ jobs:
128125
if-no-files-found: ignore
129126
path: |
130127
target/reports/**
128+
129+
docs:
130+
runs-on: ubuntu-latest
131+
132+
steps:
133+
- uses: actions/checkout@v4
134+
135+
- name: Install Node.js
136+
uses: actions/setup-node@v4
137+
with:
138+
node-version: 18
139+
140+
- name: Install Antora and the Antora Lunr Extension
141+
run: npm i antora @antora/lunr-extension
142+
143+
- name: Generate Site
144+
run: npx antora docs/antora-playbook.yml

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ hs_err_pid*
6161
.flattened-pom.xml
6262
.tern-project
6363

64+
# EclipseStore
65+
spring-data-eclipse-store/storage
66+
spring-data-eclipse-store-demo/storage
67+
spring-data-eclipse-store-demo/storage-person
68+
spring-data-eclipse-store-demo/storage-invoice
69+
spring-data-eclipse-store-demo/storage-complex
70+
spring-data-eclipse-store-demo/storage-lazy
71+
spring-data-eclipse-store-jpa/storage-eclipsestore
72+
spring-data-eclipse-store-jpa/storage-h2.mv.db
73+
spring-data-eclipse-store-jpa/storage-h2.trace.db
74+
6475
# == IntelliJ ==
6576
*.iml
6677
*.ipr

.run/Run Benchmark.run.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Benchmark" type="Application" factoryName="Application">
3+
<option name="MAIN_CLASS_NAME" value="software.xdev.spring.data.eclipse.store.benchmark.BenchmarkRunner" />
4+
<module name="spring-data-eclipse-store-benchmark" />
5+
<option name="VM_PARAMETERS" value="--add-opens java.base/java.util=ALL-UNNAMED" />
6+
<extension name="coverage">
7+
<pattern>
8+
<option name="PATTERN" value="software.xdev.spring.data.eclipse.store.benchmark.benchmarks.simple.user.*" />
9+
<option name="ENABLED" value="true" />
10+
</pattern>
11+
</extension>
12+
<method v="2">
13+
<option name="Make" enabled="true" />
14+
</method>
15+
</configuration>
16+
</component>

.run/Run Complex Demo.run.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Complex Demo" type="Application" factoryName="Application">
3+
<option name="MAIN_CLASS_NAME" value="software.xdev.spring.data.eclipse.store.demo.complex.ComplexDemoApplication" />
4+
<module name="spring-data-eclipse-store-demo" />
5+
<option name="VM_PARAMETERS" value="--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED" />
6+
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
7+
<extension name="coverage">
8+
<pattern>
9+
<option name="PATTERN" value="software.xdev.*" />
10+
<option name="ENABLED" value="true" />
11+
</pattern>
12+
</extension>
13+
<method v="2">
14+
<option name="Make" enabled="true" />
15+
</method>
16+
</configuration>
17+
</component>

.run/Run Dual Storage Demo.run.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Dual Storage Demo" type="Application" factoryName="Application">
3+
<option name="MAIN_CLASS_NAME" value="software.xdev.spring.data.eclipse.store.demo.dual.storage.DualStorageDemoApplication" />
4+
<module name="spring-data-eclipse-store-demo" />
5+
<option name="VM_PARAMETERS" value="--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.time=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED" />
6+
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
7+
<extension name="coverage">
8+
<pattern>
9+
<option name="PATTERN" value="software.xdev.*" />
10+
<option name="ENABLED" value="true" />
11+
</pattern>
12+
</extension>
13+
<method v="2">
14+
<option name="Make" enabled="true" />
15+
</method>
16+
</configuration>
17+
</component>

.run/Run Demo.run.xml renamed to .run/Run JPA Demo.run.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<component name="ProjectRunConfigurationManager">
2-
<configuration default="false" name="Run Demo" type="Application" factoryName="Application">
3-
<option name="MAIN_CLASS_NAME" value="software.xdev.Application" />
4-
<module name="template-placeholder-demo" />
2+
<configuration default="false" name="Run JPA Demo" type="Application" factoryName="Application">
3+
<option name="MAIN_CLASS_NAME" value="software.xdev.spring.data.eclipse.store.jpa.JpaDemoApplication" />
4+
<module name="spring-data-eclipse-store-jpa" />
55
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
66
<extension name="coverage">
77
<pattern>

.run/Run Simple Demo.run.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Run Simple Demo" type="Application" factoryName="Application">
3+
<option name="MAIN_CLASS_NAME" value="software.xdev.spring.data.eclipse.store.demo.simple.SimpleDemoApplication" />
4+
<module name="spring-data-eclipse-store-demo" />
5+
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
6+
<extension name="coverage">
7+
<pattern>
8+
<option name="PATTERN" value="software.xdev.*" />
9+
<option name="ENABLED" value="true" />
10+
</pattern>
11+
</extension>
12+
<method v="2">
13+
<option name="Make" enabled="true" />
14+
</method>
15+
</configuration>
16+
</component>

CHANGELOG.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# 2.5.2
2+
* Migrated deployment to _Sonatype Maven Central Portal_ [#155](https://github.com/xdev-software/standard-maven-template/issues/155)
3+
* Updated dependencies
4+
5+
# 2.5.1
6+
7+
* Simplified configuration injection in ``EclipseStoreRepositoryFactoryBean``.
8+
* Updated EclipseStore to v2.1.1
9+
* Updated org.springframework.boot.version to v3.4.2
10+
11+
# 2.5.0
12+
13+
* Updated org.springframework.boot.version to v3.4.1
14+
* Added support for the [micro-migration-Framework](https://github.com/xdev-software/micro-migration)
15+
16+
# 2.4.1
17+
18+
* Updated EclipseStore to v2.1.0
19+
* Added EclipseStore-Rest-API to tests (storage-restservice-springboot)
20+
21+
# 2.4.0
22+
23+
* Updated org.springframework.boot.version to v3.4.0
24+
* Updated EclipseStore to v2.0.0
25+
* Implemented Lazy Repositories with ``LazyEclipseStoreRepository``
26+
27+
# 2.3.1
28+
29+
* Auto-Fix problems with adding ids to entities with existing data store.
30+
31+
# 2.3.0
32+
33+
* Add support for shutting down the storage during application shutdown
34+
* By default, only enabled when Spring DevTools are active
35+
* This should fix "StorageExceptionInitialization: Active storage for ... already exists" errors during DevTools restart
36+
* Added [Jakarta Bean Validation Constraints](https://jakarta.ee/learn/docs/jakartaee-tutorial/current/beanvalidation/bean-validation/bean-validation.html#_using_jakarta_bean_validation_constraints) with Hibernate validator for entities.
37+
38+
# 2.2.2
39+
40+
* Fixed NPE in EclipseSerializerRegisteringCopier
41+
42+
# 2.2.1
43+
44+
* Fixed release version
45+
46+
# 2.2.0
47+
48+
* Fixed issue with not found migration script (for v2.X)
49+
* Updated org.springframework.boot.version to v3.3.4
50+
51+
# 2.1.0
52+
53+
* Implemented auto-id-generation for UUIDs.
54+
* Implemented composite primary keys.
55+
* Keyword "ignoreCase" now available for queries.
56+
* Implemented ``@Query`` annotation with simple SQL-Selects
57+
58+
# 2.0.1
59+
60+
* Fix for Issue [#131](https://github.com/xdev-software/spring-data-eclipse-store/issues/131)
61+
62+
# 2.0.0
63+
64+
* Restructured root to improve performance with IDs in entities
65+
* Implemented auto migration for older version (<2.0.0).
66+
Added [XDEV MicroMigration](https://github.com/xdev-software/micro-migration) as dependency.
67+
* Updated EclipseStore version to 1.4.0
68+
* Updated Spring to version 3.3.2
69+
70+
# 1.0.10
71+
72+
* Optimistic locking with @Version now possible
73+
74+
# 1.0.9
75+
76+
* Inherited entities with repositories are now realized by reading (finding coherent repositories) and not by writing
77+
* Multiple restarts of the storage at initial startup is now fixed
78+
79+
# 1.0.8
80+
81+
* Entities with same ID are replaced on saved and not added
82+
* Updated Spring to version 3.3.1
83+
84+
# 1.0.7
85+
86+
* QueryByExample now possible
87+
* Performance optimizations
88+
* It's now possible to use multiple repositories with the same class/entity
89+
90+
# 1.0.6
91+
92+
* Fixed problem with missing configuration
93+
94+
# 1.0.5
95+
96+
* Added support for transactions
97+
98+
# 1.0.4
99+
100+
* Added possibility to use multiple storages
101+
* Added Lazy support
102+
103+
# 1.0.3
104+
105+
* Added the EclipseStoreDataImporter to import data from JPA repositories.
106+
* Updated EclipseStore to version 1.2.0
107+
* Updated Spring to version 3.2.3
108+
109+
# 1.0.2
110+
111+
* Added the EclipseStoreCustomRepository which has no methods defined at all.
112+
* EclipseStoreRepository extends the Crud- and PagingAndSorting-Repository (just like the
113+
org.springframework.data.jpa.repository.JpaRepository).
114+
115+
# 1.0.1
116+
117+
* Fix for NullPointerException when storing an entity with Auto-ID and no previous action on the database.
118+
* Provide multiple Repository Interfaces, not only EclipseStoreRepository (e.g. EclipseStoreCrudRepository).
119+
120+
# 1.0.0
121+
122+
* Initial release

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ You should have the following things installed:
3434
* Ensure that the JDK/Java-Version is correct
3535

3636

37-
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/template-placeholder/release.yml?branch=master)](https://github.com/xdev-software/template-placeholder/actions/workflows/release.yml)
37+
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/spring-data-eclipse-store/release.yml?branch=master)](https://github.com/xdev-software/spring-data-eclipse-store/actions/workflows/release.yml)
3838

3939
Before releasing:
40-
* Consider doing a [test-deployment](https://github.com/xdev-software/template-placeholder/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
40+
* Consider doing a [test-deployment](https://github.com/xdev-software/spring-data-eclipse-store/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
4141
* Check the [changelog](CHANGELOG.md)
4242

4343
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes

0 commit comments

Comments
 (0)