Skip to content

Commit c9180fb

Browse files
authored
Improvements to the API conformance criteria (#115)
Signed-off-by: John Mertic <jmertic@linuxfoundation.org>
1 parent 98c6098 commit c9180fb

1 file changed

Lines changed: 30 additions & 16 deletions

File tree

zowe_conformance/test_evaluation_guide_table.md

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ These Zowe Conformance criteria are applicable to the lastest Zowe v1 LTS Releas
6060
<th style="background-color:#AAAAAA">x</th>
6161
<th style="background-color:#AAAAAA"></th>
6262
<th></th>
63-
<td>An application service provides at least one service UI registered with discovery services</td>
63+
<td>The product or applications that extends Zowe API ML must provide at least one API service registered with the Zowe API ML Discovery Service</td>
6464

6565
</tr>
6666
<tr>
@@ -132,7 +132,7 @@ These Zowe Conformance criteria are applicable to the lastest Zowe v1 LTS Releas
132132

133133
</tr>
134134
<tr>
135-
<th style="background-color:#555555" rowspan=8>8</th>
135+
<th style="background-color:#555555" rowspan=9>8</th>
136136
<th style="background-color:#555555"></th>
137137
<th style="background-color:#AAAAAA" colspan=2>Versioned</th>
138138
<th style="background-color:#AAAAAA"></th>
@@ -144,7 +144,7 @@ These Zowe Conformance criteria are applicable to the lastest Zowe v1 LTS Releas
144144
<th style="background-color:#AAAAAA">x</th>
145145
<th style="background-color:#AAAAAA" ></th>
146146
<th></th>
147-
<td> - api/v1/{serviceId} reserved for REST APIs</td>
147+
<td> - api/v1/{serviceId} reserved for REST APIs</td>
148148
</tr>
149149
<tr>
150150
<th style="background-color:#555555">v1</th>
@@ -171,29 +171,36 @@ These Zowe Conformance criteria are applicable to the lastest Zowe v1 LTS Releas
171171
<th style="background-color:#AAAAAA">x</th>
172172
<th style="background-color:#AAAAAA" ></th>
173173
<th></th>
174-
<td> - api/{serviceId} reserved for REST APIs</td>
174+
<td> - api/{serviceId} reserved for REST APIs</td>
175175
</tr>
176176
<tr>
177177
<th style="background-color:#555555">v1</th>
178178
<th style="background-color:#AAAAAA">x</th>
179179
<th style="background-color:#AAAAAA" ></th>
180180
<th></th>
181-
<td> - ui/{serviceId} reserved for UIs</td>
181+
<td> - ui/{serviceId} reserved for UIs</td>
182182
</tr>
183183
<tr>
184184
<th style="background-color:#555555">v1</th>
185185
<th style="background-color:#AAAAAA">x</th>
186186
<th style="background-color:#AAAAAA" ></th>
187187
<th></th>
188-
<td> - ws/{serviceId} reserved for WebSockets</td>
188+
<td> - ws/{serviceId} reserved for WebSockets</td>
189+
</tr>
190+
<tr>
191+
<th style="background-color:#555555">v1</th>
192+
<th style="background-color:#AAAAAA">x</th>
193+
<th style="background-color:#AAAAAA" ></th>
194+
<th></th>
195+
<td> - graphql/{serviceId} reserved for GraphQL APIs</td>
189196
</tr>
190197

191198
<tr>
192-
<th style="background-color:#555555" rowspan=4>9</th>
199+
<th style="background-color:#555555" rowspan=5>9</th>
193200
<th style="background-color:#555555"></th>
194201
<th style="background-color:#AAAAAA" colspan=2>Mark (a) or (b) or (c)</th>
195202
<th style="background-color:#AAAAAA"></th>
196-
<td style="text-align:center">Registration of the service must not be performed by modifying the Zowe runtime directory api-defs folder. Supported methods include:<p style="color:red">(Mark which one applies _a_, _b_, or _c_)</td>
203+
<td style="text-align:center">Registration of the service must not be performed by modifying the Zowe runtime directory api-defs folder. Supported methods include:<p style="color:red">(Mark which one applies _a_, _b_, _c_, or _d_)</td>
197204
</tr>
198205
<tr>
199206
<th style="background-color:#555555">v1</th>
@@ -216,10 +223,17 @@ These Zowe Conformance criteria are applicable to the lastest Zowe v1 LTS Releas
216223
<th></th>
217224
<td>c. Adding the path of a launch component to the <code>instance.env</code> file for the Zowe workspace</td>
218225
</tr>
226+
<tr>
227+
<th style="background-color:#555555">v1</th>
228+
<th style="background-color:#AAAAAA">x</th>
229+
<th style="background-color:#AAAAAA" ></th>
230+
<th></th>
231+
<td>d. Dynamic registration of an application that is NOT lifecycled as a Zowe address space /td>
232+
</tr>
219233

220234
</table>
221235

222-
### API Documentation
236+
### REST API Documentation
223237

224238
<table rules="all">
225239
<thead>
@@ -253,15 +267,15 @@ These Zowe Conformance criteria are applicable to the lastest Zowe v1 LTS Releas
253267
<th style="background-color:#AAAAAA">x</th>
254268
<th style="background-color:#AAAAAA"></th>
255269
<th></th>
256-
<td>Every method of each REST endpoint is documented</td>
270+
<td>Every method of each public REST endpoint is documented</td>
257271
</tr>
258272
<tr>
259273
<th style="background-color:#555555">13</th>
260274
<th style="background-color:#555555">v1</th>
261275
<th style="background-color:#AAAAAA">x</th>
262276
<th style="background-color:#AAAAAA"></th>
263277
<th></th>
264-
<td>Every method of each REST endpoint is demonstrated with an example</td>
278+
<td>Every method of each public REST endpoint is demonstrated with an example</td>
265279
</tr>
266280
<tr>
267281
<th style="background-color:#555555">14</th>
@@ -281,7 +295,7 @@ These Zowe Conformance criteria are applicable to the lastest Zowe v1 LTS Releas
281295
</tr>
282296
</table>
283297

284-
### API Naming and Addressing
298+
### REST API Naming and Addressing
285299

286300
<table rules="all">
287301
<thead>
@@ -337,31 +351,31 @@ These Zowe Conformance criteria are applicable to the lastest Zowe v1 LTS Releas
337351
<th style="background-color:#AAAAAA"></th>
338352
<th style="background-color:#AAAAAA">x</th>
339353
<th></th>
340-
<td>API - Request and response payloads are in JSON or binary data format</td>
354+
<td>REST API - Request and response payloads are in JSON or binary data format</td>
341355
</tr>
342356
<tr>
343357
<th style="background-color:#555555">20</th>
344358
<th style="background-color:#555555">v1</th>
345359
<th style="background-color:#AAAAAA">x</th>
346360
<th style="background-color:#AAAAAA"></th>
347361
<th></th>
348-
<td>API - in JSON format, use relative links, and must not contain schema, hostname, and port. Alternatively, an absolute link can be used, in which case the service must translate the link to the form that goes through the Gateway that is based on the X-Forwarded-* Headers</td>
362+
<td>REST API - in JSON format, use relative links, and must not contain schema, hostname, and port. Alternatively, an absolute link can be used, in which case the service must translate the link to the form that goes through the Gateway that is based on the X-Forwarded-* Headers</td>
349363
</tr>
350364
<tr>
351365
<th style="background-color:#555555">21</th>
352366
<th style="background-color:#555555">v1</th>
353367
<th style="background-color:#AAAAAA">x</th>
354368
<th style="background-color:#AAAAAA"></th>
355369
<th></th>
356-
<td>WebSocket - Service URIs contained in WebSocket messages payload are addressed through the API ML Gateway</td>
370+
<td>WebSocket (if applicable) - Service URIs contained in WebSocket messages payload are addressed through the API ML Gateway</td>
357371
</tr>
358372
<tr>
359373
<th style="background-color:#555555">22</th>
360374
<th style="background-color:#555555">v1</th>
361375
<th style="background-color:#AAAAAA">x</th>
362376
<th style="background-color:#AAAAAA"></th>
363377
<th></th>
364-
<td>UI - The UI uses relative links and does not contain the schema, hostname, and port. Alternatively an absolute link can be used, in which case the service must translate the link to the form that goes through the Gateway that is based on the X-Forwarded-* Headers</td>
378+
<td>UI (if applicable) - The UI uses relative links and does not contain the schema, hostname, and port. Alternatively an absolute link can be used, in which case the service must translate the link to the form that goes through the Gateway that is based on the X-Forwarded-* Headers</td>
365379
</tr>
366380
</table>
367381

0 commit comments

Comments
 (0)