Skip to content

Commit c43e1bc

Browse files
authored
feat(client): support TrogonEventStore adoption (#1)
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent 06ed98a commit c43e1bc

315 files changed

Lines changed: 3904 additions & 7487 deletions

File tree

Some content is hidden

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

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @TrogonStack/trogon-eventstore-maintainers
Lines changed: 97 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,97 @@
1-
name: Bug report
2-
description: Help us improve the Java client
3-
labels:
4-
- triage
5-
body:
6-
- type: textarea
7-
id: current-behavior
8-
attributes:
9-
label: 🐛 Current behavior
10-
description: A clear and concise description of what the bug is.
11-
validations:
12-
required: true
13-
- type: textarea
14-
id: reproduction-steps
15-
attributes:
16-
label: 🔍 Steps to reproduce
17-
description: Steps to reproduce the behavior.
18-
placeholder: |
19-
1. Go to ...
20-
2. Click on ...
21-
3. Scroll down to ...
22-
4. See error
23-
24-
You can attach screenshots by dragging and dropping, or selecting and pasting them in the text field.
25-
validations:
26-
required: true
27-
- type: input
28-
id: reproduction-links
29-
attributes:
30-
label: Reproducible link
31-
description: A link to a minimal reproducible example. This could be a GitHub repository, CodeSandbox, or any other online code editor.
32-
placeholder: e.g, github.com/company/repo
33-
validations:
34-
required: true
35-
- type: textarea
36-
id: expected-behavior
37-
attributes:
38-
label: 💭 Expected behavior
39-
description: A clear and concise description of what you expected to happen.
40-
validations:
41-
required: true
42-
- type: input
43-
id: client-version
44-
attributes:
45-
label: Package version
46-
description: What version of the client you're experiencing the issue with.
47-
placeholder: e.g., kurrentdb-client 1.1.2
48-
validations:
49-
required: true
50-
- type: input
51-
id: kurrentdb-version
52-
attributes:
53-
label: KurrentDB Version
54-
description: What version of the database you are using.
55-
placeholder: e.g., KurrentDB v24.10
56-
validations:
57-
required: true
58-
- type: input
59-
id: connection
60-
attributes:
61-
label: Connection string
62-
description: What connection string you're using. Hide and sensitive information if necessary.
63-
placeholder: e.g., kurrentdb://admin:changeit@localhost:2113
64-
validations:
65-
required: true
66-
- type: dropdown
67-
id: deployment-environment
68-
attributes:
69-
label: ☁️ Deployment Environment
70-
description: How is KurrentDB deployed?
71-
options:
72-
- Single-node (Docker)
73-
- Single-node (Bare metal/VM)
74-
- Multi-node cluster (On-prem)
75-
- Multi-node cluster (Cloud)
76-
- Managed KurrentDB Cloud
77-
- Other (please specify below)
78-
validations:
79-
required: true
80-
- type: input
81-
id: deployment-other
82-
attributes:
83-
label: Other Deployment Details
84-
description: If you selected "Other," please specify your deployment setup.
85-
placeholder: e.g., Kubernetes with custom networking
86-
- type: input
87-
id: os
88-
attributes:
89-
label: Operating system
90-
placeholder: e.g., macOS 13.1
91-
- type: checkboxes
92-
attributes:
93-
label: Code of Conduct
94-
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/algolia/.github/blob/main/CODE_OF_CONDUCT.md).
95-
options:
96-
- label: I agree to follow this project's Code of Conduct
97-
required: true
1+
name: Bug report
2+
description: Help us improve the Java client
3+
labels:
4+
- triage
5+
body:
6+
- type: textarea
7+
id: current-behavior
8+
attributes:
9+
label: 🐛 Current behavior
10+
description: A clear and concise description of what the bug is.
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: reproduction-steps
15+
attributes:
16+
label: 🔍 Steps to reproduce
17+
description: Steps to reproduce the behavior.
18+
placeholder: |
19+
1. Go to ...
20+
2. Click on ...
21+
3. Scroll down to ...
22+
4. See error
23+
24+
You can attach screenshots by dragging and dropping, or selecting and pasting them in the text field.
25+
validations:
26+
required: true
27+
- type: input
28+
id: reproduction-links
29+
attributes:
30+
label: Reproducible link
31+
description: A link to a minimal reproducible example. This could be a GitHub repository, CodeSandbox, or any other online code editor.
32+
placeholder: e.g, github.com/company/repo
33+
validations:
34+
required: true
35+
- type: textarea
36+
id: expected-behavior
37+
attributes:
38+
label: 💭 Expected behavior
39+
description: A clear and concise description of what you expected to happen.
40+
validations:
41+
required: true
42+
- type: input
43+
id: client-version
44+
attributes:
45+
label: Package version
46+
description: What version of the client you're experiencing the issue with.
47+
placeholder: e.g., trogon-eventstore-client 1.1.2
48+
validations:
49+
required: true
50+
- type: input
51+
id: kurrentdb-version
52+
attributes:
53+
label: TrogonEventStore Version
54+
description: What version of the database you are using.
55+
placeholder: e.g., TrogonEventStore v24.10
56+
validations:
57+
required: true
58+
- type: input
59+
id: connection
60+
attributes:
61+
label: Connection string
62+
description: What connection string you're using. Hide and sensitive information if necessary.
63+
placeholder: e.g., trogon-eventstore://admin:changeit@localhost:2113
64+
validations:
65+
required: true
66+
- type: dropdown
67+
id: deployment-environment
68+
attributes:
69+
label: ☁️ Deployment Environment
70+
description: How is TrogonEventStore deployed?
71+
options:
72+
- Single-node (Docker)
73+
- Single-node (Bare metal/VM)
74+
- Multi-node cluster (On-prem)
75+
- Multi-node cluster (Cloud)
76+
- Managed TrogonEventStore Cloud
77+
- Other (please specify below)
78+
validations:
79+
required: true
80+
- type: input
81+
id: deployment-other
82+
attributes:
83+
label: Other Deployment Details
84+
description: If you selected "Other," please specify your deployment setup.
85+
placeholder: e.g., Kubernetes with custom networking
86+
- type: input
87+
id: os
88+
attributes:
89+
label: Operating system
90+
placeholder: e.g., macOS 13.1
91+
- type: checkboxes
92+
attributes:
93+
label: Code of Conduct
94+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/algolia/.github/blob/main/CODE_OF_CONDUCT.md).
95+
options:
96+
- label: I agree to follow this project's Code of Conduct
97+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
blank_issues_enabled: false
2-
contact_links:
3-
- name: Feature Request
4-
url: https://github.com/kurrent-io/KurrentDB-Client-Java/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
5-
about: Request a feature to add to the client
6-
- name: Ask a Question
7-
url: https://github.com/kurrent-io/KurrentDB-Client-Java/discussions/new?category=q-a&labels=triage
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Feature Request
4+
url: https://github.com/TrogonStack/TrogonEventStore-Client-Java/discussions/new?category=ideas&labels=triage&title=Feature%20request%3A%20
5+
about: Request a feature to add to the client
6+
- name: Ask a Question
7+
url: https://github.com/TrogonStack/TrogonEventStore-Client-Java/discussions/new?category=q-a&labels=triage
88
about: Ask questions and discuss with other community members.

