Skip to content

Commit

Permalink
Upgrade to Microstream 08.01.02-MS-GA and the integration with Eclips…
Browse files Browse the repository at this point in the history
…e Store 1.2.0
  • Loading branch information
hrstoyanov authored and romain-grecourt committed Mar 19, 2024
1 parent 03579c4 commit 6fce3df
Show file tree
Hide file tree
Showing 72 changed files with 4,967 additions and 19 deletions.
62 changes: 60 additions & 2 deletions THIRD_PARTY_LICENSES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Fourth Party Runtime Dependencies
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
CDI-API RedHat, Inc., JBoss community
Apache 2.0
Used by: [helidon-health-checks, helidon-integrations-cdi-datasource, helidon-integrations-cdi-datasource-hikaricp, helidon-integrations-cdi-datasource-ucp, helidon-integrations-cdi-delegates, helidon-integrations-cdi-eclipselink, helidon-integrations-cdi-hibernate, helidon-integrations-cdi-jpa, helidon-integrations-cdi-jta, helidon-integrations-cdi-jta-weld, helidon-integrations-cdi-reference-counted-context, helidon-integrations-micrometer-cdi, helidon-integrations-micronaut-cdi, helidon-integrations-micronaut-data, helidon-integrations-microstream-cdi, helidon-integrations-oci-sdk-cdi, helidon-integrations-vault-cdi, helidon-jersey-client, helidon-messaging-aq, helidon-messaging-jms, helidon-messaging-kafka, helidon-messaging-mock, helidon-messaging-wls-jms, helidon-microprofile-config, helidon-microprofile-cors, helidon-microprofile-fault-tolerance, helidon-microprofile-metrics, helidon-microprofile-server, helidon-microprofile-service-common, helidon-microprofile-telemetry, helidon-microprofile-tracing, helidon-microprofile-websocket, weld-se-core]
Used by: [helidon-health-checks, helidon-integrations-cdi-datasource, helidon-integrations-cdi-datasource-hikaricp, helidon-integrations-cdi-datasource-ucp, helidon-integrations-cdi-delegates, helidon-integrations-cdi-eclipselink, helidon-integrations-cdi-hibernate, helidon-integrations-cdi-jpa, helidon-integrations-cdi-jta, helidon-integrations-cdi-jta-weld, helidon-integrations-cdi-reference-counted-context, helidon-integrations-micrometer-cdi, helidon-integrations-micronaut-cdi, helidon-integrations-micronaut-data, helidon-integrations-microstream-cdi, helidon-integrations-eclipsestore-cdi, helidon-integrations-oci-sdk-cdi, helidon-integrations-vault-cdi, helidon-jersey-client, helidon-messaging-aq, helidon-messaging-jms, helidon-messaging-kafka, helidon-messaging-mock, helidon-messaging-wls-jms, helidon-microprofile-config, helidon-microprofile-cors, helidon-microprofile-fault-tolerance, helidon-microprofile-metrics, helidon-microprofile-server, helidon-microprofile-service-common, helidon-microprofile-telemetry, helidon-microprofile-tracing, helidon-microprofile-websocket, weld-se-core]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jakarta CDI API (jakarta.enterprise:jakarta.enterprise.cdi-api)
Copyright 2010, 2016, Red Hat, Inc., and individual contributors
Expand Down Expand Up @@ -1069,7 +1069,7 @@ See full text at the bottom of this document for license: Apache-2.0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jakarta Annotations API Eclipse Foundation
Eclipse Public License 2.0 + GPL v.2 with CPE
Used by: [helidon-bundles-config, helidon-config, helidon-config-hocon, helidon-config-mp, helidon-config-tests-module-mappers-1-base, helidon-config-tests-module-mappers-2-override, helidon-config-tests-module-parsers-1-override, helidon-config-tests-test-bundle, helidon-config-yaml, helidon-config-yaml-mp, helidon-http-encoding, helidon-inject-api, helidon-inject-configdriven-runtime, helidon-inject-configdriven-tests-config, helidon-inject-configdriven-tests-configuredby, helidon-inject-configdriven-tests-configuredby-application, helidon-inject-maven-plugin, helidon-inject-runtime, helidon-inject-tests-interception, helidon-inject-tests-resources-inject, helidon-inject-tests-resources-plain, helidon-inject-tests-tck-jsr330, helidon-inject-tools, helidon-integrations-cdi-datasource, helidon-integrations-cdi-datasource-hikaricp, helidon-integrations-cdi-datasource-ucp, helidon-integrations-cdi-jpa, helidon-integrations-cdi-jta, helidon-integrations-micronaut-cdi-processor, helidon-integrations-micronaut-data, helidon-integrations-microstream-cdi, helidon-integrations-oci-sdk-cdi, helidon-integrations-oci-sdk-tests-test-application, helidon-integrations-oci-sdk-tests-test-module1, helidon-integrations-oci-sdk-tests-test-module2, helidon-integrations-oci-tls-certificates, helidon-jersey-client, helidon-messaging-mock, helidon-microprofile-fault-tolerance, helidon-microprofile-telemetry, weld-se-core]
Used by: [helidon-bundles-config, helidon-config, helidon-config-hocon, helidon-config-mp, helidon-config-tests-module-mappers-1-base, helidon-config-tests-module-mappers-2-override, helidon-config-tests-module-parsers-1-override, helidon-config-tests-test-bundle, helidon-config-yaml, helidon-config-yaml-mp, helidon-http-encoding, helidon-inject-api, helidon-inject-configdriven-runtime, helidon-inject-configdriven-tests-config, helidon-inject-configdriven-tests-configuredby, helidon-inject-configdriven-tests-configuredby-application, helidon-inject-maven-plugin, helidon-inject-runtime, helidon-inject-tests-interception, helidon-inject-tests-resources-inject, helidon-inject-tests-resources-plain, helidon-inject-tests-tck-jsr330, helidon-inject-tools, helidon-integrations-cdi-datasource, helidon-integrations-cdi-datasource-hikaricp, helidon-integrations-cdi-datasource-ucp, helidon-integrations-cdi-jpa, helidon-integrations-cdi-jta, helidon-integrations-micronaut-cdi-processor, helidon-integrations-micronaut-data, helidon-integrations-microstream-cdi, helidon-integrations-eclipsestore-cdi, helidon-integrations-oci-sdk-cdi, helidon-integrations-oci-sdk-tests-test-application, helidon-integrations-oci-sdk-tests-test-module1, helidon-integrations-oci-sdk-tests-test-module2, helidon-integrations-oci-tls-certificates, helidon-jersey-client, helidon-messaging-mock, helidon-microprofile-fault-tolerance, helidon-microprofile-telemetry, weld-se-core]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jakarta Annotations API (jakarta.annotation:jakarta.annotation-api)
Copyright (c) 2009, 2022 Oracle and/or its affiliates. All rights reserved.
Expand Down Expand Up @@ -8305,6 +8305,64 @@ Fourth Party Runtime Dependencies
EPL-2.0
-----------------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
eclipsestore-storage-embedded-configuration Microstream Software
Eclipse Public License 2.0
Used by: [helidon-integrations-eclipsestore]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

