Skip to content

Commit e95cb11

Browse files
authored
docs: JR-572: Updates Service Registry getting started with QE feedback (redhat-developer#646)
* docs: JR-572: Updates Service Registry getting started with QE feedback * docs: JR-572: Updates Service Registry getting started with more QE feedback * docs: Adds API Designer guide to top-level README * docs: Adds and updates guide titles in top-level README * docs: JR-572: Updates Service Registry getting started with peer review feedback
1 parent 633b9cb commit e95cb11

File tree

2 files changed

+53
-35
lines changed

2 files changed

+53
-35
lines changed

README.adoc

+9-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
:product-long-registry: OpenShift Service Registry
44
:product-long-connectors: OpenShift Connectors
55
:product-long-rhoas: OpenShift Application Services
6+
:product-long-api-designer: OpenShift API Designer
67

78
= {product} guides and samples
89

@@ -24,17 +25,23 @@
2425

2526
* link:./docs/registry/getting-started-registry/[Getting started with {product-long-registry}]
2627
* link:./docs/registry/access-mgmt-registry[Managing account access in {product-long-registry}]
27-
* link:./docs/registry/rhoas-cli-getting-started-registry[Getting started with the rhoas CLI for {product-long-registry}]
28+
* link:./docs/registry/rhoas-cli-getting-started-registry[Managing {product-long-registry} by using the {product-long-rhoas} CLI]
2829
* link:./docs/registry/quarkus-registry[Using Quarkus applications with Kafka instances and {product-long-registry} instances]
30+
* link:./docs/registry/service-binding-registry[Binding OpenShift applications to {product-long-kafka} and {product-long-registry}]
2931

3032
== {product-long-connectors} guides
3133

3234
* link:./docs/connectors/getting-started-connectors/[Getting started with {product-long-connectors}]
3335
* link:./docs/connectors/rhoas-cli-getting-started-connectors/[Managing {product-long-connectors} by using the {product-long-rhoas} CLI]
3436

37+
== {product-long-api-designer} guides
38+
* link:./docs/api-designer/getting-started-api-designer/[Getting started with {product-long-api-designer}]
39+
3540
== Core guides
3641

37-
* link:./docs/rhoas/rhoas-cli-installation[Installing and configuring the rhoas CLI]
42+
* link:./docs/rhoas/rhoas-cli-installation[Installing and configuring the {product-long-rhoas} CLI]
43+
* link:./docs/rhoas/rhoas-produce-consume[Producing and consuming messages by using the {product-long-rhoas} CLI]
44+
* link:./docs/rhoas/iac_tools_rhoas[Automating deployment and management of Kafka instances in {product-long-kafka}]
3845

3946
== Application examples used in guides
4047

docs/registry/getting-started-registry/README.adoc

+44-33
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ endif::[]
137137
. In the {service-url-registry}[{registry} web console], click *Create {registry} instance*.
138138
. Enter a unique *Instance name*, such as `my-service-registry-instance`.
139139

140-
. Click *Create* to start the creation process for your {registry} instance. The new {registry} instance is listed in the instances table.
140+
. Click *Create* to start the creation process for your {registry} instance. The new {registry} instance is listed on the *{registry} Instances* page.
141141

142142
. When the *Status* is *Ready*, you can start using this {registry} instance. You can use the options icon (three vertical dots) to connect to or delete the instance as needed.
143143

@@ -149,11 +149,11 @@ NOTE: You can see all {registry} instances created by other users in your organi
149149

150150
.Verification
151151
ifdef::qs[]
152-
* Is the new {registry} instance listed in the instances table?
152+
* Is the new {registry} instance listed on the *{registry} Instances* page?
153153
* Is the state of the new {registry} instance shown as *Ready*?
154154
endif::[]
155155
ifndef::qs[]
156-
. Verify that the new {registry} instance is listed in the instances table.
156+
. Verify that the new {registry} instance is listed on the *{registry} Instances* page.
157157
. Verify that the state of the new {registry} instance is shown as *Ready*.
158158
endif::[]
159159

@@ -168,7 +168,7 @@ After you create a {registry} instance, you can upload schema or API content to
168168
* You've created a {registry} instance and the instance is in *Ready* state.
169169

170170
.Procedure
171-
. In the *{registry}* instances page of the web console, select the {registry} instance that you want to upload a schema to.
171+
. On the *{registry} Instances* page of the web console, select the {registry} instance that you want to upload a schema to.
172172
. Click *Upload artifact* and complete the form to define the schema details:
173173
+
174174
[.screencapture]
@@ -177,45 +177,56 @@ image::upload-schema.png[Image of form to upload a schema]
177177
+
178178
* *Group*: Enter an optional unique group name such as `my-org` to organize the artifact in a named collection. Each group contains a logically related set of schemas or API designs, typically managed by a single entity, belonging to a particular application or organization.
179179
+
180-
NOTE: Specifying a group is optional when using the web console, and a `default` group is automatically created.
180+
NOTE: Specifying a group is optional when using the web console, and a `default` group is automatically created.
181181
+
182182
* *ID*: Enter an optional unique ID for this artifact such as `my-ID`. If you do not specify a unique artifact ID, {registry} generates one automatically as a UUID.
183-
* *Type*: Use the default *Auto-Detect* setting to automatically detect the artifact type, or select the artifact type from the drop-down, for example, Avro Schema or OpenAPI.
183+
* *Type*: Use the default *Auto-Detect* setting to automatically detect the artifact type, or select the artifact type from the list, for example, Avro Schema or OpenAPI.
184184
* *Artifact*: Drag and drop or click *Browse* to upload a file. For this example, copy and paste the following simple Avro schema:
185185
+
186186
[source,json,subs="+quotes,attributes"]
187187
----
188188
{
189-
"type": "record",
190-
"namespace": "com.example",
191-
"name": "FullName",
192-
"fields": [
193-
{ "name": "first", "type": "string" },
194-
{ "name": "last", "type": "string" }
195-
]}
189+
"type": "record",
190+
"namespace": "com.example",
191+
"name": "FullName",
192+
"fields": [
193+
{
194+
"name": "first",
195+
"type": "string"
196+
},
197+
{
198+
"name": "last",
199+
"type": "string"
200+
}
201+
]
202+
}
196203
----
197204