.github/release-please-config.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"bootstrap-sha": "06ed98a163cbef376b50d0cd195716b8d7e58135",
4+
"signoff": "SHT Bot <61149376+sht-bot@users.noreply.github.com>",
5+
"packages": {
6+
".": {
7+
"release-type": "java",
8+
"package-name": "trogon-eventstore-client",
9+
"component": "trogon-eventstore-client",
10+
"include-component-in-tag": false,
11+
"include-v-in-tag": true,
12+
"skip-snapshot": true,
13+
"pull-request-title-pattern": "chore${scope}: release ${version}",
14+
"extra-files": [
15+
{
16+
"type": "generic",
17+
"path": "build.gradle"
18+
}
19+
],
20+
"bump-minor-pre-major": false,
21+
"bump-patch-for-minor-pre-major": false
22+
}
23+
}
24+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.0.1"
3+
}

.github/workflows/build-docs.yml

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

.github/workflows/build.yml

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

.github/workflows/cherry-pick-pr-for-label.yml

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

.github/workflows/ci.yml

Lines changed: 55 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,55 @@
1-
name: CI
2-
on:
3-
pull_request:
4-
paths-ignore:
5-
- "docs/**"
6-
- "samples/**"
7-
- "**.md"
8-
push:
9-
branches:
10-
- trunk
11-
schedule:
12-
- cron: '0 0 * * 0' # Run every Sunday at midnight UTC
13-
14-
jobs:
15-
build:
16-
uses: ./.github/workflows/build.yml
17-
18-
ci:
19-
name: Tests (CI)
20-
uses: ./.github/workflows/tests.yml
21-
with:
22-
runtime: ci
23-
secrets: inherit
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
name: Java ${{ matrix.java }}
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 20
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
java:
21+
- "17"
22+
- "21"
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
26+
with:
27+
persist-credentials: false
28+
- name: Set up Java
29+
uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.7.1
30+
with:
31+
distribution: temurin
32+
java-version: ${{ matrix.java }}
33+
- name: Set up Gradle
34+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.4
35+
- name: Compile and run unit tests
36+
run: ./gradlew clean compileTestJava ci --tests MiscTests
37+
38+
package:
39+
name: Package
40+
runs-on: ubuntu-latest
41+
timeout-minutes: 15
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
45+
with:
46+
persist-credentials: false
47+
- name: Set up Java
48+
uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.7.1
49+
with:
50+
distribution: temurin
51+
java-version: "21"
52+
- name: Set up Gradle
53+
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.4
54+
- name: Build publication
55+
run: ./gradlew assemble generatePomFileForMavenPublication

0 commit comments

Comments
 (0)