You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,11 @@ Have a look at the [mkdocs-material documentation](https://squidfunk.github.io/m
94
94
95
95
</details>
96
96
97
+
## Icons
98
+
99
+
Where possible, please use icons as described on [the material for mkdocs documention](https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/).
100
+
On this page is search function for icons available as well.
With this command, new access conditions can be created.
75
+
76
+
An access condition captures information about WHO gets access to WHAT. In order to specify WHO gets access, use the ``--user`` and / or ``--group`` options. In order to specify WHAT an account get access to, use the ``--read-graph``, ``--write-graph`` and ``--action`` options.`
77
+
78
+
In addition to that, you can specify a name, a description and an ID (all optional).
79
+
80
+
A special case are dynamic access conditions, based on a SPARQL query: Here you have to provide a query with the projection variables `user`, `group``readGraph` and `writeGraph` to create multiple grants at once. You can either provide a query file or a query URL from the query catalog.
81
+
82
+
!!! note
83
+
Queries for dynamic access conditions are copied into the ACL, so changing the query in the query catalog does not change it in the access condition.
This command has two working modes: (1) You can review the access conditions of an actual account - this needs access to keycloak and the access condition API, (2) You can review the access conditions of an imaginary account with a set of freely added groups (what-if-scenario) - this only needs access to the access condition API.
178
+
This command has two working modes: (1) You can review the access conditions of an actual account, (2) You can review the access conditions of an imaginary account with a set of freely added groups (what-if-scenario).
157
179
158
180
The output of the command is a list of grants the account has based on your input and all access conditions loaded in the store. In addition to that, some metadata of the account is shown.
Copy file name to clipboardExpand all lines: docs/automate/cmemc-command-line-interface/command-reference/admin/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ $ cmemc admin status [OPTIONS]
26
26
27
27
This command outputs version and health information of the selected deployment. If the version information cannot be retrieved, UNKNOWN is shown.
28
28
29
-
Additionally, this command informs you in one of these cases: (1) A warning, if the target version of your cmemc client is newer than the version of your backend. (2) A warning, if the ShapeCatalog has a different version than your DataPlatform component. (3) An error, if your Corporate Memory license is expired (grace period). (4) A warning, if your Graph DB license will expire in less than a month.
29
+
Additionally, this command informs you in one of these cases: (1) A warning, if the target version of your cmemc client is newer than the version of your backend. (2) A warning, if the ShapeCatalog has a different version than your Explore component. (3) An error, if your Corporate Memory license is expired (grace period). (4) A warning, if your Graph DB license will expire in less than a month.
30
30
31
31
To get status information of all configured deployments use this command in combination with parallel.
<!-- This file was generated - DO NOT CHANGE IT MANUALLY -->
10
+
11
+
List and apply migration recipes.
12
+
13
+
With this command group, you can check your instance for needed migration activities as well as apply them to your data.
14
+
15
+
Beside an ID and a description, migration recipes have the following metadata: 'First Version' is the first Corporate Memory version, where this recipe is maybe applicable. The recipe will never be applied to a version below this version. 'Tags' is a classification of the recipe with regard to the target data, it migrates.
16
+
17
+
The following tags are important: `system` recipes target data structures which are needed to run the most basic functionality properly. These recipes can and should be applied after each version upgrade. `user` recipes can change user and / or customizing data. `acl` recipes migrate access condition data. `shapes` recipes migrate shape data. `config` recipes migrate configuration data.
18
+
19
+
20
+
## admin migration list
21
+
22
+
List migration recipies.
23
+
24
+
```shell-session title="Usage"
25
+
$ cmemc admin migration list [OPTIONS]
26
+
```
27
+
28
+
29
+
30
+
31
+
This command lists all available migration recipies
32
+
33
+
34
+
35
+
??? info "Options"
36
+
```text
37
+
38
+
--filter <TEXT TEXT>... Filter migration recipes by one of the following
39
+
filter names and a corresponding value: id,
40
+
description, first_version, tag.
41
+
--id-only Lists only IDs. This is useful for piping the IDs
This command executes one or more migration recipes. Each recipe has a check method to determine if a migration is needed. In addition to that, the current component version needs to match the specified first-last-version range of the recipe.
58
+
59
+
Recipes are executed ordered by first_version.
60
+
61
+
Here are some argument examples, in order to see how to use this command: execute `--all``--test-only` will list all needed migrations (but not execute them), execute `--filter` tag system will apply all migrations which target system data, execute bootstrap-data will apply bootstrap-data migration if needed.
62
+
63
+
64
+
65
+
??? info "Options"
66
+
```text
67
+
68
+
--filter <TEXT TEXT>... Filter migration recipes by one of the following
Copy file name to clipboardExpand all lines: docs/automate/cmemc-command-line-interface/command-reference/admin/store/index.md
+28-3Lines changed: 28 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,10 @@ Use ``--remove`` to delete bootstrap data.
63
63
The removal of existing bootstrap data will search for resources which are flagged with the isSystemResource property.
64
64
65
65
66
+
!!! note
67
+
The import part of this command is equivalent to the 'bootstrap-data' migration recipe
68
+
69
+
66
70
67
71
68
72
??? info "Options"
@@ -78,7 +82,7 @@ Use ``--remove`` to delete bootstrap data.
78
82
Backup all knowledge graphs to a ZIP archive.
79
83
80
84
```shell-session title="Usage"
81
-
$ cmemc admin store export [OPTIONS] BACKUP_FILE
85
+
$ cmemc admin store export [OPTIONS] [BACKUP_FILE]
82
86
```
83
87
84
88
@@ -93,8 +97,8 @@ This command will create lots of load on the server. It can take a long time to
93
97
??? info "Options"
94
98
```text
95
99
96
-
--overwrite Overwrite existing files. This is a dangerous option, so use it
97
-
with care.
100
+
--replace Replace existing files. This is a dangerous option, so use it
101
+
with care.
98
102
```
99
103
100
104
## admin store import
@@ -116,3 +120,24 @@ This command will create lots of load on the server. It can take a long time to
116
120
117
121
118
122
123
+
## admin store migrate
124
+
125
+
Migrate configuration resources to the current version.
126
+
127
+
```shell-session title="Usage"
128
+
$ cmemc admin store migrate [OPTIONS]
129
+
```
130
+
131
+
132
+
133
+
134
+
This command serves two purposes: (1) When invoked without an option, it lists all migrateable configuration resources. (2) When invoked with the ``--workspaces`` option, it migrates the workspace configurations to the current version.
135
+
136
+
137
+
138
+
??? info "Options"
139
+
```text
140
+
141
+
--workspaces Migrate workspace configurations to the current version.
0 commit comments