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
if [ -z"$HASH_ALGORITHM" ];then HA_PARAM=""; HASH_ALGORITHM="default";else HA_PARAM="&password-hash-algorithm=$HASH_ALGORITHM";fi
194
198
if [ -z"$HASH_ITERATIONS" ];then HI_PARAM=""; HASH_ITERATIONS="default";else HI_PARAM="&password-hash-iterations=$HASH_ITERATIONS";fi
195
199
echo"Creating $REALM_COUNT realms with $CLIENTS_COUNT clients and $USERS_COUNT users with $HASH_ITERATIONS password-hashing iterations using the $HASH_ALGORITHM algorithm."
Copy file name to clipboardExpand all lines: doc/dataset/modules/ROOT/pages/using-provider.adoc
+38-16Lines changed: 38 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,15 +68,17 @@ To learn more about the tool, see xref:kubernetes-guide::util/task.adoc[] for de
68
68
69
69
You need to call this HTTP REST requests.
70
70
This request is useful for create 10 realms.
71
-
Each realm will contain specified amount of roles, clients, groups and users:
71
+
Each realm will contain a set of roles, clients, groups and users:
72
72
73
73
----
74
74
.../realms/master/dataset/create-realms?count=10
75
75
----
76
76
77
77
=== Create many clients
78
78
79
-
This is request to create 100 new clients in the realm `realm-5` . Each client will have service account enabled and secret like «client_id»-secret (For example `client-156-secret` in case of the client `client-156`):
79
+
This is a request to create 200 new clients in the realm `realm-5`.
80
+
81
+
Each client will have service account enabled and secret like `<client_id>-secret` (For example `client-156-secret` in the case of the client `client-156`):
the user `user-156` will have the password `password-6` as we calculate `i = 156 % 10`.
123
+
102
124
=== Create many groups
103
125
104
126
Groups are created as part of the realm creation.
@@ -115,7 +137,7 @@ With groups-with-hierarchy set to `true` a tree structure of groups is created;
115
137
The default value is 3. With the default value, top level groups will have `groups-count-each-level` subgroups and each subgroup will have `groups-count-each-level` themselves.
116
138
This parameter is active only when `groups-with-hierarchy` is `true`.
117
139
118
-
`groups-count-each-level`:: Number of subgroups each created group will have.
140
+
`groups-count-each-level`:: The Number of subgroups each created group will have.
119
141
This parameter is active only when `groups-with-hierarchy` is `true`.
120
142
121
143
With the default values, only top-level groups are created.
@@ -137,7 +159,7 @@ You can also create groups in an existing realm by invoking the `create-groups`
137
159
138
160
=== Create many events
139
161
140
-
This is request to create 10M new events in the available realms with prefix `realm-`.
162
+
This is a request to create 10M new events in the available realms with prefix `realm-`.
141
163
For example if we have 100 realms like `realm-0`, `realm-1`, ... `realm-99`, it will create 10M events randomly in them
142
164
143
165
----
@@ -146,7 +168,7 @@ For example if we have 100 realms like `realm-0`, `realm-1`, ... `realm-99`, it
146
168
147
169
=== Create many offline sessions
148
170
149
-
This is request to create 10M new offline sessions in the available realms with prefix `realm-`.
171
+
This is a request to create 10M new offline sessions in the available realms with prefix `realm-`.
150
172
For example if we have 100 realms like `realm-0`, `realm-1`, … `realm-99`, it will create 10M events randomly in them
151
173
152
174
----
@@ -178,7 +200,7 @@ For example to create realms with prefix `foo` and with just 1000 hash iteration
@@ -187,7 +209,7 @@ Another example would be, to specify a particular hashing algorithm in combinati
187
209
The configuration is written to the server log when HTTP endpoint is triggered, so you can monitor the progress and what parameters were effectively applied.
188
210
189
211
Note that creation of new objects will automatically start from the next available index.
190
-
For example when you trigger endpoint above for creation many clients and you already had 230 clients in your DB (`client-0`, `client-1`, .. `client-229`), then your HTTP request will start creating clients from `client-230` .
212
+
For example when you trigger endpoint above for creation many clients, and you already had 230 clients in your DB (`client-0`, `client-1`, ... `client-229`), then your HTTP request will start creating clients from `client-230` .
191
213
192
214
=== Check if the task is still running
193
215
@@ -280,7 +302,7 @@ Alternatively, you can create a single organization with a given name:
In this case 1k organizations with each having 500 unmanaged members, 10 identity providers and each identity provider having 3 identity provider mnappers
323
+
This creates 1k organizations with 500 unmanaged members each, 10 identity providers and with identity provider having 3 identity provider mappers.
302
324
303
325
You can also provision data to a specific organization. For instance, to provision
304
326
more identity providers to a specific organization:
@@ -307,7 +329,7 @@ more identity providers to a specific organization:
0 commit comments