1. The following files are available in source code form under the Eclipse Public License at:
https://github.com/eclipsestore/store/
(The EPL license is reproduced below).
2. All past Contributors to the Eclipsestore project disclaim all warranties and
conditions, express and implied, including warranties or conditions of title and
non-infringement, and implied warranties or conditions of merchantability and
fitness for a particular purpose. In addition, such Contributors are not liable
for any damages, including direct, indirect, special, incidental and consequential
damages, such as lost profits.
3. Any provisions of the Oracle license agreement that differ from the Eclipse Public
License are offered by Oracle alone and not by any other party.
_________________________________________________________

Eclipsestore Embedded Storage Configuration (org.eclipse.store:eclipsestore-storage-embedded-configuration)
Copyright (C) 2024 MicroStream Software
--------------------------------------------
See full text at the bottom of this document for license: EPL-2.0
--------------------------------------------
Fourth Party Runtime Dependencies
--------------------------------------------
"Eclipsestore Embedded Storage" (org.eclipse.store:eclipsestore-storage-embedded)
Copyright (C) 2024 MicroStream Software
EPL-2.0
--------------------------------------------
"Eclipsestore Storage" (org.eclipse.store:eclipsestore-storage)
Copyright (C) 2024 MicroStream Software
EPL-2.0
--------------------------------------------
"Eclipsestore Abstract File System - Java NIO" (org.eclipse.store:eclipsestore-afs-nio)
Copyright (C) 2024 MicroStream Software
EPL-2.0
--------------------------------------------
"Eclipsestore Abstract File System" (org.eclipse.store:eclipsestore-afs)
Copyright (C) 2024 MicroStream Software
EPL-2.0
--------------------------------------------
"Eclipsestore Persistence Binary" (org.eclipse.store:eclipsestore-persistence-binary)
Copyright (C) 2024 MicroStream Software
EPL-2.0
--------------------------------------------
"Eclipsestore Persistence" (org.eclipse.store:eclipsestore-persistence)
Copyright (C) 2024 MicroStream Software
EPL-2.0
--------------------------------------------
"Eclipsestore Configuration" (org.eclipse.store:eclipsestore-configuration)
Copyright (C) 2024 MicroStream Software
EPL-2.0
--------------------------------------------
"Eclipsestore Base" (org.eclipse.store:eclipsestore-base)
Copyright (C) 2024 MicroStream Software
EPL-2.0
---------------------------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
microstream-storage-embedded-configuration Microstream Software
Eclipse Public License 2.0
Used by: [helidon-integrations-microstream]
Expand Down
22 changes: 22 additions & 0 deletions all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,28 @@
<artifactId>helidon-integrations-microstream-cache</artifactId>
</dependency>