198205
. Click *Upload* to complete the operation and display the new artifact details:
199206

200-
* *Info*: Displays the artifact name, group, description, lifecycle status, when created, and last modified.
201-
* *Content*: Displays a read-only view of the full artifact content.
202-
* *Documentation*: (OpenAPI only): Displays automatically-generated REST API documentation.
203-
* *Content Rules*: Displays artifact content rules that you can enable and configure. You can configure a *Validity Rule* or *Compatibility Rule* by selecting the appropriate rule configuration from the drop-down. For details on supported rules, see the https://access.redhat.com/documentation/en-us/red_hat_openshift_service_registry/1[{product-long-registry} user documentation^].
207+
* *Overview* tab:
208+
** *Version metadata*: Displays details such as the artifact name, artifact ID, global ID, content ID, labels, properties, and so on.
209+
** *Content rules*: Displays artifact content rules that you can enable and configure. You can configure a *Validity rule* or *Compatibility rule* by enabling the rule and then selecting the appropriate rule configuration from the list. For details on supported rules, see the https://access.redhat.com/documentation/en-us/red_hat_openshift_service_registry/1[{product-long-registry} user documentation^].
210+
* *Documentation* tab: (OpenAPI only): Displays automatically-generated REST API documentation.
211+
* *Content* tab: Displays a read-only view of the full artifact content.
212+
204213
+
205214
You can now use this schema to serialize and deserialize messages from Kafka client applications.
206215

207-
. On the right of the screen, you can click *Upload new version* to add a new artifact version.
216+
. You can click *Upload new version* to add a new artifact version.
208217

209218
. You can click *Delete* to delete an artifact as needed.
210219
+
211220
IMPORTANT: Deleting an artifact deletes the artifact and all of its versions, and cannot be undone. Artifact versions are immutable and cannot be deleted individually.
212221

222+
. To show the list of artifacts on the *Artifacts* tab, click the _instance-name_ breadcrumb.
223+
213224
.Verification
214225
ifdef::qs[]
215-
* Is the new schema in the *Artifacts* table?
226+
* Is the new schema listed on the *Artifacts* tab?
216227
endif::[]
217228
ifndef::qs[]
218-
* Verify that the new schema is listed in the *Artifacts* table.
229+
* Verify that the new schema is listed on the *Artifacts* tab.
219230
endif::[]
220231

221232
[id="proc-connecting-registry-clients_{context}"]
@@ -228,14 +239,14 @@ To connect your applications or services to a {registry} instance in the web con
228239
* You've created a {registry} instance and the instance is in *Ready* state.
229240

230241
.Procedure
231-
. In the *{registry} Instances* page of the web console, for the instance that you want to connect to, select the options icon (three vertical dots), and click *Connection*.
242+
. On the *{registry} Instances* page of the web console, for the instance that you want to connect to, select the options icon (three vertical dots), and click *Connection*.
232243
. Depending on the client libraries that you want to use, chose the API for your needs:
233244
+
234245
* *Core Registry API* is the most powerful and works with Apicurio client libraries
235246
* *Schema Registry compatibility API* provides compatibility with the Confluent Schema Registry API
236247
* *CNCF Schema Registry API* provides compatibility with the CNCF specification
237248

238-
. In the *Connection* page, copy the *Core Registry API* URL, or one of the other API URLs if you are using a different client, to a secure location. This is the server endpoint that you'll need to connect to this {registry} instance.
249+
. On the *Connection* page, copy the *Core Registry API* URL, or one of the other API URLs if you are using a different client, to a secure location. This is the server endpoint that you'll need to connect to this {registry} instance.
239250
+
240251
ifdef::qs[]
241252
The remainder of this task describes how to create a service account and copy the generated credentials.
@@ -247,10 +258,10 @@ If you want to use the credentials of an _existing_ service account, you can ski
247258
endif::[]
248259

