Skip to content

Conversation

vmax
Copy link
Contributor

@vmax vmax commented Aug 13, 2019

What is the goal of this PR?

Operations with keyspaces need to be authenticated with username/password in enterprise version. In order to support that, protocol needs to be changed. Additionally, RPC method to create keyspace is now obsolete and needs to be removed.

What are the changes implemented in this PR?

  • Remove create RPC method as well as Create.Req/Create.Res
  • Accept username and password in Retrieve.Req and Delete.Req

@vmax vmax requested a review from marco-scoppetta August 13, 2019 15:53
vmax added a commit to typedb/typedb that referenced this pull request Aug 14, 2019
## What is the goal of this PR?

typedb/typedb-protocol#7 obsoletes `create` RPC method from `KeyspaceService`. This PR prepares Grakn Core for this change.

## What are the changes implemented in this PR?

Remove dummy method implementation
@vmax vmax merged commit 8874097 into typedb:master Aug 14, 2019
@vmax vmax deleted the keyspace-authenticated-ops branch August 14, 2019 11:09
vmax added a commit to typedb/typedb-driver that referenced this pull request Aug 14, 2019
## What is the goal of this PR?

Recent changes in protocol (typedb/typedb-protocol#7) allow keyspace operations to be authenticated. This PR adapts Grakn Client Java to these recent changes.

## What are the changes implemented in this PR?

- Builder methods in `RequestBuilder.Keyspace` now accept `username` and `password`
- `Keyspaces` constructor now accepts `username` and `password`
- Bump `@graknlabs_protocol` to latest version
vmax added a commit to typedb/typedb-driver-nodejs that referenced this pull request Aug 14, 2019
## What is the goal of this PR?

Recent changes in protocol (typedb/typedb-protocol#7) allow keyspace operations to be authenticated. This PR adapts Grakn Client NodeJS to these recent changes.

## What are the changes implemented in this PR?

- `KeyspaceService.retrieve` and `KeyspaceService.delete` now properly set credentials
- Bump `@graknlabs_protocol` and `@graknlabs_grakn_core` to latest version
vmax added a commit to typedb/typedb-driver-python that referenced this pull request Aug 20, 2019
## What is the goal of this PR?

Recent changes in protocol (typedb/typedb-protocol#7) allow keyspace operations to be authenticated. This PR adapts Grakn Client Python to these recent changes.

## What are the changes implemented in this PR?

- `KeyspaceService.retrieve` and `KeyspaceService.delete` now properly set credentials
- Bump `@graknlabs_protocol` and `@graknlabs_grakn_core` to latest version
@lolski lolski added this to the 1.0.1 milestone Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants