Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76241bf

Browse files
authored
[DEVEX-188] Rebrand Client (#294)
1 parentaa2300a commit76241bf

File tree

259 files changed

+1031
-1035
lines changed

Some content is hidden

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

259 files changed

+1031
-1035
lines changed

‎.github/workflows/plugins-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
type:string
99
default:enterprise
1010

11-
esdb_version:
11+
kdb_version:
1212
required:true
1313
type:string
1414

@@ -57,9 +57,9 @@ jobs:
5757
-name:Execute Gradle build
5858
run:./gradlew ci --tests ${{ matrix.test }}Tests
5959
env:
60-
EVENTSTORE_DOCKER_REGISTRY_ENV:docker.eventstore.com
61-
EVENTSTORE_DOCKER_IMAGE_ENV:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
62-
EVENTSTORE_DOCKER_TAG_ENV:${{ inputs.esdb_version }}
60+
KURRENT_DOCKER_REGISTRY_ENV:docker.eventstore.com
61+
KURRENT_DOCKER_IMAGE_ENV:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
62+
KURRENT_DOCKER_TAG_ENV:${{ inputs.kdb_version }}
6363
SECURE:true
6464

6565
-uses:actions/upload-artifact@v4
@@ -97,7 +97,7 @@ jobs:
9797
env:
9898
CONTAINER_REGISTRY:docker.eventstore.com
9999
CONTAINER_IMAGE:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
100-
CONTAINER_IMAGE_VERSION:${{ inputs.esdb_version }}
100+
CONTAINER_IMAGE_VERSION:${{ inputs.kdb_version }}
101101

102102
-name:Generate user certificates
103103
run:docker compose --file configure-user-certs-for-tests.yml up

‎.github/workflows/pull-requests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
uses:./.github/workflows/tests.yml
4444
with:
45-
esdb_version:${{ matrix.version }}
45+
kdb_version:${{ matrix.version }}
4646

4747
plugins-tests:
4848
needs:build
@@ -55,5 +55,5 @@ jobs:
5555

5656
uses:./.github/workflows/plugins-tests.yml
5757
with:
58-
esdb_version:${{ matrix.version }}
58+
kdb_version:${{ matrix.version }}
5959
secrets:inherit

‎.github/workflows/test-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ jobs:
1818
name:Test
1919
uses:./.github/workflows/tests.yml
2020
with:
21-
esdb_version:${{ inputs.version }}
21+
kdb_version:${{ inputs.version }}
2222
runtime_env:${{ inputs.runtime_env }}

‎.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
type:string
88
default:release
99

10-
esdb_version:
10+
kdb_version:
1111
required:true
1212
type:string
1313

@@ -44,9 +44,9 @@ jobs:
4444
-name:Execute Gradle build
4545
run:./gradlew ci --tests ${{ matrix.test }}Tests
4646
env:
47-
EVENTSTORE_DOCKER_REGISTRY_ENV:docker.eventstore.com
48-
EVENTSTORE_DOCKER_IMAGE_ENV:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
49-
EVENTSTORE_DOCKER_TAG_ENV:${{ inputs.esdb_version }}
47+
KURRENT_DOCKER_REGISTRY_ENV:docker.eventstore.com
48+
KURRENT_DOCKER_IMAGE_ENV:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
49+
KURRENT_DOCKER_TAG_ENV:${{ inputs.kdb_version }}
5050

5151
-uses:actions/upload-artifact@v4
5252
if:failure()
@@ -85,9 +85,9 @@ jobs:
8585
-name:Execute Gradle build
8686
run:./gradlew ci --tests ${{ matrix.test }}Tests
8787
env:
88-
EVENTSTORE_DOCKER_REGISTRY_ENV:docker.eventstore.com
89-
EVENTSTORE_DOCKER_IMAGE_ENV:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
90-
EVENTSTORE_DOCKER_TAG_ENV:${{ inputs.esdb_version }}
88+
KURRENT_DOCKER_REGISTRY_ENV:docker.eventstore.com
89+
KURRENT_DOCKER_IMAGE_ENV:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
90+
KURRENT_DOCKER_TAG_ENV:${{ inputs.kdb_version }}
9191
SECURE:true
9292

9393
-uses:actions/upload-artifact@v4
@@ -114,7 +114,7 @@ jobs:
114114
env:
115115
CONTAINER_REGISTRY:docker.eventstore.com
116116
CONTAINER_IMAGE:${{ needs.provide_docker.outputs.docker_repo }}/${{ needs.provide_docker.outputs.docker_container }}
117-
CONTAINER_IMAGE_VERSION:${{ inputs.esdb_version }}
117+
CONTAINER_IMAGE_VERSION:${{ inputs.kdb_version }}
118118

119119
-name:Set up JDK 8
120120
uses:actions/setup-java@v3

‎CODE-OF-CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Contributor Covenant Code of Conduct
22

3-
`EventStoreDB-Client-Java` follows the widely-adopted Contributor Covenant Code of Conduct.
3+
`Kurrent-Client-Java` follows the widely-adopted Contributor Covenant Code of Conduct.
44

55
##Our Pledge
66

‎CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Contributing to`EventStoreDB-Client-Java`
1+
#Contributing to`Kurrent-Client-Java`
22

33
Welcome to the Event Store community, and thank you for contributing! The following guide outlines the basics of how to get involved. Pull requests to update and expand this guide are very welcome!
44

@@ -10,7 +10,7 @@ We want the Event Store community to be as welcoming and inclusive as possible,
1010

1111
###Licensing
1212

13-
`EventStoreDB-Client-Java` is licensed under the[Apache-2.0][apache2] license. By submitting a pull request, you represent that you have right to license your contribution to Event Store Ltd and the community, and that by submitting a patch your contributions are licensed under the Apache-2.0 license.
13+
`Kurrent-Client-Java` is licensed under the[Apache-2.0][apache2] license. By submitting a pull request, you represent that you have right to license your contribution to Event Store Ltd and the community, and that by submitting a patch your contributions are licensed under the Apache-2.0 license.
1414

1515
##Contributing
1616

@@ -22,7 +22,7 @@ Please disclose issues which you believe to be a security threat _by e-mail_ to
2222

2323
Issues may be reported via the[GitHub Repository][github-repo]. When reporting issues, please ensure that you include relevant information which can help diagnose the problem. This includes:
2424

25-
- The version of`EventStoreDB-Client-Java` - including a commit SHA if using a local build
25+
- The version of`Kurrent-Client-Java` - including a commit SHA if using a local build
2626

2727
- The operating system on which the issue is exhibited (on Unix, the output of`uname -a`)
2828

@@ -47,8 +47,8 @@ Please ensure that the following steps have been undertaken before marking pull
4747
- Ensure that commits are atomic units of work, and that the message follows our[Commit Message Template][commit-template]. A good way to do this is to configure your local clone of the repository to use our included template, by running:`git config commit.template .git.commit.template` in the root directory of the clone.
4848

4949

50-
[conduct]:https://github.com/EventStore/EventStoreDB-Client-Java/tree/master/CODE-OF-CONDUCT.md
50+
[conduct]:https://github.com/EventStore/Kurrent-Client-Java/tree/master/CODE-OF-CONDUCT.md
5151
[apache2]:https://www.apache.org/licenses/LICENSE-2.0
52-
[commit-template]:https://github.com/EventStore/EventStoreDB-Client-Java/tree/master/.git.commit.template
53-
[github-repo]:https://github.com/EventStore/EventStoreDB-Client-Java
52+
[commit-template]:https://github.com/EventStore/Kurrent-Client-Java/tree/master/.git.commit.template
53+
[github-repo]:https://github.com/EventStore/Kurrent-Client-Java
5454
[drafts]:https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests#draft-pull-requests

‎README.md

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
#EventStoreDB Client SDK for Java
1+
#KurrentDB Client SDK for Java
22

3-
EventStoreDB is the event-native database, where business events are immutably stored and streamed. Designed for event-sourced, event-driven, and microservices architectures.
3+
KurrentDB is the event-native database, where business events are immutably stored and streamed. Designed for event-sourced, event-driven, and microservices architectures.
44

5-
This repository contains an[EventStoreDB][es] Client SDK written in Java for use with languages on the JVM. It is
5+
This repository contains an[KurrentDB][kurrent] Client SDK written in Java for use with languages on the JVM. It is
66
compatible with Java 8 and above.
77

88
*Note: This client is currently under active development and further API changes are expected. Feedback is very welcome.*
99

1010
##Documentation
11-
* General documentation can be found in[Event Store GRPC Docs].
12-
* The latest stable version Javadoc can be found here:https://eventstore.github.io/EventStoreDB-Client-Java
11+
* General documentation can be found in[Kurrent GRPC Docs].
12+
* The latest stable version Javadoc can be found here:https://kurrent.github.io/Kurrent-Client-Java
1313

1414
##Access to binaries
1515
EventStore Ltd publishes GA (general availability) versions to[Maven Central].
@@ -31,22 +31,21 @@ repositories {
3131

3232
##Developing
3333

34-
The SDK is built using[`Gradle`][gradle]. Integration tests run against a server using Docker, with the[EventStoreDB gRPC
35-
Client Test Container][container].
34+
The SDK is built using[`Gradle`][gradle]. Integration tests run against a server using Docker.
3635

3736
###Run tests
3837

3938
Tests are written using[TestContainers](https://www.testcontainers.org/) and require[Docker](https://www.docker.com/) to be installed.
4039

41-
Specific docker images can be specified via theenviroment variable`EVENTSTORE_IMAGE`.
40+
Specific docker images can be specified via theenvironment variable`EVENTSTORE_IMAGE`.
4241

4342
##Open Telemetry
4443

4544
Tracing is the only telemetry currently exported, specifically for the`Append` and`Subscribe` (Catchup and Persistent) operations.
4645

4746
For more information about Open Telemetry, refer to the[official documentation](https://opentelemetry.io/docs/what-is-opentelemetry/).
4847

49-
##EventStoreDB Server Compatibility
48+
##KurrentDB Server Compatibility
5049

5150
This client is compatible with version`20.6.1` upwards.
5251

@@ -56,7 +55,7 @@ Server setup instructions can be found in the [docs], follow the docker setup fo
5655

5756
The following snippet showcases a simple example where we form a connection, then write and read events from the server.
5857

59-
Note: If testing locally using`--insecure` the url should be`esdb://localhost:2113?tls=false`.
58+
Note: If testing locally using`--insecure` the url should be`kurrentdb://localhost:2113?tls=false`.
6059

6160
```java
6261
classAccountCreated {
@@ -81,19 +80,19 @@ class AccountCreated {
8180
}
8281
```
8382
```java
84-
importcom.eventstore.dbclient.EventStoreDBClient;
85-
importcom.eventstore.dbclient.EventStoreDBClientSettings;
86-
importcom.eventstore.dbclient.EventStoreDBConnectionString;
87-
importcom.eventstore.dbclient.EventData;
88-
importcom.eventstore.dbclient.ReadStreamOptions;
89-
importcom.eventstore.dbclient.ResolvedEvent;
90-
importcom.eventstore.dbclient.WriteResult;
91-
importcom.eventstore.dbclient.ReadResult;
83+
importio.kurrent.dbclient.KurrentDBClient;
84+
importio.kurrent.dbclient.KurrentDBClientSettings;
85+
importio.kurrent.dbclient.KurrentDBConnectionString;
86+
importio.kurrent.dbclient.EventData;
87+
importio.kurrent.dbclient.ReadStreamOptions;
88+
importio.kurrent.dbclient.ResolvedEvent;
89+
importio.kurrent.dbclient.WriteResult;
90+
importio.kurrent.dbclient.ReadResult;
9291

9392
publicclassMain {
9493
publicstaticvoidmain(Stringargs[]) {
95-
EventStoreDBClientSettings setts=EventStoreDBConnectionString.parseOrThrow("esdb://localhost:2113");
96-
EventStoreDBClient client=EventStoreDBClient.create(setts);
94+
KurrentDBClientSettings setts=KurrentDBConnectionString.parseOrThrow("kurrentdb://localhost:2113");
95+
KurrentDBClient client=KurrentDBClient.create(setts);
9796

9897
AccountCreated createdEvent=newAccountCreated();
9998

@@ -134,8 +133,8 @@ This client currently supports creating and getting the result of a continuous p
134133

135134
Create a projection:
136135
```java
137-
EventStoreDbClientSettings setts=EventStoreDBConnectionString.parseOrThrow("esdb://localhost:2113");
138-
EventStoreDBProjectionManagementClient client=EventStoreDBProjectionManagementClient.create(setts);
136+
KurrentDBClientSettings setts=KurrentDBConnectionString.parseOrThrow("kurrentdb://localhost:2113");
137+
KurrentDBProjectionManagementClient client=KurrentDBProjectionManagementClient.create(setts);
139138

140139
client
141140
.createContinuous(PROJECTION_NAME,PROJECTION_JS)
@@ -165,40 +164,39 @@ CountResult result = client
165164
.get();
166165
```
167166

168-
For further details please see[the projection management tests](src/test/java/com/eventstore/dbclient/ProjectionManagementTests.java).
167+
For further details please see[the projection management tests](src/test/java/io/kurrent/dbclient/ProjectionManagementTests.java).
169168

170169
##Support
171170

172-
Information on support can be found on our website:[Event Store Support][support]
171+
Information on support can be found on our website:[Kurrent Support][support]
173172

174173
##Documentation
175174

176-
Documentation forEventStoreDB can be found in the[docs].
175+
Documentation forKurrentDB can be found in the[docs].
177176

178177
Bear in mind that this client is not yet properly documented. We are working hard on a new version of the documentation.
179178

180179
##Security
181180

182-
If you find a vulnerability in our software, please contact us. You can find how to reach out us and report it athttps://www.eventstore.com/security#security
181+
If you find a vulnerability in our software, please contact us. You can find how to reach out us and report it athttps://www.kurrent.io/security#security
183182
Thank you very much for supporting our software.
184183

185184
##Communities
186185

187186
-[Discuss](https://discuss.eventstore.com/)
188-
-[Discord (Event Store)](https://discord.gg/Phn9pmCw3t)
187+
-[Discord (Kurrent)](https://discord.gg/Phn9pmCw3t)
189188

190189
##Contributing
191190

192191
All contributions to the SDK are made via GitHub Pull Requests, and must be licensed under the Apache 2.0 license. Please
193192
review our[Contributing Guide][contributing] and[Code of Conduct][code-of-conduct] for more information.
194193

195-
[es]:https://eventstore.com
194+
[kurrent]:https://kurrent.io
196195
[gradle]:https://gradle.org
197-
[container]:https://github.com/EventStore/EventStore-Client-gRPC-TestData
198-
[contributing]:https://github.com/EventStore/EventStoreDB-Client-Java/tree/master/CONTRIBUTING.md
199-
[code-of-conduct]:https://github.com/EventStore/EventStoreDB-Client-Java/tree/master/CODE-OF-CONDUCT.md
200-
[support]:https://eventstore.com/support/
201-
[docs]:https://developers.eventstore.com/server/v21.6/installation/
196+
[contributing]:https://github.com/EventStore/Kurrent-Client-Java/tree/master/CONTRIBUTING.md
197+
[code-of-conduct]:https://github.com/EventStore/Kurrent-Client-Java/tree/master/CODE-OF-CONDUCT.md
198+
[support]:https://kurrent.io/support/
199+
[docs]:https://developers.eventstore.com/server/v24.6/quick-start/installation/
202200
[discuss]:https://discuss.eventstore.com/
203-
[Maven Central]:https://search.maven.org/artifact/com.eventstore/db-client-java
204-
[Event Store GRPC Docs]:https://developers.eventstore.com/clients/grpc
201+
[Maven Central]:https://search.maven.org/artifact/io.kurrent/db-client-java
202+
[Kurrent GRPC Docs]:https://developers.eventstore.com/clients/grpc

‎build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ allprojects {
1212
}
1313

1414
if (!JavaVersion.current().isJava8Compatible()) {
15-
thrownewException("Java 8 is required to buildEventStoreDB-Client-Java")
15+
thrownewException("Java 8 is required to buildKurrent-Client-Java")
1616
}

‎db-client-java/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ tasks.withType(JavaCompile) {
1818
options.compilerArgs+= ['-Xlint:deprecation','-Xlint:unchecked']
1919
}
2020

21-
group='com.eventstore'
22-
version='5.4.5'
21+
group='io.kurrent'
22+
version='1.0.0'
2323

2424
java {
2525
withJavadocJar()
@@ -196,20 +196,20 @@ javadoc {
196196
publishing {
197197
publications {
198198
mavenJava(MavenPublication) {
199-
artifactId='db-client-java'
199+
artifactId='kurrentdb-client'
200200

201201
from components.java
202202
pom {
203-
name='EventStoreDB Client Java'
203+
name='KurrentDB Client Java'
204204
// packaging 'jar'
205205
// optionally artifactId can be defined here
206-
description='EventStoreDB gRPC Java client'
207-
url='https://eventstore.com'
206+
description='KurrentDB gRPC Java client'
207+
url='https://kurrent.io'
208208

209209
scm {
210-
connection='https://github.com/EventStore/EventStoreDB-Client-Java.git'
211-
developerConnection='https://github.com/EventStore/EventStoreDB-Client-Java.git'
212-
url='https://github.com/EventStore/EventStoreDB-Client-Java'
210+
connection='https://github.com/EventStore/KurrentDB-Client-Java.git'
211+
developerConnection='https://github.com/EventStore/KurrentDB-Client-Java.git'
212+
url='https://github.com/EventStore/KurrentDB-Client-Java'
213213
}
214214

215215
licenses {

‎db-client-java/src/main/java/com/eventstore/dbclient/OptionsWithExpectedRevisionBase.java

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp