Skip to content

Commit c68047f

Browse files
authored
Rename to geldata and update github actions (#58)
1 parent a6e7638 commit c68047f

File tree

280 files changed

+1330
-1149
lines changed

Some content is hidden

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

280 files changed

+1330
-1149
lines changed

.github/workflows/gradle.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
if: ${{ github.event_name != 'pull_request' && ( (vars.runReleaseOnPush || 'true') == 'true' || contains(github.event.head_commit.message, '[release]') ) }}
5050
needs: build
5151
env:
52-
HAS_CREDENTIALS: ${{ secrets.signingKey != '' && secrets.signingPassword != '' && secrets.sonatypeUsername != '' && secrets.sonatypePassword != '' }}
52+
HAS_CREDENTIALS: ${{ secrets.signingKey != '' && secrets.signingPassword != '' && secrets.SONATYPE_USERNAME_GEL != '' && secrets.SONATYPE_PASSWORD_GEL != '' }}
5353
steps:
5454
- name: Validate repository secrets for publish
5555
if: ${{ env.HAS_CREDENTIALS != 'true' }}
5656
run: |
5757
echo '### Release Failed ❌' >> $GITHUB_STEP_SUMMARY
58-
echo 'This repository does not have all required secrets: signingKey, signingPassword, sonatypeUsername or sonatypePassword).' >> $GITHUB_STEP_SUMMARY
59-
echo "::error::This repository does not have all required secrets: signingKey, signingPassword, sonatypeUsername or sonatypePassword)."
58+
echo 'This repository does not have all required secrets: signingKey, signingPassword, SONATYPE_USERNAME_GEL or SONATYPE_PASSWORD_GEL).' >> $GITHUB_STEP_SUMMARY
59+
echo "::error::This repository does not have all required secrets: signingKey, signingPassword, SONATYPE_USERNAME_GEL or SONATYPE_PASSWORD_GEL)."
6060
exit -1
6161
- uses: actions/checkout@v3
6262
with:
@@ -77,5 +77,5 @@ jobs:
7777
env:
7878
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.signingKey }}
7979
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.signingPassword }}
80-
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.sonatypeUsername }}
81-
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.sonatypePassword }}
80+
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME_GEL }}
81+
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD_GEL }}

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ The Java binding is distrubuted via maven central:
2020

2121
#### Gradle
2222
```groovy
23-
implementation 'com.gel:driver:0.4.0'
23+
implementation 'com.geldata:driver:0.4.0'
2424
```
2525

2626
#### Maven
2727
```xml
2828
<dependency>
29-
<groupId>com.gel</groupId>
29+
<groupId>com.geldata</groupId>
3030
<artifactId>driver</artifactId>
3131
<version>0.4.0</version>
3232
</dependency>
@@ -36,7 +36,7 @@ implementation 'com.gel:driver:0.4.0'
3636

3737
```scala
3838
libraryDependencies ++= Seq(
39-
"com.gel" % "driver" % "0.4.0"
39+
"com.geldata" % "driver" % "0.4.0"
4040
)
4141
```
4242

@@ -45,7 +45,7 @@ libraryDependencies ++= Seq(
4545
The `GelClientPool` class contains all the methods necessary to interact with the Gel database.
4646

4747
```java
48-
import com.gel.driver.GelClientPool;
48+
import com.geldata.driver.GelClientPool;
4949

