Graph Extension Configuration
Introduction
The Infinite Scale Graph extension provides a simple graph world API which can be used by clients or other extensions.
Extensions are under development because of the |
Sequence Diagram
The following image gives an overview when a client request to list available spaces the user has access to. To do so, the client is directed with his request automatically via the proxy extension to the graph extension.
Configuration
Environment Variables
The graph
extension is configured via the following environment variables:
Name | Type | Default Value | Description |
---|---|---|---|
|
bool |
false |
|
|
string |
||
|
string |
||
|
string |
||
|
string |
||
|
bool |
false |
|
|
bool |
false |
|
|
string |
||
|
string |
127.0.0.1:9124 |
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed. |
|
string |
Token to secure the metrics endpoint |
|
|
bool |
false |
Enables pprof, which can be used for profiling |
|
bool |
false |
Enables zpages, which can be used for collecting and viewing traces in-me |
|
string |
127.0.0.1:9120 |
|
|
string |
/graph |
|
|
string |
127.0.0.1:9142 |
|
|
string |
||
|
string |
https://localhost:9200 |
|
|
string |
/dav/spaces/ |
|
|
string |
1000000000 |
|
|
bool |
false |
|
|
int |
0 |
|
|
string |
ldap |
|
|
string |
ldaps://localhost:9235 |
|
|
bool |
true |
|
|
string |
uid=libregraph,ou=sysusers,o=libregraph-idm |
|
|
string |
||
|
bool |
false |
|
|
bool |
true |
|
|
string |
ou=users,o=libregraph-idm |
|
|
string |
sub |
|
|
string |
||
|
string |
inetOrgPerson |
|
|
string |
||
|
string |
displayName |
|
|
string |
uid |
|
|
string |
owncloudUUID |
|
|
string |
ou=groups,o=libregraph-idm |
|
|
string |
sub |
|
|
string |
||
|
string |
groupOfNames |
|
|
string |
cn |
|
|
string |
owncloudUUID |
|
|
string |
127.0.0.1:9233 |
the address of the streaming service |
|
string |
ocis-cluster |
the clusterID of the streaming service. Mandatory when using nats |
Since Version: +
added, -
deprecated
YAML Example
# Autogenerated
# Filename: graph-config-example.yaml
tracing:
enabled: false
type: ""
endpoint: ""
collector: ""
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: 127.0.0.1:9124
token: ""
pprof: false
zpages: false
http:
addr: 127.0.0.1:9120
root: /graph
reva:
address: 127.0.0.1:9142
token_manager:
jwt_secret: ""
spaces:
webdav_base: https://localhost:9200
webdav_path: /dav/spaces/
default_quota: "1000000000"
insecure: false
extended_space_properties_cache_ttl: 0
identity:
backend: ldap
ldap:
uri: ldaps://localhost:9235
insecure: true
bind_dn: uid=libregraph,ou=sysusers,o=libregraph-idm
bind_password: ""
use_server_uuid: false
write_enabled: true
user_base_dn: ou=users,o=libregraph-idm
user_search_scope: sub
user_filter: ""
user_objectclass: inetOrgPerson
user_mail_attribute: mail
user_displayname_attribute: displayName
user_name_attribute: uid
user_id_attribute: owncloudUUID
group_base_dn: ou=groups,o=libregraph-idm
group_search_scope: sub
group_filter: ""
group_objectclass: groupOfNames
group_name_attribute: cn
group_id_attribute: owncloudUUID
events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster