Skip to content

Commit

Permalink
Update dependencies and VERSION for 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingsilverfin committed Sep 17, 2021
1 parent 5036cea commit 47fb7e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions TypeDBConsole.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private Completers.TreeCompleter getCompleter(TypeDBClient client) {
.forEach(name -> candidates.add(new Candidate(name)));
Completer userNameCompleter = (reader, line, candidates) -> {
client.asCluster().users().all().stream()
.map(User::name)
.map(User::username)
// "admin" user is excluded as it can't be deleted
.filter(name -> name.startsWith(line.word()) && !"admin".equals(name))
.forEach(name -> candidates.add(new Candidate(name)));
Expand Down Expand Up @@ -461,7 +461,7 @@ private boolean runUserList(TypeDBClient client) {
}
TypeDBClient.Cluster clientCluster = client.asCluster();
if (clientCluster.users().all().size() > 0)
clientCluster.users().all().forEach(user -> printer.info(user.name()));
clientCluster.users().all().forEach(user -> printer.info(user.username()));
else printer.info("No users are present on the server.");
return true;
} catch (TypeDBClientException e) {
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.2
2.4.0
2 changes: 1 addition & 1 deletion dependencies/vaticle/artifacts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ def vaticle_typedb_artifact():
artifact_name = "typedb-server-linux-{version}.tar.gz",
tag_source = deployment["artifact.release"],
commit_source = deployment["artifact.snapshot"],
commit = "7dea3d4a6254a8965cc5f9b0d55e094098f7c38c",
commit = "6ed020e52fe379d1100f64511805ed344c7a68db",
)
4 changes: 2 additions & 2 deletions dependencies/vaticle/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def vaticle_dependencies():
git_repository(
name = "vaticle_dependencies",
remote = "https://github.com/vaticle/dependencies",
commit = "7fcd2236cc964d6a87b3aef53b9b528ca9ec9da7", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_dependencies
commit = "69d1fb1f0398b285b51b46391c5b2de45b13789b", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_dependencies
)

def vaticle_typedb_common():
Expand All @@ -35,5 +35,5 @@ def vaticle_typedb_client_java():
git_repository(
name = "vaticle_typedb_client_java",
remote = "https://github.com/vaticle/typedb-client-java",
tag = "2.3.0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_client_java
tag = "2.4.0", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_typedb_client_java
)

0 comments on commit 47fb7e7

Please sign in to comment.