<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore</artifactId>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-cdi</artifactId>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-health</artifactId>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-metrics</artifactId>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-cache</artifactId>
</dependency>


<dependency>
<groupId>io.helidon.http</groupId>
<artifactId>helidon-http</artifactId>
Expand Down
27 changes: 26 additions & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,32 @@
<artifactId>helidon-integrations-microstream-cache</artifactId>
<version>${helidon.version}</version>
</dependency>

<!-- Eclipse Store -->
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore</artifactId>
<version>${helidon.version}</version>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-cdi</artifactId>
<version>${helidon.version}</version>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-health</artifactId>
<version>${helidon.version}</version>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-metrics</artifactId>
<version>${helidon.version}</version>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-cache</artifactId>
<version>${helidon.version}</version>
</dependency>
<dependency>
<groupId>io.helidon.http</groupId>
<artifactId>helidon-http</artifactId>
Expand Down
27 changes: 26 additions & 1 deletion dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@
<version.lib.microprofile-telemetry-tck>1.0</version.lib.microprofile-telemetry-tck>
<version.lib.microprofile-tracing>3.0</version.lib.microprofile-tracing>
<version.lib.microprofile-lra-api>2.0</version.lib.microprofile-lra-api>
<version.lib.microstream>08.01.01-MS-GA</version.lib.microstream>
<version.lib.microstream>08.01.02-MS-GA</version.lib.microstream>
<version.lib.eclipse-store>1.2.0</version.lib.eclipse-store>
<version.lib.eclipse-serializer>1.2.0</version.lib.eclipse-serializer>
<version.lib.mongodb>4.10.2</version.lib.mongodb>
<version.lib.mssql-jdbc>8.4.1.jre8</version.lib.mssql-jdbc>
<version.lib.mysql-connector-j>8.2.0</version.lib.mysql-connector-j>
Expand Down Expand Up @@ -796,6 +798,29 @@
<version>${version.lib.microstream}</version>
</dependency>

<!-- Eclipse Store related -->
<dependency>
<groupId>org.eclipse.store</groupId>
<artifactId>storage-embedded</artifactId>
<version>${version.lib.eclipse-store}</version>
</dependency>
<dependency>
<groupId>org.eclipse.store</groupId>
<artifactId>storage-embedded-configuration</artifactId>
<version>${version.lib.eclipse-store}</version>
</dependency>
<dependency>
<groupId>org.eclipse.store</groupId>
<artifactId>cache</artifactId>
<version>${version.lib.eclipse-store}</version>
</dependency>
<dependency>
<groupId>org.eclipse.serializer</groupId>
<artifactId>persistence-binary-jdk17</artifactId>
<version>${version.lib.eclipse-serializer}</version>
</dependency>


<!-- Integrations related -->
<dependency>
<groupId>jakarta.persistence</groupId>
Expand Down
1 change: 1 addition & 0 deletions examples/integrations/eclipsestore/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# EclipseStore Integrations Examples
28 changes: 28 additions & 0 deletions examples/integrations/eclipsestore/greetings-mp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# EclipseStore integration example

This example uses EclipseStore to persist the greetings supplied

## Build and run

```shell
mvn package
java -jar target/helidon-examples-integrations-eclipsestore-greetings-mp.jar
```

## Endpoints

Get default greeting message:
```shell
curl -X GET http://localhost:7001/greet
```

Get greeting message for Joe:

```shell
curl -X GET http://localhost:7001/greet/Joe
```

Add a greeting:
```shell
curl -X PUT -H "Content-Type: application/json" -d '{"message" : "Howdy"}' http://localhost:7001/greet/greeting
```
84 changes: 84 additions & 0 deletions examples/integrations/eclipsestore/greetings-mp/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!--
Copyright (c) 2021, 2024 Oracle and/or its affiliates.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.helidon.applications</groupId>
<artifactId>helidon-mp</artifactId>
<version>4.0.0-SNAPSHOT</version>
<relativePath>../../../../applications/mp/pom.xml</relativePath>
</parent>

<artifactId>helidon-examples-integrations-eclipsestore-greetings-mp</artifactId>
<name>Helidon Examples Integration EclipseStore Greetings mp</name>

<dependencies>
<dependency>
<groupId>io.helidon.microprofile.bundles</groupId>
<artifactId>helidon-microprofile</artifactId>
</dependency>
<dependency>
<groupId>io.helidon.integrations.eclipsestore</groupId>
<artifactId>helidon-integrations-eclipsestore-cdi</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.helidon.microprofile.testing</groupId>
<artifactId>helidon-microprofile-testing-junit5</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-libs</id>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.smallrye</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<executions>
<execution>
<id>make-index</id>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 6fce3df

Please sign in to comment.