5050
void main() {
5151
var clientPool = new GelClientPool();
@@ -59,7 +59,7 @@ The `GelClientPool` uses `CompletionStage` for asynchronous operations, allowing
5959
to integrate it with your favorite asynchronous frameworks
6060

6161
```java
62-
import com.gel.driver.GelClientPool;
62+
import com.geldata.driver.GelClientPool;
6363
import reactor.core.publisher.Mono;
6464

6565
void main() {
@@ -75,7 +75,7 @@ This also means it plays nicely with other JVM language that support asynchronou
7575

7676
```kotlin
7777

78-
import com.gel.driver.GelClientPool
78+
import com.geldata.driver.GelClientPool
7979
import kotlinx.coroutines.future.await
8080
import kotlinx.coroutines.runBlocking
8181

@@ -92,7 +92,7 @@ fun main() {
9292

9393
```scala
9494

95-
import com.gel.driver.GelClientPool
95+
import com.geldata.driver.GelClientPool
9696
import scala.jdk.FutureConverters.*
9797

9898
object Main extends App {

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ext {
88
project_version = '0.4.0-SNAPSHOT'
99
github_org = 'geldata'
1010
project_name = 'gel-java'
11-
artifact_group = 'com.gel'
11+
artifact_group = 'com.geldata'
1212
project_description = 'Java binding for Gel'
1313
project_url = "https://geldata.com"
1414
project_jdk = '11'
@@ -103,7 +103,7 @@ allprojects {
103103
}
104104

105105
subprojects {
106-
archivesBaseName = "com.gel.$project.name"
106+
archivesBaseName = "com.geldata.$project.name"
107107

108108
tasks.withType(Javadoc).configureEach {
109109
title = "$archivesBaseName ${version} API"

docs/datatypes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The Java binding maps the following Gel types to corresponding JVM types:
1313
+------------------------------------+---------------------------------------------------------+
1414
| :eql:type:`array` | ``T[]`` |
1515
+------------------------------------+---------------------------------------------------------+
16-
| :eql:type:`anytuple` | ``com.gel.driver.datatypes.Tuple`` |
16+
| :eql:type:`anytuple` | ``com.geldata.driver.datatypes.Tuple`` |
1717
+------------------------------------+---------------------------------------------------------+
1818
| :eql:type:`anyenum` | ``enum`` |
1919
+------------------------------------+---------------------------------------------------------+
@@ -31,7 +31,7 @@ The Java binding maps the following Gel types to corresponding JVM types:
3131
+------------------------------------+---------------------------------------------------------+
3232
| :eql:type:`cal::local_datetime` | ``java.time.LocalDateTime`` |
3333
+------------------------------------+---------------------------------------------------------+
34-
| :eql:type:`cal::relative_duration` | ``com.gel.driver.datatypes.RelativeDuration`` [#f1]_ |
34+
| :eql:type:`cal::relative_duration` | ``com.geldata.driver.datatypes.RelativeDuration`` [#f1]_|
3535
+------------------------------------+---------------------------------------------------------+
3636
| :eql:type:`datetime` | ``java.time.OffsetDateTime`` [#f2]_ |
3737
+------------------------------------+---------------------------------------------------------+
@@ -51,11 +51,11 @@ The Java binding maps the following Gel types to corresponding JVM types:
5151
+------------------------------------+---------------------------------------------------------+
5252
| :eql:type:`decimal` | ``java.math.BigDecimal`` |
5353
+------------------------------------+---------------------------------------------------------+
54-
| :eql:type:`json` | ``com.gel.driver.datatypes.Json`` |
54+
| :eql:type:`json` | ``com.geldata.driver.datatypes.Json`` |
5555
+------------------------------------+---------------------------------------------------------+
5656
| :eql:type:`uuid` | ``UUID`` |
5757
+------------------------------------+---------------------------------------------------------+
58-
| :eql:func:`range` | ``com.gel.driver.datatypes.Range`` |
58+
| :eql:func:`range` | ``com.geldata.driver.datatypes.Range`` |
5959
+------------------------------------+---------------------------------------------------------+
6060

6161
.. [#f1] ``Period`` and ``Duration`` are implicitly

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ project.
3333
:caption: Maven
3434

3535
<dependency>
36-
<groupId>com.gel</groupId>
36+
<groupId>com.geldata</groupId>
3737
<artifactId>driver</artifactId>
3838
</dependency>
3939

4040
.. code-tab:: groovy
4141
:caption: Gradle
4242

43-
implementation 'com.gel:driver'
43+
implementation 'com.geldata:driver'
4444

4545
Once you have the dependency added, you can start using the client. The
4646
following is a simple example of how to connect to an Gel instance and
@@ -51,7 +51,7 @@ execute a query:
5151
.. code-tab:: java
5252
:caption: Futures
5353

54-
import com.gel.driver.GelClientPool;
54+
import com.geldata.driver.GelClientPool;
5555
import java.util.concurrent.CompletableFuture;
5656

5757
public class Main {
@@ -67,7 +67,7 @@ execute a query:
6767
.. code-tab:: java
6868
:caption: Reactor
6969

70-
import com.gel.driver.GelClientPool;
70+
import com.geldata.driver.GelClientPool;
7171
import reactor.core.publisher.Mono;
7272

7373
public class Main {

examples/java-examples/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id 'java'
33
}
44

5-
group 'com.gel'
5+
group 'com.geldata'
66
version '0.0.1-SNAPSHOT'
77

88
repositories {

examples/java-examples/src/main/java/com/gel/examples/AbstractTypes.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
package com.gel.examples;
1+
package com.geldata.examples;
22

3-
import com.gel.driver.GelClientPool;
4-
import com.gel.driver.annotations.GelType;
53
import org.slf4j.Logger;
64
import org.slf4j.LoggerFactory;
75

6+
import com.geldata.driver.GelClientPool;
7+
import com.geldata.driver.annotations.GelType;
8+
89
import java.util.concurrent.CompletionStage;
910

1011
public class AbstractTypes implements Example {

examples/java-examples/src/main/java/com/gel/examples/BasicQueryFunctions.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
package com.gel.examples;
1+
package com.geldata.examples;
22

3-
import com.gel.driver.GelClientPool;
43
import org.slf4j.Logger;
54
import org.slf4j.LoggerFactory;
65

6+
import com.geldata.driver.GelClientPool;
7+
78
import java.util.concurrent.CompletionStage;
89

910
public final class BasicQueryFunctions implements Example {

examples/java-examples/src/main/java/com/gel/examples/CustomDeserializer.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
package com.gel.examples;
1+
package com.geldata.examples;
22

3-
import com.gel.driver.GelClientPool;
4-
import com.gel.driver.annotations.GelDeserializer;
5-
import com.gel.driver.annotations.GelName;
6-
import com.gel.driver.annotations.GelType;
73
import org.slf4j.Logger;
84
import org.slf4j.LoggerFactory;
95

6+
import com.geldata.driver.GelClientPool;
7+
import com.geldata.driver.annotations.GelDeserializer;
8+
import com.geldata.driver.annotations.GelName;
9+
import com.geldata.driver.annotations.GelType;
10+
1011
import java.util.concurrent.CompletionStage;
1112

1213
public final class CustomDeserializer implements Example {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package com.gel.examples;
2-
3-
import com.gel.driver.GelClientPool;
1+
package com.geldata.examples;
42

53
import java.util.concurrent.CompletionStage;
64

5+
import com.geldata.driver.GelClientPool;
6+
77
public interface Example {
88
CompletionStage<Void> run(GelClientPool clientPool);
99
}

0 commit comments

Comments
 (0)