Skip to content

Commit

Permalink
Upgrade to TypeDB Driver 2.26.6 and migrate to hosting with CloudSmith
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingsilverfin committed Mar 15, 2024
1 parent 720af7c commit 528e01a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ To connect to TypeDB Cluster, a set of options is provided:

Ranges are [inclusive, inclusive].

| TypeDB Loader | TypeDB Driver (internal) | TypeDB | TypeDB Cluster |
| TypeDB Loader | TypeDB Driver (internal) | TypeDB | TypeDB Cloud |
|:-------------:|:------------------------:|:---------------:|:---------------:|
| 1.9.0 | 2.26.6 | 2.25.x - | 2.25.x - |
| 1.8.0 | 2.25.6 | 2.25.x - | 2.25.x - |
| 1.7.0 | 2.18.1 | 2.18.x 2.23.x | 2.18.x 2.23.x |
| 1.6.0 | 2.14.2 | 2.14.x - 2.17.x | 2.14.x - 2.16.x |
Expand All @@ -175,6 +176,12 @@ Ranges are [inclusive, inclusive].
Find the Readme for GraMi for grakn <
2.0 [here](https://github.com/bayer-science-for-a-better-life/grami/blob/b3d6d272c409d6c40254354027b49f90b255e1c3/README.md)

### Package hosting
Package repository hosting is graciously provided by [Cloudsmith](https://cloudsmith.com).
Cloudsmith is the only fully hosted, cloud-native, universal package management solution, that
enables your organization to create, store and share packages in any format, to any place, with total
confidence.

## Contributions

TypeDB Loader was built @[Bayer AG](https://www.bayer.com/) in the Semantic and Knowledge Graph Technology Group with
Expand Down
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ plugins {
}

group 'com.vaticle.typedb-osi'
version '1.8.0'
version '1.9.0'

repositories {
mavenCentral()
maven {
url "https://repo.vaticle.com/repository/maven/"
url "https://repo.typedb.com/public/public-release/maven/"
}
}

dependencies {
implementation("com.vaticle.typedb:typedb-driver:2.25.6")
implementation("com.vaticle.typeql:typeql-lang:2.25.0")
implementation("com.vaticle.typedb:typedb-driver:2.26.6")
implementation("com.vaticle.typeql:typeql-lang:2.26.6")
implementation("com.google.code.gson:gson:2.8.6")
implementation("org.slf4j:slf4j-api:1.7.25")
implementation("org.apache.logging.log4j:log4j-api:2.17.1")
Expand All @@ -39,11 +39,11 @@ publishing {
}
repositories {
maven {
name = "VaticleOSIMaven"
url = "https://repo.vaticle.com/repository/osi-maven/"
name = "TypeDBOSI"
url = "https://maven.cloudsmith.io/typedb/osi/"
credentials {
username = System.getenv("REPO_VATICLE_OSI_USERNAME")
password = System.getenv("REPO_VATICLE_OSI_PASSWORD")
username = System.getenv("REPO_TYPEDB_OSI_USERNAME")
password = System.getenv("REPO_TYPEDB_OSI_PASSWORD")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static TypeDBDriver getDriver(LoadOptions options) {
} else {
credential = new TypeDBCredential(options.username, options.password, false);
}
return TypeDB.enterpriseDriver(options.typedbClusterURI, credential);
return TypeDB.cloudDriver(options.typedbClusterURI, credential);
} else {
return TypeDB.coreDriver(options.typedbURI);
}
Expand Down

0 comments on commit 528e01a

Please sign in to comment.