249260

250-
. Under *Service Accounts*, click *Create service account* to generate the credentials that you can use to connect applications to {registry} and Kafka instances.
261+
. Under *Service Accounts*, click *Create service account* to generate the credentials that you can use to connect applications to {registry} and Kafka instances.
251262

252263

253-
. Copy the generated *Client ID* and *Client Secret* to a secure location.
264+
. Copy the generated *Client ID* and *Client secret* to a secure location.
254265
+
255266
IMPORTANT: The generated credentials are displayed only one time. Ensure that you've successfully and securely saved the copied credentials before closing the credentials window.
256267

@@ -263,35 +274,35 @@ NOTE: HTTP Basic authentication is also available for tools and libraries that d
263274
+
264275
You’ll use the service account information that you saved to configure your applications to connect to your {registry} instances later when you're ready.
265276
+
266-
For example, if you plan to use https://github.com/edenhill/kcat[Kcat^] to interact with your Kafka instance and deserialize Avro messages using {registry}, you'll use this information to set your {registry} URL in the client environment variables.
277+
For example, if you plan to use https://github.com/edenhill/kcat[kcat^] to interact with your Kafka instance and deserialize Avro messages using {registry}, you'll use this information to set your {registry} URL in the client environment variables.
267278
+
268279
To review your service account information, reset your credentials, or delete the service account, use the left navigation menu to go to the *Service Accounts* page.
269280

270281
.Verification
271282
ifdef::qs[]
272283
* Did you save the {registry} instance URL to a secure location?
273284
* Did you save the client credentials to a secure location?
274-
* Did you verify that your service account was successfully created in the *Service Accounts* page?
285+
* Did you verify that your service account was successfully created on the *Service Accounts* page?
275286
endif::[]
276287
ifndef::qs[]
277288
. Verify that the {registry} instance URL is saved to a secure location.
278289
. Verify that the client credentials are saved to a secure location.
279-
. Verify that your service account was successfully created in the *Service Accounts* page.
290+
. Verify that your service account was successfully created on the *Service Accounts* page.
280291
endif::[]
281292

282293

283294
[id="proc-setting-service-account-user-roles_{context}"]
284295
== Assigning a role for a service account to access a {registry} instance
285296

286297
[role="_abstract"]
287-
After you create a service account for applications to connect to a {registry} instance, you must also set the appropriate level of access for the new account in the *Access* tab of the {registry} instance. {registry} uses role-based access to enable you to manage how other user accounts and service accounts can interact with the {registry} instance that you create.
298+
After you create a service account for applications to connect to a {registry} instance, you must also set the appropriate level of access for the new account on the *Access* tab of the {registry} instance. {registry} uses role-based access to enable you to manage how other user accounts and service accounts can interact with the {registry} instance that you create.
288299

289300
.Prerequisites
290301
* You've created a {registry} instance and the instance is in *Ready* state.
291302
* You've created a service account that you want to allow to access the running {registry} instance.
292303

293304
.Procedure
294-
. In the *{registry} Instances* page of the web console, click the name of the {registry} instance that you want the service account to access.
305+
. On the *{registry} Instances* page of the web console, click the name of the {registry} instance that you want the service account to access.
295306
. Click the *Access* tab to view the accounts and roles already assigned for this instance.
296307
. Click *Grant access* to assign a role to the service account.
297308
. In the *Account* field, select or enter the service account name that you want to assign the role to.
@@ -300,17 +311,17 @@ After you create a service account for applications to connect to a {registry} i
300311

301312
.Verification
302313
ifdef::qs[]
303-
* Is the new role for the service account listed in the *Access* page of the {registry} instance?
314+
* Is the new role for the service account listed on the *Access* page of the {registry} instance?
304315
endif::[]
305316
ifndef::qs[]
306-
* Verify that the new role for the service account is listed in the *Access* page of the {registry} instance.
317+
* Verify that the new role for the service account is listed on the *Access* page of the {registry} instance.
307318
endif::[]
308319

309320
[role="_additional-resources"]
310321
== Additional resources
311-
* {base-url}{access-mgmt-url-registry}[Managing account access in Red Hat OpenShift Service Registry^]
322+
* {base-url}{access-mgmt-url-registry}[Managing account access in {product-long-registry}^]
312323
* https://access.redhat.com/documentation/en-us/red_hat_openshift_service_registry/1[{product-long-registry} user documentation^]
313-
* https://access.redhat.com/documentation/en-us/red_hat_openshift_streams_for_apache_kafka/1[OpenShift Streams for Apache Kafka user documentation^]
324+
* https://access.redhat.com/documentation/en-us/red_hat_openshift_streams_for_apache_kafka/1[{product-long-kafka} user documentation^]
314325

315326
ifdef::qs[]
316327
[#conclusion]

0 commit comments

Comments
 (0)