typedb / typedb-console

TypeDB Console: CLI for TypeDB and TypeDB Cluster
https://typedb.com
Mozilla Public License 2.0
7 stars 16 forks source link

Cloud address translation #241

Closed dmitrii-ubskii closed 7 months ago

dmitrii-ubskii commented 7 months ago

Usage and product changes

We allow connection to the cloud servers using an address translation mapping (cf. https://github.com/vaticle/typedb-driver/pull/624). This is useful when the route from the user to the servers differs from the route the servers are configured with (e.g. connection to public-facing servers from an internal network).

Example usage:

console \
    --cloud=typedb1.domain.com:1729=typedb.local:11729,typedb2.domain.com:1729=typedb.local:21729 \
    --username=<user> --password=<password>

or:

console \
    --cloud=typedb1.domain.com:1729=typedb.local:11729 \
    --cloud=typedb2.domain.com:1729=typedb.local:21729 \
    --username=<user> --password=<password>

Note: we currently require that the user provides translation for the addresses of all nodes in the Cloud deployment.

Implementation

We also update the license headers and file from AGPL to MPL 2.0.