Skip to content

Commit

Permalink
Merge pull request #804 from kaleido-io/identity
Browse files Browse the repository at this point in the history
Move all identity APIs under /namespaces
  • Loading branch information
peterbroadhurst authored Jun 1, 2022
2 parents 5ed34e3 + f15ac92 commit 698e8b3
Show file tree
Hide file tree
Showing 117 changed files with 3,965 additions and 1,695 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
BEGIN;
DROP INDEX identities_did;
CREATE UNIQUE INDEX identities_did ON identities(did);

DROP INDEX verifiers_value;
CREATE UNIQUE INDEX verifiers_value ON verifiers(vtype, value);
COMMIT;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
BEGIN;
DROP INDEX identities_did;
CREATE UNIQUE INDEX identities_did ON identities(namespace, did);

DROP INDEX verifiers_value;
CREATE UNIQUE INDEX verifiers_value ON verifiers(namespace, vtype, value);
COMMIT;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
DROP INDEX identities_did;
CREATE UNIQUE INDEX identities_did ON identities(did);

DROP INDEX verifiers_value;
CREATE UNIQUE INDEX verifiers_value ON verifiers(vtype, value);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
DROP INDEX identities_did;
CREATE UNIQUE INDEX identities_did ON identities(namespace, did);

DROP INDEX verifiers_value;
CREATE UNIQUE INDEX verifiers_value ON verifiers(namespace, vtype, value);
23 changes: 18 additions & 5 deletions docs/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,12 +637,26 @@ nav_order: 2

|Key|Description|Type|Default Value|
|---|-----------|----|-------------|
|defaultKey|A default signing key for blockchain transactions within this namespace|`string`|`<nil>`
|description|A description for the namespace|`string`|`<nil>`
|mode|The namespace mode. Valid values: gateway, multiparty|`string`|`<nil>`
|name|The name of the namespace (must be unique)|`string`|`<nil>`
|plugins|The list of plugins for this namespace|`string`|`<nil>`
|remoteName|The namespace name to be sent in plugin calls, if it differs from namespace name|`string`|`<nil>`

## namespaces.predefined[].multiparty

|Key|Description|Type|Default Value|
|---|-----------|----|-------------|
|enabled|Enables multi-party mode for this namespace (defaults to true if an org name or key is configured, either here or at the root level)|`boolean`|`<nil>`

## namespaces.predefined[].multiparty.org

|Key|Description|Type|Default Value|
|---|-----------|----|-------------|
|description|A description for the local root organization within this namespace|`string`|`<nil>`
|key|The signing key allocated to the root organization within this namespace|`string`|`<nil>`
|name|A short name for the local root organization within this namespace|`string`|`<nil>`

## node

|Key|Description|Type|Default Value|
Expand Down Expand Up @@ -677,10 +691,9 @@ nav_order: 2

|Key|Description|Type|Default Value|
|---|-----------|----|-------------|
|description|A description of the organization to which this FireFly node belongs|`string`|`<nil>`
|identity|`DEPRECATED` Please use `org.key` instead|`string`|`<nil>`
|key|The signing identity allocated to the organization (can be the same as the nodes)|`string`|`<nil>`
|name|The name of the organization to which this FireFly node belongs|`string`|`<nil>`
|description|A description of the organization to which this FireFly node belongs (deprecated - should be set on each multi-party namespace instead)|`string`|`<nil>`
|key|The signing key allocated to the organization (deprecated - should be set on each multi-party namespace instead)|`string`|`<nil>`
|name|The name of the organization to which this FireFly node belongs (deprecated - should be set on each multi-party namespace instead)|`string`|`<nil>`

## plugins

Expand Down
Loading

0 comments on commit 698e8b3

Please sign in to comment.