View | Details | Raw Unified | Return to ticket 12897 | Differences between
and this patch

Collapse All | Expand All

(-)a/NEWS (+1 lines)
Lines 98-103 documents those changes that are of interest to users and administrators. Link Here
98
 -- openapi/v0.0.38 - added fields bf_table_size and bf_table_size_mean to
98
 -- openapi/v0.0.38 - added fields bf_table_size and bf_table_size_mean to
99
    diag query.
99
    diag query.
100
 -- Handle scontrol setdebug[flags] and scontrol reconfigure in slurmscriptd.
100
 -- Handle scontrol setdebug[flags] and scontrol reconfigure in slurmscriptd.
101
 -- openapi/dbv0.0.38 - split security entries in openapi.json.
101
102
102
* Changes in Slurm 21.08.7
103
* Changes in Slurm 21.08.7
103
==========================
104
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+12 lines)
Lines 109-114 Link Here
109
</tr>
109
</tr>
110
</table>
110
</table>
111
111
112
<h4>Split up token and user</h4>
113
<table class="tchange">
114
<tr class="trchange">
115
	<td class="tdfield">change array values</td>
116
	<td class="tdchange" colspan=2>
117
		<ul>
118
			<li>.security</li>
119
		</ul>
120
	</td>
121
</tr>
122
</table>
123
112
<h3>openapi/v0.0.38 (src/plugins/openapi/v0.0.38/openapi.json)</h3>
124
<h3>openapi/v0.0.38 (src/plugins/openapi/v0.0.38/openapi.json)</h3>
113
125
114
<h4>add plugin</h4>
126
<h4>add plugin</h4>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-3 / +3 lines)
Lines 32-38 Link Here
32
  ],
32
  ],
33
  "security": [
33
  "security": [
34
    {
34
    {
35
      "user": [],
35
      "user": []
36
    },
37
    {
36
      "token": []
38
      "token": []
37
    }
39
    }
38
  ],
40
  ],
39
- 
40
responses
41
responses
41
--
42
NEWS                                          |  1 +
42
NEWS                                          |  1 +
43
.../openapi_release_notes/slurm-22.05.0.html  | 18 +++++
43
.../openapi_release_notes/slurm-22.05.0.html  | 18 +++++
44
src/plugins/openapi/v0.0.38/openapi.json      | 66 +++++++++++++++++++
44
src/plugins/openapi/v0.0.38/openapi.json      | 66 +++++++++++++++++++
45
3 files changed, 85 insertions(+)
45
3 files changed, 85 insertions(+)
(-)a/NEWS (+1 lines)
Lines 99-104 documents those changes that are of interest to users and administrators. Link Here
99
    diag query.
99
    diag query.
100
 -- Handle scontrol setdebug[flags] and scontrol reconfigure in slurmscriptd.
100
 -- Handle scontrol setdebug[flags] and scontrol reconfigure in slurmscriptd.
101
 -- openapi/dbv0.0.38 - split security entries in openapi.json.
101
 -- openapi/dbv0.0.38 - split security entries in openapi.json.
102
 -- openapi/v0.0.38 - Add schema for Slurm meta in responses.
102
103
103
* Changes in Slurm 21.08.7
104
* Changes in Slurm 21.08.7
104
==========================
105
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+18 lines)
Lines 310-315 Link Here
310
</tr>
310
</tr>
311
</table>
311
</table>
312
312
313
<h4>Add meta entry</h4>
314
<table class="tchange">
315
<tr class="trchange">
316
	<td class="tdfield">field added</td>
317
	<td class="tdchange">
318
		<ul>
319
			<li>.components.schemas."v0.0.38_diag".properties.meta</li>
320
			<li>.components.schemas."v0.0.38_pings".properties.meta</li>
321
			<li>.components.schemas."v0.0.38_partitions_response".properties.meta</li>
322
			<li>.components.schemas."v0.0.38_reservations_response".properties.meta</li>
323
			<li>.components.schemas."v0.0.38_job_submission_response".properties.meta</li>
324
			<li>.components.schemas."v0.0.38_jobs_response".properties.meta</li>
325
			<li>.components.schemas."v0.0.38_nodes_response".properties.meta</li>
326
		</ul>
327
	</td>
328
</tr>
329
</table>
330
313
<h3>openapi/v0.0.35 (src/plugins/openapi/v0.0.35/openapi.json)</h3>
331
<h3>openapi/v0.0.35 (src/plugins/openapi/v0.0.35/openapi.json)</h3>
314
332
315
<h4>Removal notice</h4>
333
<h4>Removal notice</h4>
(-)a/src/plugins/openapi/v0.0.38/openapi.json (-2 / +66 lines)
Lines 679-684 Link Here
679
      "v0.0.38_diag": {
679
      "v0.0.38_diag": {
680
        "type": "object",
680
        "type": "object",
681
        "properties": {
681
        "properties": {
682
          "meta": {
683
            "$ref": "#/components/schemas/v0.0.38_meta"
684
          },
682
          "errors": {
685
          "errors": {
683
            "type": "array",
686
            "type": "array",
684
            "description": "slurm errors",
687
            "description": "slurm errors",
Lines 861-866 Link Here
861
      "v0.0.38_pings": {
864
      "v0.0.38_pings": {
862
        "type": "object",
865
        "type": "object",
863
        "properties": {
866
        "properties": {
867
          "meta": {
868
            "$ref": "#/components/schemas/v0.0.38_meta"
869
          },
864
          "errors": {
870
          "errors": {
865
            "type": "array",
871
            "type": "array",
866
            "description": "slurm errors",
872
            "description": "slurm errors",
Lines 1033-1038 Link Here
1033
      "v0.0.38_partitions_response": {
1039
      "v0.0.38_partitions_response": {
1034
        "type": "object",
1040
        "type": "object",
1035
        "properties": {
1041
        "properties": {
1042
          "meta": {
1043
            "$ref": "#/components/schemas/v0.0.38_meta"
1044
          },
1036
          "errors": {
1045
          "errors": {
1037
            "type": "array",
1046
            "type": "array",
1038
            "description": "slurm errors",
1047
            "description": "slurm errors",
Lines 1142-1147 Link Here
1142
      "v0.0.38_reservations_response": {
1151
      "v0.0.38_reservations_response": {
1143
        "type": "object",
1152
        "type": "object",
1144
        "properties": {
1153
        "properties": {
1154
          "meta": {
1155
            "$ref": "#/components/schemas/v0.0.38_meta"
1156
          },
1145
          "errors": {
1157
          "errors": {
1146
            "type": "array",
1158
            "type": "array",
1147
            "description": "slurm errors",
1159
            "description": "slurm errors",
Lines 1196-1201 Link Here
1196
      "v0.0.38_job_submission_response": {
1208
      "v0.0.38_job_submission_response": {
1197
        "type": "object",
1209
        "type": "object",
1198
        "properties": {
1210
        "properties": {
1211
          "meta": {
1212
            "$ref": "#/components/schemas/v0.0.38_meta"
1213
          },
1199
          "errors": {
1214
          "errors": {
1200
            "type": "array",
1215
            "type": "array",
1201
            "description": "slurm errors",
1216
            "description": "slurm errors",
Lines 1242-1247 Link Here
1242
      "v0.0.38_jobs_response": {
1257
      "v0.0.38_jobs_response": {
1243
        "type": "object",
1258
        "type": "object",
1244
        "properties": {
1259
        "properties": {
1260
          "meta": {
1261
            "$ref": "#/components/schemas/v0.0.38_meta"
1262
          },
1245
          "errors": {
1263
          "errors": {
1246
            "type": "array",
1264
            "type": "array",
1247
            "description": "slurm errors",
1265
            "description": "slurm errors",
Lines 2268-2273 Link Here
2268
      "v0.0.38_nodes_response": {
2286
      "v0.0.38_nodes_response": {
2269
        "type": "object",
2287
        "type": "object",
2270
        "properties": {
2288
        "properties": {
2289
          "meta": {
2290
            "$ref": "#/components/schemas/v0.0.38_meta"
2291
          },
2271
          "errors": {
2292
          "errors": {
2272
            "type": "array",
2293
            "type": "array",
2273
            "description": "slurm errors",
2294
            "description": "slurm errors",
Lines 2283-2288 Link Here
2283
            }
2304
            }
2284
          }
2305
          }
2285
        }
2306
        }
2307
      },
2308
      "v0.0.38_meta": {
2309
        "type": "object",
2310
        "properties": {
2311
          "plugin": {
2312
            "type": "object",
2313
            "properties": {
2314
              "type": {
2315
                "type": "string",
2316
                "description": ""
2317
              },
2318
              "name": {
2319
                "type": "string",
2320
                "description": ""
2321
              }
2322
            }
2323
          },
2324
          "Slurm": {
2325
            "type": "object",
2326
            "description": "Slurm information",
2327
            "properties": {
2328
              "version": {
2329
                "type": "object",
2330
                "properties": {
2331
                  "major": {
2332
                    "type": "string",
2333
                    "description": ""
2334
                  },
2335
                  "micro": {
2336
                    "type": "string",
2337
                    "description": ""
2338
                  },
2339
                  "minor": {
2340
                    "type": "string",
2341
                    "description": ""
2342
                  }
2343
                }
2344
              },
2345
              "release": {
2346
                "type": "string",
2347
                "description": "version specifier"
2348
              }
2349
            }
2350
          }
2351
        }
2286
      }
2352
      }
2287
    }
2353
    }
2288
  }
2354
  }
2289
- 
2290
responses
2355
responses
2291
--
2292
NEWS                                          |   1 +
2356
NEWS                                          |   1 +
2293
.../openapi_release_notes/slurm-22.05.0.html  |  33 ++++++
2357
.../openapi_release_notes/slurm-22.05.0.html  |  33 ++++++
2294
src/plugins/openapi/dbv0.0.38/openapi.json    | 111 ++++++++++++++++++
2358
src/plugins/openapi/dbv0.0.38/openapi.json    | 111 ++++++++++++++++++
2295
3 files changed, 145 insertions(+)
2359
3 files changed, 145 insertions(+)
(-)a/NEWS (+1 lines)
Lines 100-105 documents those changes that are of interest to users and administrators. Link Here
100
 -- Handle scontrol setdebug[flags] and scontrol reconfigure in slurmscriptd.
100
 -- Handle scontrol setdebug[flags] and scontrol reconfigure in slurmscriptd.
101
 -- openapi/dbv0.0.38 - split security entries in openapi.json.
101
 -- openapi/dbv0.0.38 - split security entries in openapi.json.
102
 -- openapi/v0.0.38 - Add schema for Slurm meta in responses.
102
 -- openapi/v0.0.38 - Add schema for Slurm meta in responses.
103
 -- openapi/dbv0.0.38 - Add schema for Slurm meta in responses.
103
104
104
* Changes in Slurm 21.08.7
105
* Changes in Slurm 21.08.7
105
==========================
106
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+33 lines)
Lines 121-126 Link Here
121
</tr>
121
</tr>
122
</table>
122
</table>
123
123
124
<h4>Add meta entry</h4>
125
<table class="tchange">
126
<tr class="trchange">
127
	<td class="tdfield">field added</td>
128
	<td class="tdchange">
129
		<ul>
130
			<li>.components.schemas."dbv0.0.38_diag".properties.meta</li>
131
			<li>.components.schemas."dbv0.0.38_account_info".properties.meta</li>
132
			<li>.components.schemas."dbv0.0.38_response_account_delete".properties.meta</li>
133
			<li>.components.schemas."dbv0.0.38_response_wckey_add".properties.meta</li>
134
			<li>.components.schemas."dbv0.0.38_wckey_info".properties.meta</li>
135
			<li>.components.schemas."dbv0.0.38_response_wckey_delete".properties.meta</li>
136
			<li>.components.schemas."dbv0.0.38_response_cluster_add".properties.meta</li>
137
			<li>.components.schemas."dbv0.0.38_response_cluster_delete".properties.meta</li>
138
			<li>.components.schemas."dbv0.0.38_response_user_update".properties.meta</li>
139
			<li>.components.schemas."dbv0.0.38_user_info".properties.meta</li>
140
			<li>.components.schemas."dbv0.0.38_response_user_delete".properties.meta</li>
141
			<li>.components.schemas."dbv0.0.38_response_association_delete".properties.meta</li>
142
			<li>.components.schemas."dbv0.0.38_associations_info".properties.meta</li>
143
			<li>.components.schemas."dbv0.0.38_qos_info".properties.meta</li>
144
			<li>.components.schemas."dbv0.0.38_response_qos_delete".properties.meta</li>
145
			<li>.components.schemas."dbv0.0.38_response_associations".properties.meta</li>
146
			<li>.components.schemas."dbv0.0.38_response_tres".properties.meta</li>
147
			<li>.components.schemas."dbv0.0.38_tres_info".properties.meta</li>
148
			<li>.components.schemas."dbv0.0.38_job_info".properties.meta</li>
149
			<li>.components.schemas."dbv0.0.38_config_info".properties.meta</li>
150
			<li>.components.schemas."dbv0.0.38_account_response".properties.meta</li>
151
			<li>.components.schemas."dbv0.0.38_config_response".properties.meta</li>
152
		</ul>
153
	</td>
154
</tr>
155
</table>
156
124
<h3>openapi/v0.0.38 (src/plugins/openapi/v0.0.38/openapi.json)</h3>
157
<h3>openapi/v0.0.38 (src/plugins/openapi/v0.0.38/openapi.json)</h3>
125
158
126
<h4>add plugin</h4>
159
<h4>add plugin</h4>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-2 / +111 lines)
Lines 1488-1493 Link Here
1488
    "schemas": {
1488
    "schemas": {
1489
      "dbv0.0.38_diag": {
1489
      "dbv0.0.38_diag": {
1490
        "properties": {
1490
        "properties": {
1491
          "meta": {
1492
            "$ref": "#/components/schemas/v0.0.38_meta"
1493
          },
1491
          "errors": {
1494
          "errors": {
1492
            "type": "array",
1495
            "type": "array",
1493
            "description": "Slurm errors",
1496
            "description": "Slurm errors",
Lines 1639-1644 Link Here
1639
      "dbv0.0.38_account_info": {
1642
      "dbv0.0.38_account_info": {
1640
        "type": "object",
1643
        "type": "object",
1641
        "properties": {
1644
        "properties": {
1645
          "meta": {
1646
            "$ref": "#/components/schemas/v0.0.38_meta"
1647
          },
1642
          "errors": {
1648
          "errors": {
1643
            "type": "array",
1649
            "type": "array",
1644
            "description": "Slurm errors",
1650
            "description": "Slurm errors",
Lines 1692-1697 Link Here
1692
      "dbv0.0.38_response_account_delete": {
1698
      "dbv0.0.38_response_account_delete": {
1693
        "type": "object",
1699
        "type": "object",
1694
        "properties": {
1700
        "properties": {
1701
          "meta": {
1702
            "$ref": "#/components/schemas/v0.0.38_meta"
1703
          },
1695
          "errors": {
1704
          "errors": {
1696
            "type": "array",
1705
            "type": "array",
1697
            "description": "Slurm errors",
1706
            "description": "Slurm errors",
Lines 1704-1709 Link Here
1704
      "dbv0.0.38_response_wckey_add": {
1713
      "dbv0.0.38_response_wckey_add": {
1705
        "type": "object",
1714
        "type": "object",
1706
        "properties": {
1715
        "properties": {
1716
          "meta": {
1717
            "$ref": "#/components/schemas/v0.0.38_meta"
1718
          },
1707
          "errors": {
1719
          "errors": {
1708
            "type": "array",
1720
            "type": "array",
1709
            "description": "Slurm errors",
1721
            "description": "Slurm errors",
Lines 1716-1721 Link Here
1716
      "dbv0.0.38_wckey_info": {
1728
      "dbv0.0.38_wckey_info": {
1717
        "type": "object",
1729
        "type": "object",
1718
        "properties": {
1730
        "properties": {
1731
          "meta": {
1732
            "$ref": "#/components/schemas/v0.0.38_meta"
1733
          },
1719
          "errors": {
1734
          "errors": {
1720
            "type": "array",
1735
            "type": "array",
1721
            "description": "Slurm errors",
1736
            "description": "Slurm errors",
Lines 1772-1777 Link Here
1772
      "dbv0.0.38_response_wckey_delete": {
1787
      "dbv0.0.38_response_wckey_delete": {
1773
        "type": "object",
1788
        "type": "object",
1774
        "properties": {
1789
        "properties": {
1790
          "meta": {
1791
            "$ref": "#/components/schemas/v0.0.38_meta"
1792
          },
1775
          "errors": {
1793
          "errors": {
1776
            "type": "array",
1794
            "type": "array",
1777
            "description": "Slurm errors",
1795
            "description": "Slurm errors",
Lines 1784-1789 Link Here
1784
      "dbv0.0.38_response_cluster_add": {
1802
      "dbv0.0.38_response_cluster_add": {
1785
        "type": "object",
1803
        "type": "object",
1786
        "properties": {
1804
        "properties": {
1805
          "meta": {
1806
            "$ref": "#/components/schemas/v0.0.38_meta"
1807
          },
1787
          "errors": {
1808
          "errors": {
1788
            "type": "array",
1809
            "type": "array",
1789
            "description": "Slurm errors",
1810
            "description": "Slurm errors",
Lines 1855-1860 Link Here
1855
      "dbv0.0.38_response_cluster_delete": {
1876
      "dbv0.0.38_response_cluster_delete": {
1856
        "type": "object",
1877
        "type": "object",
1857
        "properties": {
1878
        "properties": {
1879
          "meta": {
1880
            "$ref": "#/components/schemas/v0.0.38_meta"
1881
          },
1858
          "errors": {
1882
          "errors": {
1859
            "type": "array",
1883
            "type": "array",
1860
            "description": "Slurm errors",
1884
            "description": "Slurm errors",
Lines 1867-1872 Link Here
1867
      "dbv0.0.38_response_user_update": {
1891
      "dbv0.0.38_response_user_update": {
1868
        "type": "object",
1892
        "type": "object",
1869
        "properties": {
1893
        "properties": {
1894
          "meta": {
1895
            "$ref": "#/components/schemas/v0.0.38_meta"
1896
          },
1870
          "errors": {
1897
          "errors": {
1871
            "type": "array",
1898
            "type": "array",
1872
            "description": "Slurm errors",
1899
            "description": "Slurm errors",
Lines 1923-1928 Link Here
1923
      "dbv0.0.38_user_info": {
1950
      "dbv0.0.38_user_info": {
1924
        "type": "object",
1951
        "type": "object",
1925
        "properties": {
1952
        "properties": {
1953
          "meta": {
1954
            "$ref": "#/components/schemas/v0.0.38_meta"
1955
          },
1926
          "errors": {
1956
          "errors": {
1927
            "type": "array",
1957
            "type": "array",
1928
            "description": "Slurm errors",
1958
            "description": "Slurm errors",
Lines 1942-1947 Link Here
1942
      "dbv0.0.38_response_user_delete": {
1972
      "dbv0.0.38_response_user_delete": {
1943
        "type": "object",
1973
        "type": "object",
1944
        "properties": {
1974
        "properties": {
1975
          "meta": {
1976
            "$ref": "#/components/schemas/v0.0.38_meta"
1977
          },
1945
          "errors": {
1978
          "errors": {
1946
            "type": "array",
1979
            "type": "array",
1947
            "description": "Slurm errors",
1980
            "description": "Slurm errors",
Lines 1954-1959 Link Here
1954
      "dbv0.0.38_response_association_delete": {
1987
      "dbv0.0.38_response_association_delete": {
1955
        "type": "object",
1988
        "type": "object",
1956
        "properties": {
1989
        "properties": {
1990
          "meta": {
1991
            "$ref": "#/components/schemas/v0.0.38_meta"
1992
          },
1957
          "errors": {
1993
          "errors": {
1958
            "type": "array",
1994
            "type": "array",
1959
            "description": "Slurm errors",
1995
            "description": "Slurm errors",
Lines 2159-2164 Link Here
2159
      "dbv0.0.38_associations_info": {
2195
      "dbv0.0.38_associations_info": {
2160
        "type": "object",
2196
        "type": "object",
2161
        "properties": {
2197
        "properties": {
2198
          "meta": {
2199
            "$ref": "#/components/schemas/v0.0.38_meta"
2200
          },
2162
          "errors": {
2201
          "errors": {
2163
            "type": "array",
2202
            "type": "array",
2164
            "description": "Slurm errors",
2203
            "description": "Slurm errors",
Lines 2390-2395 Link Here
2390
      "dbv0.0.38_qos_info": {
2429
      "dbv0.0.38_qos_info": {
2391
        "type": "object",
2430
        "type": "object",
2392
        "properties": {
2431
        "properties": {
2432
          "meta": {
2433
            "$ref": "#/components/schemas/v0.0.38_meta"
2434
          },
2393
          "errors": {
2435
          "errors": {
2394
            "type": "array",
2436
            "type": "array",
2395
            "description": "Slurm errors",
2437
            "description": "Slurm errors",
Lines 2409-2414 Link Here
2409
      "dbv0.0.38_response_qos_delete": {
2451
      "dbv0.0.38_response_qos_delete": {
2410
        "type": "object",
2452
        "type": "object",
2411
        "properties": {
2453
        "properties": {
2454
          "meta": {
2455
            "$ref": "#/components/schemas/v0.0.38_meta"
2456
          },
2412
          "errors": {
2457
          "errors": {
2413
            "type": "array",
2458
            "type": "array",
2414
            "description": "Slurm errors",
2459
            "description": "Slurm errors",
Lines 2421-2426 Link Here
2421
      "dbv0.0.38_response_associations": {
2466
      "dbv0.0.38_response_associations": {
2422
        "type": "object",
2467
        "type": "object",
2423
        "properties": {
2468
        "properties": {
2469
          "meta": {
2470
            "$ref": "#/components/schemas/v0.0.38_meta"
2471
          },
2424
          "errors": {
2472
          "errors": {
2425
            "type": "array",
2473
            "type": "array",
2426
            "description": "Slurm errors",
2474
            "description": "Slurm errors",
Lines 2433-2438 Link Here
2433
      "dbv0.0.38_response_tres": {
2481
      "dbv0.0.38_response_tres": {
2434
        "type": "object",
2482
        "type": "object",
2435
        "properties": {
2483
        "properties": {
2484
          "meta": {
2485
            "$ref": "#/components/schemas/v0.0.38_meta"
2486
          },
2436
          "errors": {
2487
          "errors": {
2437
            "type": "array",
2488
            "type": "array",
2438
            "description": "Slurm errors",
2489
            "description": "Slurm errors",
Lines 2445-2450 Link Here
2445
      "dbv0.0.38_tres_info": {
2496
      "dbv0.0.38_tres_info": {
2446
        "type": "object",
2497
        "type": "object",
2447
        "properties": {
2498
        "properties": {
2499
          "meta": {
2500
            "$ref": "#/components/schemas/v0.0.38_meta"
2501
          },
2448
          "errors": {
2502
          "errors": {
2449
            "type": "array",
2503
            "type": "array",
2450
            "description": "Slurm errors",
2504
            "description": "Slurm errors",
Lines 2489-2494 Link Here
2489
      "dbv0.0.38_job_info": {
2543
      "dbv0.0.38_job_info": {
2490
        "type": "object",
2544
        "type": "object",
2491
        "properties": {
2545
        "properties": {
2546
          "meta": {
2547
            "$ref": "#/components/schemas/v0.0.38_meta"
2548
          },
2492
          "errors": {
2549
          "errors": {
2493
            "type": "array",
2550
            "type": "array",
2494
            "description": "Slurm errors",
2551
            "description": "Slurm errors",
Lines 3096-3101 Link Here
3096
      "dbv0.0.38_config_info": {
3153
      "dbv0.0.38_config_info": {
3097
        "type": "object",
3154
        "type": "object",
3098
        "properties": {
3155
        "properties": {
3156
          "meta": {
3157
            "$ref": "#/components/schemas/v0.0.38_meta"
3158
          },
3099
          "errors": {
3159
          "errors": {
3100
            "type": "array",
3160
            "type": "array",
3101
            "description": "Slurm errors",
3161
            "description": "Slurm errors",
Lines 3150-3155 Link Here
3150
      "dbv0.0.38_account_response": {
3210
      "dbv0.0.38_account_response": {
3151
        "type": "object",
3211
        "type": "object",
3152
        "properties": {
3212
        "properties": {
3213
          "meta": {
3214
            "$ref": "#/components/schemas/v0.0.38_meta"
3215
          },
3153
          "errors": {
3216
          "errors": {
3154
            "type": "array",
3217
            "type": "array",
3155
            "description": "Slurm errors",
3218
            "description": "Slurm errors",
Lines 3162-3167 Link Here
3162
      "dbv0.0.38_config_response": {
3225
      "dbv0.0.38_config_response": {
3163
        "type": "object",
3226
        "type": "object",
3164
        "properties": {
3227
        "properties": {
3228
          "meta": {
3229
            "$ref": "#/components/schemas/v0.0.38_meta"
3230
          },
3165
          "errors": {
3231
          "errors": {
3166
            "type": "array",
3232
            "type": "array",
3167
            "description": "Slurm errors",
3233
            "description": "Slurm errors",
Lines 3184-3189 Link Here
3184
        },
3250
        },
3185
        "type": "object"
3251
        "type": "object"
3186
      }
3252
      }
3253
    },
3254
    "dbv0.0.38_meta": {
3255
      "type": "object",
3256
      "properties": {
3257
        "plugin": {
3258
          "type": "object",
3259
          "properties": {
3260
            "type": {
3261
              "type": "string",
3262
              "description": ""
3263
            },
3264
            "name": {
3265
              "type": "string",
3266
              "description": ""
3267
            }
3268
          }
3269
        },
3270
        "Slurm": {
3271
          "type": "object",
3272
          "description": "Slurm information",
3273
          "properties": {
3274
            "version": {
3275
              "type": "object",
3276
              "properties": {
3277
                "major": {
3278
                  "type": "string",
3279
                  "description": ""
3280
                },
3281
                "micro": {
3282
                  "type": "string",
3283
                  "description": ""
3284
                },
3285
                "minor": {
3286
                  "type": "string",
3287
                  "description": ""
3288
                }
3289
              }
3290
            },
3291
            "release": {
3292
              "type": "string",
3293
              "description": "version specifier"
3294
            }
3295
          }
3296
        }
3297
      }
3187
    }
3298
    }
3188
  }
3299
  }
3189
}
3300
}
3190
- 
3191
--
3192
src/plugins/openapi/v0.0.38/openapi.json | 1 -
3301
src/plugins/openapi/v0.0.38/openapi.json | 1 -
3193
1 file changed, 1 deletion(-)
3302
1 file changed, 1 deletion(-)
(-)a/src/plugins/openapi/v0.0.38/openapi.json (-3 lines)
Lines 1242-1248 Link Here
1242
            "description": "Executable script (full contents) to run in batch step"
1242
            "description": "Executable script (full contents) to run in batch step"
1243
          },
1243
          },
1244
          "job": {
1244
          "job": {
1245
            "description": "Properties of an array job or non-HetJob",
1246
            "$ref": "#/components/schemas/v0.0.38_job_properties"
1245
            "$ref": "#/components/schemas/v0.0.38_job_properties"
1247
          },
1246
          },
1248
          "jobs": {
1247
          "jobs": {
1249
- 
1250
openapi.json
1248
openapi.json
1251
--
1252
NEWS                                     | 2 ++
1249
NEWS                                     | 2 ++
1253
src/plugins/openapi/v0.0.38/openapi.json | 6 +++---
1250
src/plugins/openapi/v0.0.38/openapi.json | 6 +++---
1254
2 files changed, 5 insertions(+), 3 deletions(-)
1251
2 files changed, 5 insertions(+), 3 deletions(-)
(-)a/NEWS (+2 lines)
Lines 101-106 documents those changes that are of interest to users and administrators. Link Here
101
 -- openapi/dbv0.0.38 - split security entries in openapi.json.
101
 -- openapi/dbv0.0.38 - split security entries in openapi.json.
102
 -- openapi/v0.0.38 - Add schema for Slurm meta in responses.
102
 -- openapi/v0.0.38 - Add schema for Slurm meta in responses.
103
 -- openapi/dbv0.0.38 - Add schema for Slurm meta in responses.
103
 -- openapi/dbv0.0.38 - Add schema for Slurm meta in responses.
104
 -- openapi/v0.0.38 - Correct field "errno" to "error_number" in schema for
105
    errors.
104
106
105
* Changes in Slurm 21.08.7
107
* Changes in Slurm 21.08.7
106
==========================
108
==========================
(-)a/src/plugins/openapi/v0.0.38/openapi.json (-5 / +3 lines)
Lines 1177-1185 Link Here
1177
            "type": "string",
1177
            "type": "string",
1178
            "description": "error message"
1178
            "description": "error message"
1179
          },
1179
          },
1180
          "errno": {
1180
          "error_number": {
1181
            "type": "integer",
1181
            "description": "Slurm internal error number",
1182
            "description": "error number"
1182
            "type": "integer"
1183
          }
1183
          }
1184
        }
1184
        }
1185
      },
1185
      },
1186
- 
1187
openapi.json
1186
openapi.json
1188
--
1189
NEWS                                          |   1 +
1187
NEWS                                          |   1 +
1190
.../openapi_release_notes/slurm-22.05.0.html  |  30 ++
1188
.../openapi_release_notes/slurm-22.05.0.html  |  30 ++
1191
src/plugins/openapi/dbv0.0.38/openapi.json    | 491 +++++++++++++++---
1189
src/plugins/openapi/dbv0.0.38/openapi.json    | 491 +++++++++++++++---
1192
3 files changed, 454 insertions(+), 68 deletions(-)
1190
3 files changed, 454 insertions(+), 68 deletions(-)
(-)a/NEWS (+1 lines)
Lines 103-108 documents those changes that are of interest to users and administrators. Link Here
103
 -- openapi/dbv0.0.38 - Add schema for Slurm meta in responses.
103
 -- openapi/dbv0.0.38 - Add schema for Slurm meta in responses.
104
 -- openapi/v0.0.38 - Correct field "errno" to "error_number" in schema for
104
 -- openapi/v0.0.38 - Correct field "errno" to "error_number" in schema for
105
    errors.
105
    errors.
106
 -- openapi/dbv0.0.38 - add failure response contents in openapi.json.
106
107
107
* Changes in Slurm 21.08.7
108
* Changes in Slurm 21.08.7
108
==========================
109
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+30 lines)
Lines 58-63 Link Here
58
</tr>
58
</tr>
59
</table>
59
</table>
60
60
61
<h4>Add error response contents</h4>
62
<table class="tchange">
63
<tr class="trchange">
64
	<td class="tdfield">new fields</td>
65
	<td class="tdchange" colspan=2>
66
		<ul>
67
			<li>.paths."/account/{account_name}"[].responses.default[]</li>
68
			<li>.paths."/accounts/"[].responses.default[]</li>
69
			<li>.paths."/association/"[].responses.default[]</li>
70
			<li>.paths."/associations/"[].responses.default[]</li>
71
			<li>.paths."/cluster/{cluster_name}"[].responses.default[]</li>
72
			<li>.paths."/clusters/"[].responses.default[]</li>
73
			<li>.paths."/config/"[].responses.default[]</li>
74
			<li>.paths."/diag/"[].responses.default[]</li>
75
			<li>.paths."/job/{job_id}"[].responses.default[]</li>
76
			<li>.paths."/jobs/"[].responses.default[]</li>
77
			<li>.paths."/qos/{qos_name}/"[].responses.default[]</li>
78
			<li>.paths."/qos/"[].responses.default[]</li>
79
			<li>.paths."/tres/"[].responses.default[]</li>
80
			<li>.paths."/users/"[].responses.default[]</li>
81
			<li>.paths."/user/{user_name}"[].responses.default[]</li>
82
			<li>.paths."/wckeys/"[].responses.default[]</li>
83
			<li>.paths."/wckey/{wckey}"[].responses.default[]</li>
84
			<li>.components.schemas."dbv0.0.38_meta"</li>
85
		</ul>
86
	</td>
87
</tr>
88
</table>
89
61
<h4>Move incorrectly named field</h4>
90
<h4>Move incorrectly named field</h4>
62
<table class="tchange">
91
<table class="tchange">
63
<tr class="trchange">
92
<tr class="trchange">
Lines 149-154 Link Here
149
			<li>.components.schemas."dbv0.0.38_config_info".properties.meta</li>
178
			<li>.components.schemas."dbv0.0.38_config_info".properties.meta</li>
150
			<li>.components.schemas."dbv0.0.38_account_response".properties.meta</li>
179
			<li>.components.schemas."dbv0.0.38_account_response".properties.meta</li>
151
			<li>.components.schemas."dbv0.0.38_config_response".properties.meta</li>
180
			<li>.components.schemas."dbv0.0.38_config_response".properties.meta</li>
181
			<li>.components.schemas."dbv0.0.38_errors"</li>
152
		</ul>
182
		</ul>
153
	</td>
183
	</td>
154
</tr>
184
</tr>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-70 / +423 lines)
Lines 78-84 Link Here
78
            "description": "Job description"
78
            "description": "Job description"
79
          },
79
          },
80
          "default": {
80
          "default": {
81
            "description": "Unable to find job"
81
            "description": "Unable to find job",
82
            "content": {
83
              "application/json": {
84
                "schema": {
85
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
86
                }
87
              },
88
              "application/x-yaml": {
89
                "schema": {
90
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
91
                }
92
              }
93
            }
82
          }
94
          }
83
        }
95
        }
84
      }
96
      }
Lines 107-113 Link Here
107
            "description": "slurmdbd configuration"
119
            "description": "slurmdbd configuration"
108
          },
120
          },
109
          "default": {
121
          "default": {
110
            "description": "Unable to dump config"
122
            "description": "Unable to dump config",
123
            "content": {
124
              "application/json": {
125
                "schema": {
126
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
127
                }
128
              },
129
              "application/x-yaml": {
130
                "schema": {
131
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
132
                }
133
              }
134
            }
111
          }
135
          }
112
        }
136
        }
113
      },
137
      },
Lines 134-140 Link Here
134
            }
158
            }
135
          },
159
          },
136
          "default": {
160
          "default": {
137
            "description": "Unable to set config"
161
            "description": "Unable to set config",
162
            "content": {
163
              "application/json": {
164
                "schema": {
165
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
166
                }
167
              },
168
              "application/x-yaml": {
169
                "schema": {
170
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
171
                }
172
              }
173
            }
138
          }
174
          }
139
        }
175
        }
140
      }
176
      }
Lines 162-168 Link Here
162
            "description": "List of TRES"
198
            "description": "List of TRES"
163
          },
199
          },
164
          "default": {
200
          "default": {
165
            "description": "Unable to update TRES"
201
            "description": "Unable to update TRES",
202
            "content": {
203
              "application/json": {
204
                "schema": {
205
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
206
                }
207
              },
208
              "application/x-yaml": {
209
                "schema": {
210
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
211
                }
212
              }
213
            }
166
          }
214
          }
167
        },
215
        },
168
        "summary": "Set TRES info"
216
        "summary": "Set TRES info"
Lines 219-225 Link Here
219
            "description": "Delete qos"
267
            "description": "Delete qos"
220
          },
268
          },
221
          "default": {
269
          "default": {
222
            "description": "Unable to delete QOS"
270
            "description": "Unable to delete QOS",
271
            "content": {
272
              "application/json": {
273
                "schema": {
274
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
275
                }
276
              },
277
              "application/x-yaml": {
278
                "schema": {
279
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
280
                }
281
              }
282
            }
223
          }
283
          }
224
        },
284
        },
225
        "parameters": [
285
        "parameters": [
Lines 259-265 Link Here
259
            "description": "QOS information"
319
            "description": "QOS information"
260
          },
320
          },
261
          "default": {
321
          "default": {
262
            "description": "QOS not found"
322
            "description": "QOS not found",
323
            "content": {
324
              "application/json": {
325
                "schema": {
326
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
327
                }
328
              },
329
              "application/x-yaml": {
330
                "schema": {
331
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
332
                }
333
              }
334
            }
263
          }
335
          }
264
        },
336
        },
265
        "parameters": [
337
        "parameters": [
Lines 300-306 Link Here
300
            "description": "List of QOS'"
372
            "description": "List of QOS'"
301
          },
373
          },
302
          "default": {
374
          "default": {
303
            "description": "QOS not found"
375
            "description": "QOS not found",
376
            "content": {
377
              "application/json": {
378
                "schema": {
379
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
380
                }
381
              },
382
              "application/x-yaml": {
383
                "schema": {
384
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
385
                }
386
              }
387
            }
304
          }
388
          }
305
        },
389
        },
306
        "summary": "Get QOS list"
390
        "summary": "Get QOS list"
Lines 329-335 Link Here
329
            "description": "status of associations update"
413
            "description": "status of associations update"
330
          },
414
          },
331
          "default": {
415
          "default": {
332
            "description": "Unable to update associations"
416
            "description": "Unable to update associations",
417
            "content": {
418
              "application/json": {
419
                "schema": {
420
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
421
                }
422
              },
423
              "application/x-yaml": {
424
                "schema": {
425
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
426
                }
427
              }
428
            }
333
          }
429
          }
334
        },
430
        },
335
        "summary": "Set associations info"
431
        "summary": "Set associations info"
Lines 356-362 Link Here
356
            "description": "List of associations"
452
            "description": "List of associations"
357
          },
453
          },
358
          "default": {
454
          "default": {
359
            "description": "Association not found"
455
            "description": "Association not found",
456
            "content": {
457
              "application/json": {
458
                "schema": {
459
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
460
                }
461
              },
462
              "application/x-yaml": {
463
                "schema": {
464
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
465
                }
466
              }
467
            }
360
          }
468
          }
361
        },
469
        },
362
        "summary": "Get association list"
470
        "summary": "Get association list"
Lines 431-437 Link Here
431
            "description": "List of associations"
539
            "description": "List of associations"
432
          },
540
          },
433
          "default": {
541
          "default": {
434
            "description": "Association not found"
542
            "description": "Association not found",
543
            "content": {
544
              "application/json": {
545
                "schema": {
546
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
547
                }
548
              },
549
              "application/x-yaml": {
550
                "schema": {
551
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
552
                }
553
              }
554
            }
435
          }
555
          }
436
        },
556
        },
437
        "summary": "Get association info"
557
        "summary": "Get association info"
Lines 504-510 Link Here
504
            "description": "Delete associations"
624
            "description": "Delete associations"
505
          },
625
          },
506
          "default": {
626
          "default": {
507
            "description": "Association not found or unable to delete association"
627
            "description": "Association not found or unable to delete association",
628
            "content": {
629
              "application/json": {
630
                "schema": {
631
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
632
                }
633
              },
634
              "application/x-yaml": {
635
                "schema": {
636
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
637
                }
638
              }
639
            }
508
          }
640
          }
509
        },
641
        },
510
        "summary": "Delete association"
642
        "summary": "Delete association"
Lines 534-540 Link Here
534
            "description": "Delete user"
666
            "description": "Delete user"
535
          },
667
          },
536
          "default": {
668
          "default": {
537
            "description": "User not found or unable to delete user"
669
            "description": "User not found or unable to delete user",
670
            "content": {
671
              "application/json": {
672
                "schema": {
673
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
674
                }
675
              },
676
              "application/x-yaml": {
677
                "schema": {
678
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
679
                }
680
              }
681
            }
538
          }
682
          }
539
        },
683
        },
540
        "parameters": [
684
        "parameters": [
Lines 574-580 Link Here
574
            "description": "List of users"
718
            "description": "List of users"
575
          },
719
          },
576
          "default": {
720
          "default": {
577
            "description": "User not found"
721
            "description": "User not found",
722
            "content": {
723
              "application/json": {
724
                "schema": {
725
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
726
                }
727
              },
728
              "application/x-yaml": {
729
                "schema": {
730
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
731
                }
732
              }
733
            }
578
          }
734
          }
579
        },
735
        },
580
        "parameters": [
736
        "parameters": [
Lines 616-622 Link Here
616
            "description": "Update users"
772
            "description": "Update users"
617
          },
773
          },
618
          "default": {
774
          "default": {
619
            "description": "User not found or not able to update user"
775
            "description": "User not found or not able to update user",
776
            "content": {
777
              "application/json": {
778
                "schema": {
779
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
780
                }
781
              },
782
              "application/x-yaml": {
783
                "schema": {
784
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
785
                }
786
              }
787
            }
620
          }
788
          }
621
        }
789
        }
622
      },
790
      },
Lines 643-649 Link Here
643
            "description": "List of users"
811
            "description": "List of users"
644
          },
812
          },
645
          "default": {
813
          "default": {
646
            "description": "User not found"
814
            "description": "User not found",
815
            "content": {
816
              "application/json": {
817
                "schema": {
818
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
819
                }
820
              },
821
              "application/x-yaml": {
822
                "schema": {
823
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
824
                }
825
              }
826
            }
647
          }
827
          }
648
        }
828
        }
649
      }
829
      }
Lines 672-678 Link Here
672
            "description": "Delete cluster"
852
            "description": "Delete cluster"
673
          },
853
          },
674
          "default": {
854
          "default": {
675
            "description": "Cluster not found or unable to delete cluster"
855
            "description": "Cluster not found or unable to delete cluster",
856
            "content": {
857
              "application/json": {
858
                "schema": {
859
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
860
                }
861
              },
862
              "application/x-yaml": {
863
                "schema": {
864
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
865
                }
866
              }
867
            }
676
          }
868
          }
677
        },
869
        },
678
        "parameters": [
870
        "parameters": [
Lines 712-718 Link Here
712
            "description": "Cluster information"
904
            "description": "Cluster information"
713
          },
905
          },
714
          "default": {
906
          "default": {
715
            "description": "Cluster not found"
907
            "description": "Cluster not found",
908
            "content": {
909
              "application/json": {
910
                "schema": {
911
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
912
                }
913
              },
914
              "application/x-yaml": {
915
                "schema": {
916
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
917
                }
918
              }
919
            }
716
          }
920
          }
717
        },
921
        },
718
        "parameters": [
922
        "parameters": [
Lines 753-759 Link Here
753
            "description": "List of clusters"
957
            "description": "List of clusters"
754
          },
958
          },
755
          "default": {
959
          "default": {
756
            "description": "Cluster not found"
960
            "description": "Cluster not found",
961
            "content": {
962
              "application/json": {
963
                "schema": {
964
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
965
                }
966
              },
967
              "application/x-yaml": {
968
                "schema": {
969
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
970
                }
971
              }
972
            }
757
          }
973
          }
758
        },
974
        },
759
        "summary": "Get cluster list"
975
        "summary": "Get cluster list"
Lines 780-786 Link Here
780
            "description": "List of clusters"
996
            "description": "List of clusters"
781
          },
997
          },
782
          "default": {
998
          "default": {
783
            "description": "Unable to add cluster"
999
            "description": "Unable to add cluster",
1000
            "content": {
1001
              "application/json": {
1002
                "schema": {
1003
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1004
                }
1005
              },
1006
              "application/x-yaml": {
1007
                "schema": {
1008
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1009
                }
1010
              }
1011
            }
784
          }
1012
          }
785
        },
1013
        },
786
        "summary": "Add clusters"
1014
        "summary": "Add clusters"
Lines 810-816 Link Here
810
            "description": "Delete wckey"
1038
            "description": "Delete wckey"
811
          },
1039
          },
812
          "default": {
1040
          "default": {
813
            "description": "wckey not found or unable to delete wckey"
1041
            "description": "wckey not found or unable to delete wckey",
1042
            "content": {
1043
              "application/json": {
1044
                "schema": {
1045
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1046
                }
1047
              },
1048
              "application/x-yaml": {
1049
                "schema": {
1050
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1051
                }
1052
              }
1053
            }
814
          }
1054
          }
815
        },
1055
        },
816
        "parameters": [
1056
        "parameters": [
Lines 850-856 Link Here
850
            "description": "List of wckey"
1090
            "description": "List of wckey"
851
          },
1091
          },
852
          "default": {
1092
          "default": {
853
            "description": "wckey not found"
1093
            "description": "wckey not found",
1094
            "content": {
1095
              "application/json": {
1096
                "schema": {
1097
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1098
                }
1099
              },
1100
              "application/x-yaml": {
1101
                "schema": {
1102
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1103
                }
1104
              }
1105
            }
854
          }
1106
          }
855
        },
1107
        },
856
        "parameters": [
1108
        "parameters": [
Lines 891-897 Link Here
891
            "description": "List of wckeys"
1143
            "description": "List of wckeys"
892
          },
1144
          },
893
          "default": {
1145
          "default": {
894
            "description": "wckey not found"
1146
            "description": "wckey not found",
1147
            "content": {
1148
              "application/json": {
1149
                "schema": {
1150
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1151
                }
1152
              },
1153
              "application/x-yaml": {
1154
                "schema": {
1155
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1156
                }
1157
              }
1158
            }
895
          }
1159
          }
896
        },
1160
        },
897
        "summary": "Get wckey list"
1161
        "summary": "Get wckey list"
Lines 918-924 Link Here
918
            "description": "List of wckeys"
1182
            "description": "List of wckeys"
919
          },
1183
          },
920
          "default": {
1184
          "default": {
921
            "description": "Unable to add wckey"
1185
            "description": "Unable to add wckey",
1186
            "content": {
1187
              "application/json": {
1188
                "schema": {
1189
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1190
                }
1191
              },
1192
              "application/x-yaml": {
1193
                "schema": {
1194
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1195
                }
1196
              }
1197
            }
922
          }
1198
          }
923
        },
1199
        },
924
        "summary": "Add wckeys"
1200
        "summary": "Add wckeys"
Lines 948-954 Link Here
948
            "description": "Delete account"
1224
            "description": "Delete account"
949
          },
1225
          },
950
          "default": {
1226
          "default": {
951
            "description": "Unable to delete account"
1227
            "description": "Unable to delete account",
1228
            "content": {
1229
              "application/json": {
1230
                "schema": {
1231
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1232
                }
1233
              },
1234
              "application/x-yaml": {
1235
                "schema": {
1236
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1237
                }
1238
              }
1239
            }
952
          }
1240
          }
953
        },
1241
        },
954
        "parameters": [
1242
        "parameters": [
Lines 988-994 Link Here
988
            "description": "List of accounts"
1276
            "description": "List of accounts"
989
          },
1277
          },
990
          "default": {
1278
          "default": {
991
            "description": "Account not found"
1279
            "description": "Account not found",
1280
            "content": {
1281
              "application/json": {
1282
                "schema": {
1283
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1284
                }
1285
              },
1286
              "application/x-yaml": {
1287
                "schema": {
1288
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1289
                }
1290
              }
1291
            }
992
          }
1292
          }
993
        },
1293
        },
994
        "parameters": [
1294
        "parameters": [
Lines 1029-1035 Link Here
1029
            "description": "List of accounts"
1329
            "description": "List of accounts"
1030
          },
1330
          },
1031
          "default": {
1331
          "default": {
1032
            "description": "Account not found"
1332
            "description": "Account not found",
1333
            "content": {
1334
              "application/json": {
1335
                "schema": {
1336
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1337
                }
1338
              },
1339
              "application/x-yaml": {
1340
                "schema": {
1341
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1342
                }
1343
              }
1344
            }
1033
          }
1345
          }
1034
        },
1346
        },
1035
        "summary": "Get account list"
1347
        "summary": "Get account list"
Lines 1056-1062 Link Here
1056
            "description": "Add/update list of accounts"
1368
            "description": "Add/update list of accounts"
1057
          },
1369
          },
1058
          "default": {
1370
          "default": {
1059
            "description": "Unable to add or update accounts"
1371
            "description": "Unable to add or update accounts",
1372
            "content": {
1373
              "application/json": {
1374
                "schema": {
1375
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1376
                }
1377
              },
1378
              "application/x-yaml": {
1379
                "schema": {
1380
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1381
                }
1382
              }
1383
            }
1060
          }
1384
          }
1061
        },
1385
        },
1062
        "summary": "Update accounts"
1386
        "summary": "Update accounts"
Lines 1362-1368 Link Here
1362
            "description": "List of jobs"
1686
            "description": "List of jobs"
1363
          },
1687
          },
1364
          "default": {
1688
          "default": {
1365
            "description": "Unable to query jobs"
1689
            "description": "Unable to query jobs",
1690
            "content": {
1691
              "application/json": {
1692
                "schema": {
1693
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1694
                }
1695
              },
1696
              "application/x-yaml": {
1697
                "schema": {
1698
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1699
                }
1700
              }
1701
            }
1366
          }
1702
          }
1367
        },
1703
        },
1368
        "summary": "Get job list"
1704
        "summary": "Get job list"
Lines 1391-1397 Link Here
1391
            "description": "Dictionary of statistics"
1727
            "description": "Dictionary of statistics"
1392
          },
1728
          },
1393
          "default": {
1729
          "default": {
1394
            "description": "Unable to query diagnostics"
1730
            "description": "Unable to query diagnostics",
1731
            "content": {
1732
              "application/json": {
1733
                "schema": {
1734
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1735
                }
1736
              },
1737
              "application/x-yaml": {
1738
                "schema": {
1739
                  "$ref": "#/components/schemas/dbv0.0.38_errors"
1740
                }
1741
              }
1742
            }
1395
          }
1743
          }
1396
        },
1744
        },
1397
        "summary": "Get slurmdb diagnostics"
1745
        "summary": "Get slurmdb diagnostics"
Lines 3237-3242 Link Here
3237
          }
3585
          }
3238
        }
3586
        }
3239
      },
3587
      },
3588
      "dbv0.0.38_errors": {
3589
        "type": "array",
3590
        "description": "Slurm errors",
3591
        "items": {
3592
          "$ref": "#/components/schemas/dbv0.0.38_error"
3593
        }
3594
      },
3240
      "dbv0.0.38_error": {
3595
      "dbv0.0.38_error": {
3241
        "properties": {
3596
        "properties": {
3242
          "errno": {
3597
          "errno": {
Lines 3249-3296 Link Here
3249
          }
3604
          }
3250
        },
3605
        },
3251
        "type": "object"
3606
        "type": "object"
3252
      }
3607
      },
3253
    },
3608
      "dbv0.0.38_meta": {
3254
    "dbv0.0.38_meta": {
3609
        "type": "object",
3255
      "type": "object",
3610
        "properties": {
3256
      "properties": {
3611
          "plugin": {
3257
        "plugin": {
3612
            "type": "object",
3258
          "type": "object",
3613
            "properties": {
3259
          "properties": {
3614
              "type": {
3260
            "type": {
3615
                "type": "string",
3261
              "type": "string",
3616
                "description": ""
3262
              "description": ""
3617
              },
3263
            },
3618
              "name": {
3264
            "name": {
3619
                "type": "string",
3265
              "type": "string",
3620
                "description": ""
3266
              "description": ""
3621
              }
3267
            }
3622
            }
3268
          }
3623
          },
3269
        },
3624
          "Slurm": {
3270
        "Slurm": {
3625
            "type": "object",
3271
          "type": "object",
3626
            "description": "Slurm information",
3272
          "description": "Slurm information",
3627
            "properties": {
3273
          "properties": {
3628
              "version": {
3274
            "version": {
3629
                "type": "object",
3275
              "type": "object",
3630
                "properties": {
3276
              "properties": {
3631
                  "major": {
3277
                "major": {
3632
                    "type": "string",
3278
                  "type": "string",
3633
                    "description": ""
3279
                  "description": ""
3634
                  },
3280
                },
3635
                  "micro": {
3281
                "micro": {
3636
                    "type": "string",
3282
                  "type": "string",
3637
                    "description": ""
3283
                  "description": ""
3638
                  },
3284
                },
3639
                  "minor": {
3285
                "minor": {
3640
                    "type": "string",
3286
                  "type": "string",
3641
                    "description": ""
3287
                  "description": ""
3642
                  }
3288
                }
3643
                }
3644
              },
3645
              "release": {
3646
                "type": "string",
3647
                "description": "version specifier"
3289
              }
3648
              }
3290
            },
3291
            "release": {
3292
              "type": "string",
3293
              "description": "version specifier"
3294
            }
3649
            }
3295
          }
3650
          }
3296
        }
3651
        }
3297
- 
3298
openapi.json
3652
openapi.json
3299
--
3300
NEWS                                          |   1 +
3653
NEWS                                          |   1 +
3301
.../openapi_release_notes/slurm-22.05.0.html  |  23 +++
3654
.../openapi_release_notes/slurm-22.05.0.html  |  23 +++
3302
src/plugins/openapi/v0.0.38/openapi.json      | 147 ++++++++++++++++--
3655
src/plugins/openapi/v0.0.38/openapi.json      | 147 ++++++++++++++++--
3303
3 files changed, 161 insertions(+), 10 deletions(-)
3656
3 files changed, 161 insertions(+), 10 deletions(-)
(-)a/NEWS (+1 lines)
Lines 104-109 documents those changes that are of interest to users and administrators. Link Here
104
 -- openapi/v0.0.38 - Correct field "errno" to "error_number" in schema for
104
 -- openapi/v0.0.38 - Correct field "errno" to "error_number" in schema for
105
    errors.
105
    errors.
106
 -- openapi/dbv0.0.38 - add failure response contents in openapi.json.
106
 -- openapi/dbv0.0.38 - add failure response contents in openapi.json.
107
 -- openapi/v0.0.38 - add failure response contents in openapi.json.
107
108
108
* Changes in Slurm 21.08.7
109
* Changes in Slurm 21.08.7
109
==========================
110
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+23 lines)
Lines 386-391 Link Here
386
			<li>.components.schemas."v0.0.38_job_submission_response".properties.meta</li>
386
			<li>.components.schemas."v0.0.38_job_submission_response".properties.meta</li>
387
			<li>.components.schemas."v0.0.38_jobs_response".properties.meta</li>
387
			<li>.components.schemas."v0.0.38_jobs_response".properties.meta</li>
388
			<li>.components.schemas."v0.0.38_nodes_response".properties.meta</li>
388
			<li>.components.schemas."v0.0.38_nodes_response".properties.meta</li>
389
			<li>.components.schemas."v0.0.38_errors"</li>
390
		</ul>
391
	</td>
392
</tr>
393
</table>
394
395
<h4>Add error response contents</h4>
396
<table class="tchange">
397
<tr class="trchange">
398
	<td class="tdfield">new fields</td>
399
	<td class="tdchange" colspan=2>
400
		<ul>
401
			<li>.paths."/diag/"[].responses.default[]</li>
402
			<li>.paths."/ping/"[].responses.default[]</li>
403
			<li>.paths."/jobs/"[].responses.default[]</li>
404
			<li>.paths."/job/{job_id}"[].responses.default[]</li>
405
			<li>.paths."/job/submit"[].responses.default[]</li>
406
			<li>.paths."/nodes/"[].responses.default[]</li>
407
			<li>.paths."/node/{node_name}"[].responses.default[]</li>
408
			<li>.paths."/partitions/"[].responses.default[]</li>
409
			<li>.paths."/partition/{partition_name}"[].responses.default[]</li>
410
			<li>.paths."/reservations/"[].responses.default[]</li>
411
			<li>.paths."/reservation/{reservation_name}"[].responses.default[]</li>
389
		</ul>
412
		</ul>
390
	</td>
413
	</td>
391
</tr>
414
</tr>
(-)a/src/plugins/openapi/v0.0.38/openapi.json (-12 / +137 lines)
Lines 61-67 Link Here
61
            }
61
            }
62
          },
62
          },
63
          "default": {
63
          "default": {
64
            "description": "unable to request ping test"
64
            "description": "unable to request ping test",
65
            "content": {
66
              "application/json": {
67
                "schema": {
68
                  "$ref": "#/components/schemas/v0.0.38_errors"
69
                }
70
              },
71
              "application/x-yaml": {
72
                "schema": {
73
                  "$ref": "#/components/schemas/v0.0.38_errors"
74
                }
75
              }
76
            }
65
          }
77
          }
66
        }
78
        }
67
      }
79
      }
Lines 90-96 Link Here
90
            }
102
            }
91
          },
103
          },
92
          "default": {
104
          "default": {
93
            "description": "unable to request ping test"
105
            "description": "unable to request ping test",
106
            "content": {
107
              "application/json": {
108
                "schema": {
109
                  "$ref": "#/components/schemas/v0.0.38_errors"
110
                }
111
              },
112
              "application/x-yaml": {
113
                "schema": {
114
                  "$ref": "#/components/schemas/v0.0.38_errors"
115
                }
116
              }
117
            }
94
          }
118
          }
95
        }
119
        }
96
      }
120
      }
Lines 133-139 Link Here
133
            }
157
            }
134
          },
158
          },
135
          "default": {
159
          "default": {
136
            "description": "job not found"
160
            "description": "job not found",
161
            "content": {
162
              "application/json": {
163
                "schema": {
164
                  "$ref": "#/components/schemas/v0.0.38_errors"
165
                }
166
              },
167
              "application/x-yaml": {
168
                "schema": {
169
                  "$ref": "#/components/schemas/v0.0.38_errors"
170
                }
171
              }
172
            }
137
          }
173
          }
138
        }
174
        }
139
      }
175
      }
Lines 303-309 Link Here
303
            }
339
            }
304
          },
340
          },
305
          "default": {
341
          "default": {
306
            "description": "job rejected"
342
            "description": "job rejected",
343
            "content": {
344
              "application/json": {
345
                "schema": {
346
                  "$ref": "#/components/schemas/v0.0.38_errors"
347
                }
348
              },
349
              "application/x-yaml": {
350
                "schema": {
351
                  "$ref": "#/components/schemas/v0.0.38_errors"
352
                }
353
              }
354
            }
307
          }
355
          }
308
        }
356
        }
309
      }
357
      }
Lines 346-352 Link Here
346
            }
394
            }
347
          },
395
          },
348
          "default": {
396
          "default": {
349
            "description": "no nodes in cluster"
397
            "description": "no nodes in cluster",
398
            "content": {
399
              "application/json": {
400
                "schema": {
401
                  "$ref": "#/components/schemas/v0.0.38_errors"
402
                }
403
              },
404
              "application/x-yaml": {
405
                "schema": {
406
                  "$ref": "#/components/schemas/v0.0.38_errors"
407
                }
408
              }
409
            }
350
          }
410
          }
351
        }
411
        }
352
      }
412
      }
Lines 388-394 Link Here
388
            }
448
            }
389
          },
449
          },
390
          "default": {
450
          "default": {
391
            "description": "node not found"
451
            "description": "node not found",
452
            "content": {
453
              "application/json": {
454
                "schema": {
455
                  "$ref": "#/components/schemas/v0.0.38_errors"
456
                }
457
              },
458
              "application/x-yaml": {
459
                "schema": {
460
                  "$ref": "#/components/schemas/v0.0.38_errors"
461
                }
462
              }
463
            }
392
          }
464
          }
393
        }
465
        }
394
      }
466
      }
Lines 431-437 Link Here
431
            }
503
            }
432
          },
504
          },
433
          "default": {
505
          "default": {
434
            "description": "no partitions found"
506
            "description": "no partitions found",
507
            "content": {
508
              "application/json": {
509
                "schema": {
510
                  "$ref": "#/components/schemas/v0.0.38_errors"
511
                }
512
              },
513
              "application/x-yaml": {
514
                "schema": {
515
                  "$ref": "#/components/schemas/v0.0.38_errors"
516
                }
517
              }
518
            }
435
          }
519
          }
436
        }
520
        }
437
      }
521
      }
Lines 485-491 Link Here
485
            }
569
            }
486
          },
570
          },
487
          "default": {
571
          "default": {
488
            "description": "no partitions found"
572
            "description": "no partitions found",
573
            "content": {
574
              "application/json": {
575
                "schema": {
576
                  "$ref": "#/components/schemas/v0.0.38_errors"
577
                }
578
              },
579
              "application/x-yaml": {
580
                "schema": {
581
                  "$ref": "#/components/schemas/v0.0.38_errors"
582
                }
583
              }
584
            }
489
          }
585
          }
490
        }
586
        }
491
      }
587
      }
Lines 528-534 Link Here
528
            }
624
            }
529
          },
625
          },
530
          "default": {
626
          "default": {
531
            "description": "no reservations found"
627
            "description": "no reservations found",
628
            "content": {
629
              "application/json": {
630
                "schema": {
631
                  "$ref": "#/components/schemas/v0.0.38_errors"
632
                }
633
              },
634
              "application/x-yaml": {
635
                "schema": {
636
                  "$ref": "#/components/schemas/v0.0.38_errors"
637
                }
638
              }
639
            }
532
          }
640
          }
533
        }
641
        }
534
      }
642
      }
Lines 582-588 Link Here
582
            }
690
            }
583
          },
691
          },
584
          "default": {
692
          "default": {
585
            "description": "no reservations found"
693
            "description": "no reservations found",
694
            "content": {
695
              "application/json": {
696
                "schema": {
697
                  "$ref": "#/components/schemas/v0.0.38_errors"
698
                }
699
              },
700
              "application/x-yaml": {
701
                "schema": {
702
                  "$ref": "#/components/schemas/v0.0.38_errors"
703
                }
704
              }
705
            }
586
          }
706
          }
587
        }
707
        }
588
      }
708
      }
Lines 1170-1175 Link Here
1170
          }
1290
          }
1171
        }
1291
        }
1172
      },
1292
      },
1293
      "v0.0.38_errors": {
1294
        "type": "array",
1295
        "description": "Slurm errors",
1296
        "items": {
1297
          "$ref": "#/components/schemas/v0.0.38_error"
1298
        }
1299
      },
1173
      "v0.0.38_error": {
1300
      "v0.0.38_error": {
1174
        "type": "object",
1301
        "type": "object",
1175
        "properties": {
1302
        "properties": {
1176
- 
1177
openapi.json
1303
openapi.json
1178
--
1179
NEWS                                          |  1 +
1304
NEWS                                          |  1 +
1180
.../openapi_release_notes/slurm-22.05.0.html  | 13 ++++++++++
1305
.../openapi_release_notes/slurm-22.05.0.html  | 13 ++++++++++
1181
src/plugins/openapi/dbv0.0.38/openapi.json    | 26 +++++++++++++++++++
1306
src/plugins/openapi/dbv0.0.38/openapi.json    | 26 +++++++++++++++++++
1182
3 files changed, 40 insertions(+)
1307
3 files changed, 40 insertions(+)
(-)a/NEWS (+1 lines)
Lines 105-110 documents those changes that are of interest to users and administrators. Link Here
105
    errors.
105
    errors.
106
 -- openapi/dbv0.0.38 - add failure response contents in openapi.json.
106
 -- openapi/dbv0.0.38 - add failure response contents in openapi.json.
107
 -- openapi/v0.0.38 - add failure response contents in openapi.json.
107
 -- openapi/v0.0.38 - add failure response contents in openapi.json.
108
 -- openapi/dbv0.0.38 - add requestBody for /users/ in openapi.json.
108
109
109
* Changes in Slurm 21.08.7
110
* Changes in Slurm 21.08.7
110
==========================
111
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+13 lines)
Lines 184-189 Link Here
184
</tr>
184
</tr>
185
</table>
185
</table>
186
186
187
<h4>Add requestBody field and associated schema</h4>
188
<table class="tchange">
189
<tr class="trchange">
190
	<td class="tdfield">new fields</td>
191
	<td class="tdchange" colspan=2>
192
		<ul>
193
			<li>.components.schemas."dbv0.0.38_update_users"</li>
194
			<li>.paths."/users/".post.requestBody'</li>
195
		</ul>
196
	</td>
197
</tr>
198
</table>
199
187
<h3>openapi/v0.0.38 (src/plugins/openapi/v0.0.38/openapi.json)</h3>
200
<h3>openapi/v0.0.38 (src/plugins/openapi/v0.0.38/openapi.json)</h3>
188
201
189
<h4>add plugin</h4>
202
<h4>add plugin</h4>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-2 / +26 lines)
Lines 755-760 Link Here
755
        ],
755
        ],
756
        "summary": "Update user",
756
        "summary": "Update user",
757
        "operationId": "slurmdbd_update_users",
757
        "operationId": "slurmdbd_update_users",
758
        "requestBody": {
759
          "description": "add or update user",
760
          "content": {
761
            "application/json": {
762
              "schema": {
763
                "$ref": "#/components/schemas/dbv0.0.38_update_users"
764
              }
765
            },
766
            "application/x-yaml": {
767
              "schema": {
768
                "$ref": "#/components/schemas/dbv0.0.38_update_users"
769
              }
770
            }
771
          },
772
          "required": true
773
        },
758
        "responses": {
774
        "responses": {
759
          "200": {
775
          "200": {
760
            "content": {
776
            "content": {
Lines 3649-3654 Link Here
3649
            }
3665
            }
3650
          }
3666
          }
3651
        }
3667
        }
3668
      },
3669
      "dbv0.0.38_update_users": {
3670
        "properties": {
3671
          "users": {
3672
            "type": "array",
3673
            "items": {
3674
              "$ref": "#/components/schemas/dbv0.0.38_user"
3675
            }
3676
          }
3677
        }
3652
      }
3678
      }
3653
    }
3679
    }
3654
  }
3680
  }
3655
- 
3656
openapi.json
3681
openapi.json
3657
--
3658
NEWS                                          |  1 +
3682
NEWS                                          |  1 +
3659
.../openapi_release_notes/slurm-22.05.0.html  |  2 ++
3683
.../openapi_release_notes/slurm-22.05.0.html  |  2 ++
3660
src/plugins/openapi/dbv0.0.38/openapi.json    | 27 ++++++++++++++++++-
3684
src/plugins/openapi/dbv0.0.38/openapi.json    | 27 ++++++++++++++++++-
3661
3 files changed, 29 insertions(+), 1 deletion(-)
3685
3 files changed, 29 insertions(+), 1 deletion(-)
(-)a/NEWS (+1 lines)
Lines 106-111 documents those changes that are of interest to users and administrators. Link Here
106
 -- openapi/dbv0.0.38 - add failure response contents in openapi.json.
106
 -- openapi/dbv0.0.38 - add failure response contents in openapi.json.
107
 -- openapi/v0.0.38 - add failure response contents in openapi.json.
107
 -- openapi/v0.0.38 - add failure response contents in openapi.json.
108
 -- openapi/dbv0.0.38 - add requestBody for /users/ in openapi.json.
108
 -- openapi/dbv0.0.38 - add requestBody for /users/ in openapi.json.
109
 -- openapi/dbv0.0.38 - add requestBody for /accounts/ in openapi.json.
109
110
110
* Changes in Slurm 21.08.7
111
* Changes in Slurm 21.08.7
111
==========================
112
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+2 lines)
Lines 192-197 Link Here
192
		<ul>
192
		<ul>
193
			<li>.components.schemas."dbv0.0.38_update_users"</li>
193
			<li>.components.schemas."dbv0.0.38_update_users"</li>
194
			<li>.paths."/users/".post.requestBody'</li>
194
			<li>.paths."/users/".post.requestBody'</li>
195
			<li>.components.schemas."dbv0.0.38_update_accounts"</li>
196
			<li>.paths."/accounts/".post.requestBody'</li>
195
		</ul>
197
		</ul>
196
	</td>
198
	</td>
197
</tr>
199
</tr>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-3 / +26 lines)
Lines 1400-1405 Link Here
1400
          }
1400
          }
1401
        },
1401
        },
1402
        "summary": "Update accounts"
1402
        "summary": "Update accounts"
1403
	"requestBody": {
1404
	  "description": "update/create accounts",
1405
	  "content": {
1406
	    "application/json": {
1407
	      "schema": {
1408
		"$ref": "#/components/schemas/dbv0.0.38_update_account"
1409
	      }
1410
	    },
1411
	    "application/x-yaml": {
1412
	      "schema": {
1413
		"$ref": "#/components/schemas/dbv0.0.38_update_account"
1414
	      }
1415
	    }
1416
	  },
1417
	  "required": true
1418
	}
1403
      }
1419
      }
1404
    },
1420
    },
1405
    "/jobs/": {
1421
    "/jobs/": {
Lines 3674-3680 Link Here
3674
              "$ref": "#/components/schemas/dbv0.0.38_user"
3690
              "$ref": "#/components/schemas/dbv0.0.38_user"
3675
            }
3691
            }
3676
          }
3692
          }
3677
        }
3693
      },
3694
      "dbv0.0.38_update_account": {
3695
	"properties": {
3696
	  "accounts": {
3697
	    "type": "array",
3698
	    "items": {
3699
	      "$ref": "#/components/schemas/dbv0.0.38_account"
3700
	    }
3701
	  }
3702
	}
3678
      }
3703
      }
3679
    }
3704
    }
3680
  }
3705
  }
3681
- 
3682
"removed_associations" in openapi.json
3706
"removed_associations" in openapi.json
3683
--
3684
NEWS                                          |  2 +
3707
NEWS                                          |  2 +
3685
.../openapi_release_notes/slurm-22.05.0.html  | 12 ++++
3708
.../openapi_release_notes/slurm-22.05.0.html  | 12 ++++
3686
src/plugins/openapi/dbv0.0.38/openapi.json    | 58 +++++++++++--------
3709
src/plugins/openapi/dbv0.0.38/openapi.json    | 58 +++++++++++--------
3687
3 files changed, 47 insertions(+), 25 deletions(-)
3710
3 files changed, 47 insertions(+), 25 deletions(-)
(-)a/NEWS (+2 lines)
Lines 107-112 documents those changes that are of interest to users and administrators. Link Here
107
 -- openapi/v0.0.38 - add failure response contents in openapi.json.
107
 -- openapi/v0.0.38 - add failure response contents in openapi.json.
108
 -- openapi/dbv0.0.38 - add requestBody for /users/ in openapi.json.
108
 -- openapi/dbv0.0.38 - add requestBody for /users/ in openapi.json.
109
 -- openapi/dbv0.0.38 - add requestBody for /accounts/ in openapi.json.
109
 -- openapi/dbv0.0.38 - add requestBody for /accounts/ in openapi.json.
110
 -- openapi/dbv0.0.38 - add missing response field "removed_associations"
111
    in openapi.json
110
112
111
* Changes in Slurm 21.08.7
113
* Changes in Slurm 21.08.7
112
==========================
114
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+12 lines)
Lines 184-189 Link Here
184
</tr>
184
</tr>
185
</table>
185
</table>
186
186
187
<h4>Add missing response field</h4>
188
<table class="tchange">
189
<tr class="trchange">
190
	<td class="tdfield">new fields</td>
191
	<td class="tdchange" colspan=2>
192
		<ul>
193
			<li>.components.schemas."dbv0.0.38_response_association_delete".properties.removed_associations</li>
194
		</ul>
195
	</td>
196
</tr>
197
</table>
198
187
<h4>Add requestBody field and associated schema</h4>
199
<h4>Add requestBody field and associated schema</h4>
188
<table class="tchange">
200
<table class="tchange">
189
<tr class="trchange">
201
<tr class="trchange">
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-27 / +33 lines)
Lines 1399-1421 Link Here
1399
            }
1399
            }
1400
          }
1400
          }
1401
        },
1401
        },
1402
        "summary": "Update accounts"
1402
        "summary": "Update accounts",
1403
	"requestBody": {
1403
        "requestBody": {
1404
	  "description": "update/create accounts",
1404
          "description": "update/create accounts",
1405
	  "content": {
1405
          "content": {
1406
	    "application/json": {
1406
            "application/json": {
1407
	      "schema": {
1407
              "schema": {
1408
		"$ref": "#/components/schemas/dbv0.0.38_update_account"
1408
                "$ref": "#/components/schemas/dbv0.0.38_update_account"
1409
	      }
1409
              }
1410
	    },
1410
            },
1411
	    "application/x-yaml": {
1411
            "application/x-yaml": {
1412
	      "schema": {
1412
              "schema": {
1413
		"$ref": "#/components/schemas/dbv0.0.38_update_account"
1413
                "$ref": "#/components/schemas/dbv0.0.38_update_account"
1414
	      }
1414
              }
1415
	    }
1415
            }
1416
	  },
1416
          },
1417
	  "required": true
1417
          "required": true
1418
	}
1418
        }
1419
      }
1419
      }
1420
    },
1420
    },
1421
    "/jobs/": {
1421
    "/jobs/": {
Lines 2376-2381 Link Here
2376
            "items": {
2376
            "items": {
2377
              "$ref": "#/components/schemas/dbv0.0.38_error"
2377
              "$ref": "#/components/schemas/dbv0.0.38_error"
2378
            }
2378
            }
2379
          },
2380
          "removed_associations": {
2381
            "type": "array",
2382
            "description": "the associations",
2383
            "items": {
2384
              "type": "string"
2385
            }
2379
          }
2386
          }
2380
        }
2387
        }
2381
      },
2388
      },
Lines 3690-3705 Link Here
3690
              "$ref": "#/components/schemas/dbv0.0.38_user"
3697
              "$ref": "#/components/schemas/dbv0.0.38_user"
3691
            }
3698
            }
3692
          }
3699
          }
3700
        }
3693
      },
3701
      },
3694
      "dbv0.0.38_update_account": {
3702
      "dbv0.0.38_update_account": {
3695
	"properties": {
3703
        "properties": {
3696
	  "accounts": {
3704
          "accounts": {
3697
	    "type": "array",
3705
            "type": "array",
3698
	    "items": {
3706
            "items": {
3699
	      "$ref": "#/components/schemas/dbv0.0.38_account"
3707
              "$ref": "#/components/schemas/dbv0.0.38_account"
3700
	    }
3708
            }
3701
	  }
3709
          }
3702
	}
3710
        }
3703
      }
3711
      }
3704
    }
3712
    }
3705
  }
3713
  }
3706
- 
3707
for user assocations list in openapi.json.
3714
for user assocations list in openapi.json.
3708
--
3709
NEWS                                              |  2 ++
3715
NEWS                                              |  2 ++
3710
doc/html/openapi_release_notes/slurm-22.05.0.html | 12 ++++++++++++
3716
doc/html/openapi_release_notes/slurm-22.05.0.html | 12 ++++++++++++
3711
src/plugins/openapi/dbv0.0.38/openapi.json        |  8 +++-----
3717
src/plugins/openapi/dbv0.0.38/openapi.json        |  8 +++-----
3712
3 files changed, 17 insertions(+), 5 deletions(-)
3718
3 files changed, 17 insertions(+), 5 deletions(-)
(-)a/NEWS (+2 lines)
Lines 109-114 documents those changes that are of interest to users and administrators. Link Here
109
 -- openapi/dbv0.0.38 - add requestBody for /accounts/ in openapi.json.
109
 -- openapi/dbv0.0.38 - add requestBody for /accounts/ in openapi.json.
110
 -- openapi/dbv0.0.38 - add missing response field "removed_associations"
110
 -- openapi/dbv0.0.38 - add missing response field "removed_associations"
111
    in openapi.json
111
    in openapi.json
112
 -- openapi/dbv0.0.38 - Correct type from object to array for user assocations
113
    list in openapi.json.
112
114
113
* Changes in Slurm 21.08.7
115
* Changes in Slurm 21.08.7
114
==========================
116
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+12 lines)
Lines 196-201 Link Here
196
</tr>
196
</tr>
197
</table>
197
</table>
198
198
199
<h4>Switch field from object to array</h4>
200
<table class="tchange">
201
<tr class="trchange">
202
	<td class="tdfield">modified field</td>
203
	<td class="tdchange" colspan=2>
204
		<ul>
205
			<li>.components.schemas."dbv0.0.38_user".properties.associations</li>
206
		</ul>
207
	</td>
208
</tr>
209
</table>
210
199
<h4>Add requestBody field and associated schema</h4>
211
<h4>Add requestBody field and associated schema</h4>
200
<table class="tchange">
212
<table class="tchange">
201
<tr class="trchange">
213
<tr class="trchange">
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-7 / +3 lines)
Lines 2292-2303 Link Here
2292
            "description": "Description of administrator level"
2292
            "description": "Description of administrator level"
2293
          },
2293
          },
2294
          "associations": {
2294
          "associations": {
2295
            "type": "object",
2295
            "type": "array",
2296
            "description": "Assigned associations",
2296
            "description": "Assigned associations",
2297
            "properties": {
2297
            "items": {
2298
              "root": {
2298
              "$ref": "#/components/schemas/dbv0.0.38_association_short_info"
2299
                "$ref": "#/components/schemas/dbv0.0.38_association_short_info"
2300
              }
2301
            }
2299
            }
2302
          },
2300
          },
2303
          "coordinators": {
2301
          "coordinators": {
2304
- 
2305
per qos in qos list in openapi.json.
2302
per qos in qos list in openapi.json.
2306
--
2307
NEWS                                              |  2 ++
2303
NEWS                                              |  2 ++
2308
doc/html/openapi_release_notes/slurm-22.05.0.html | 12 ++++++++++++
2304
doc/html/openapi_release_notes/slurm-22.05.0.html | 12 ++++++++++++
2309
src/plugins/openapi/dbv0.0.38/openapi.json        |  3 +++
2305
src/plugins/openapi/dbv0.0.38/openapi.json        |  3 +++
2310
3 files changed, 17 insertions(+)
2306
3 files changed, 17 insertions(+)
(-)a/NEWS (+2 lines)
Lines 111-116 documents those changes that are of interest to users and administrators. Link Here
111
    in openapi.json
111
    in openapi.json
112
 -- openapi/dbv0.0.38 - Correct type from object to array for user assocations
112
 -- openapi/dbv0.0.38 - Correct type from object to array for user assocations
113
    list in openapi.json.
113
    list in openapi.json.
114
 -- openapi/dbv0.0.38 - Add missing field for tres minutes per qos in qos list
115
    in openapi.json.
114
116
115
* Changes in Slurm 21.08.7
117
* Changes in Slurm 21.08.7
116
==========================
118
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+12 lines)
Lines 208-213 Link Here
208
</tr>
208
</tr>
209
</table>
209
</table>
210
210
211
<h4>Add missing field</h4>
212
<table class="tchange">
213
<tr class="trchange">
214
	<td class="tdfield">new field</td>
215
	<td class="tdchange" colspan=2>
216
		<ul>
217
			<li>.components.schemas."dbv0.0.38_qos".properties.limits.properties.max.properties.tres.properties.minutes.properties.per.properties.qos</li>
218
		</ul>
219
	</td>
220
</tr>
221
</table>
222
211
<h4>Add requestBody field and associated schema</h4>
223
<h4>Add requestBody field and associated schema</h4>
212
<table class="tchange">
224
<table class="tchange">
213
<tr class="trchange">
225
<tr class="trchange">
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-2 / +3 lines)
Lines 2717-2722 Link Here
2717
                              },
2717
                              },
2718
                              "user": {
2718
                              "user": {
2719
                                "$ref": "#/components/schemas/dbv0.0.38_tres_list"
2719
                                "$ref": "#/components/schemas/dbv0.0.38_tres_list"
2720
                              },
2721
                              "qos": {
2722
                                "$ref": "#/components/schemas/dbv0.0.38_tres_list"
2720
                              }
2723
                              }
2721
                            }
2724
                            }
2722
                          }
2725
                          }
2723
- 
2724
list in openapi.json
2726
list in openapi.json
2725
--
2726
NEWS                                              | 1 +
2727
NEWS                                              | 1 +
2727
doc/html/openapi_release_notes/slurm-22.05.0.html | 1 +
2728
doc/html/openapi_release_notes/slurm-22.05.0.html | 1 +
2728
src/plugins/openapi/dbv0.0.38/openapi.json        | 4 ++++
2729
src/plugins/openapi/dbv0.0.38/openapi.json        | 4 ++++
2729
3 files changed, 6 insertions(+)
2730
3 files changed, 6 insertions(+)
(-)a/NEWS (+1 lines)
Lines 113-118 documents those changes that are of interest to users and administrators. Link Here
113
    list in openapi.json.
113
    list in openapi.json.
114
 -- openapi/dbv0.0.38 - Add missing field for tres minutes per qos in qos list
114
 -- openapi/dbv0.0.38 - Add missing field for tres minutes per qos in qos list
115
    in openapi.json.
115
    in openapi.json.
116
 -- openapi/dbv0.0.38 - Add missing field for name in qos list in openapi.json.
116
117
117
* Changes in Slurm 21.08.7
118
* Changes in Slurm 21.08.7
118
==========================
119
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+1 lines)
Lines 215-220 Link Here
215
	<td class="tdchange" colspan=2>
215
	<td class="tdchange" colspan=2>
216
		<ul>
216
		<ul>
217
			<li>.components.schemas."dbv0.0.38_qos".properties.limits.properties.max.properties.tres.properties.minutes.properties.per.properties.qos</li>
217
			<li>.components.schemas."dbv0.0.38_qos".properties.limits.properties.max.properties.tres.properties.minutes.properties.per.properties.qos</li>
218
			<li>.components.schemas."dbv0.0.38_qos".properties.name</li>
218
		</ul>
219
		</ul>
219
	</td>
220
	</td>
220
</tr>
221
</tr>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-2 / +4 lines)
Lines 2811-2816 Link Here
2811
          "usage_threshold": {
2811
          "usage_threshold": {
2812
            "type": "number",
2812
            "type": "number",
2813
            "description": "Usage threshold"
2813
            "description": "Usage threshold"
2814
          },
2815
          "name": {
2816
            "description": "Assigned name of QOS",
2817
            "type": "string"
2814
          }
2818
          }
2815
        }
2819
        }
2816
      },
2820
      },
2817
- 
2818
openapi.json
2821
openapi.json
2819
--
2820
NEWS                                              |  1 +
2822
NEWS                                              |  1 +
2821
doc/html/openapi_release_notes/slurm-22.05.0.html | 12 ++++++++++++
2823
doc/html/openapi_release_notes/slurm-22.05.0.html | 12 ++++++++++++
2822
src/plugins/openapi/dbv0.0.38/openapi.json        |  6 +-----
2824
src/plugins/openapi/dbv0.0.38/openapi.json        |  6 +-----
2823
3 files changed, 14 insertions(+), 5 deletions(-)
2825
3 files changed, 14 insertions(+), 5 deletions(-)
(-)a/NEWS (+1 lines)
Lines 114-119 documents those changes that are of interest to users and administrators. Link Here
114
 -- openapi/dbv0.0.38 - Add missing field for tres minutes per qos in qos list
114
 -- openapi/dbv0.0.38 - Add missing field for tres minutes per qos in qos list
115
    in openapi.json.
115
    in openapi.json.
116
 -- openapi/dbv0.0.38 - Add missing field for name in qos list in openapi.json.
116
 -- openapi/dbv0.0.38 - Add missing field for name in qos list in openapi.json.
117
 -- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json.
117
118
118
* Changes in Slurm 21.08.7
119
* Changes in Slurm 21.08.7
119
==========================
120
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+12 lines)
Lines 221-226 Link Here
221
</tr>
221
</tr>
222
</table>
222
</table>
223
223
224
<h4>Correct field type to reference</h4>
225
<table class="tchange">
226
<tr class="trchange">
227
	<td class="tdfield">modified field</td>
228
	<td class="tdchange" colspan=2>
229
		<ul>
230
			<li>.components.schemas."dbv0.0.38_config_info".properties.tres</li>
231
		</ul>
232
	</td>
233
</tr>
234
</table>
235
224
<h4>Add requestBody field and associated schema</h4>
236
<h4>Add requestBody field and associated schema</h4>
225
<table class="tchange">
237
<table class="tchange">
226
<tr class="trchange">
238
<tr class="trchange">
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-7 / +1 lines)
Lines 2899-2909 Link Here
2899
            }
2899
            }
2900
          },
2900
          },
2901
          "tres": {
2901
          "tres": {
2902
            "type": "array",
2902
            "$ref": "#/components/schemas/dbv0.0.36_tres_list"
2903
            "description": "Array of tres",
2904
            "items": {
2905
              "$ref": "#/components/schemas/dbv0.0.38_tres_list"
2906
            }
2907
          }
2903
          }
2908
        }
2904
        }
2909
      },
2905
      },
2910
- 
2911
jobs in openapi.json
2906
jobs in openapi.json
2912
--
2913
NEWS                                              | 1 +
2907
NEWS                                              | 1 +
2914
doc/html/openapi_release_notes/slurm-22.05.0.html | 2 ++
2908
doc/html/openapi_release_notes/slurm-22.05.0.html | 2 ++
2915
src/plugins/openapi/dbv0.0.38/openapi.json        | 4 ++--
2909
src/plugins/openapi/dbv0.0.38/openapi.json        | 4 ++--
2916
3 files changed, 5 insertions(+), 2 deletions(-)
2910
3 files changed, 5 insertions(+), 2 deletions(-)
(-)a/NEWS (+1 lines)
Lines 115-120 documents those changes that are of interest to users and administrators. Link Here
115
    in openapi.json.
115
    in openapi.json.
116
 -- openapi/dbv0.0.38 - Add missing field for name in qos list in openapi.json.
116
 -- openapi/dbv0.0.38 - Add missing field for name in qos list in openapi.json.
117
 -- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json.
117
 -- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json.
118
 -- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
118
119
119
* Changes in Slurm 21.08.7
120
* Changes in Slurm 21.08.7
120
==========================
121
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+2 lines)
Lines 228-233 Link Here
228
	<td class="tdchange" colspan=2>
228
	<td class="tdchange" colspan=2>
229
		<ul>
229
		<ul>
230
			<li>.components.schemas."dbv0.0.38_config_info".properties.tres</li>
230
			<li>.components.schemas."dbv0.0.38_config_info".properties.tres</li>
231
			<li>.components.schemas."dbv0.0.38".properties.het.properties.job_id</li>
232
			<li>.components.schemas."dbv0.0.38".properties.het.properties.job_offset</li>
231
		</ul>
233
		</ul>
232
	</td>
234
	</td>
233
</tr>
235
</tr>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-4 / +2 lines)
Lines 3130-3140 Link Here
3130
            "description": "Heterogeneous Job details (optional)",
3130
            "description": "Heterogeneous Job details (optional)",
3131
            "properties": {
3131
            "properties": {
3132
              "job_id": {
3132
              "job_id": {
3133
                "type": "object",
3133
                "type": "integer",
3134
                "description": "Parent HetJob id"
3134
                "description": "Parent HetJob id"
3135
              },
3135
              },
3136
              "job_offset": {
3136
              "job_offset": {
3137
                "type": "object",
3137
                "type": "integer",
3138
                "description": "Offset of this job to parent"
3138
                "description": "Offset of this job to parent"
3139
              }
3139
              }
3140
            }
3140
            }
3141
- 
3142
openapi.json
3141
openapi.json
3143
--
3144
NEWS                                              |  1 +
3142
NEWS                                              |  1 +
3145
doc/html/openapi_release_notes/slurm-22.05.0.html |  1 +
3143
doc/html/openapi_release_notes/slurm-22.05.0.html |  1 +
3146
src/plugins/openapi/dbv0.0.38/openapi.json        | 10 ++--------
3144
src/plugins/openapi/dbv0.0.38/openapi.json        | 10 ++--------
3147
3 files changed, 4 insertions(+), 8 deletions(-)
3145
3 files changed, 4 insertions(+), 8 deletions(-)
(-)a/NEWS (+1 lines)
Lines 116-121 documents those changes that are of interest to users and administrators. Link Here
116
 -- openapi/dbv0.0.38 - Add missing field for name in qos list in openapi.json.
116
 -- openapi/dbv0.0.38 - Add missing field for name in qos list in openapi.json.
117
 -- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json.
117
 -- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json.
118
 -- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
118
 -- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
119
 -- openapi/dbv0.0.38 - Correct task type for job steps in openapi.json.
119
120
120
* Changes in Slurm 21.08.7
121
* Changes in Slurm 21.08.7
121
==========================
122
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+1 lines)
Lines 230-235 Link Here
230
			<li>.components.schemas."dbv0.0.38_config_info".properties.tres</li>
230
			<li>.components.schemas."dbv0.0.38_config_info".properties.tres</li>
231
			<li>.components.schemas."dbv0.0.38".properties.het.properties.job_id</li>
231
			<li>.components.schemas."dbv0.0.38".properties.het.properties.job_id</li>
232
			<li>.components.schemas."dbv0.0.38".properties.het.properties.job_offset</li>
232
			<li>.components.schemas."dbv0.0.38".properties.het.properties.job_offset</li>
233
			<li>.components.schemas."dbv0.0.38_job_step".properties.task</li>
233
		</ul>
234
		</ul>
234
	</td>
235
	</td>
235
</tr>
236
</tr>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-10 / +2 lines)
Lines 3482-3495 Link Here
3482
            }
3482
            }
3483
          },
3483
          },
3484
          "task": {
3484
          "task": {
3485
            "type": "object",
3485
            "description": "Task distribution properties",
3486
            "description": "Task properties",
3486
            "type": "string"
3487
            "properties": {
3488
              "distribution": {
3489
                "type": "string",
3490
                "description": "Task distribution type"
3491
              }
3492
            }
3493
          },
3487
          },
3494
          "tres": {
3488
          "tres": {
3495
            "type": "object",
3489
            "type": "object",
3496
- 
3497
openapi.json
3490
openapi.json
3498
--
3499
NEWS                                              |  1 +
3491
NEWS                                              |  1 +
3500
doc/html/openapi_release_notes/slurm-22.05.0.html |  3 +++
3492
doc/html/openapi_release_notes/slurm-22.05.0.html |  3 +++
3501
src/plugins/openapi/dbv0.0.38/openapi.json        | 12 ++++++++++--
3493
src/plugins/openapi/dbv0.0.38/openapi.json        | 12 ++++++++++--
3502
3 files changed, 14 insertions(+), 2 deletions(-)
3494
3 files changed, 14 insertions(+), 2 deletions(-)
(-)a/NEWS (+1 lines)
Lines 117-122 documents those changes that are of interest to users and administrators. Link Here
117
 -- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json.
117
 -- openapi/dbv0.0.38 - Correct tres field in qos list in openapi.json.
118
 -- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
118
 -- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
119
 -- openapi/dbv0.0.38 - Correct task type for job steps in openapi.json.
119
 -- openapi/dbv0.0.38 - Correct task type for job steps in openapi.json.
120
 -- openapi/dbv0.0.38 - Sync fields for errors to source in openapi.json.
120
121
121
* Changes in Slurm 21.08.7
122
* Changes in Slurm 21.08.7
122
==========================
123
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+3 lines)
Lines 191-196 Link Here
191
	<td class="tdchange" colspan=2>
191
	<td class="tdchange" colspan=2>
192
		<ul>
192
		<ul>
193
			<li>.components.schemas."dbv0.0.38_response_association_delete".properties.removed_associations</li>
193
			<li>.components.schemas."dbv0.0.38_response_association_delete".properties.removed_associations</li>
194
			<li>.components.schemas."dbv0.0.38_error".properties.error_number</li>
195
			<li>.components.schemas."dbv0.0.38_error".properties.source</li>
196
			<li>.components.schemas."dbv0.0.38_error".properties.description</li>
194
		</ul>
197
		</ul>
195
	</td>
198
	</td>
196
</tr>
199
</tr>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (-4 / +10 lines)
Lines 3628-3640 Link Here
3628
      },
3628
      },
3629
      "dbv0.0.38_error": {
3629
      "dbv0.0.38_error": {
3630
        "properties": {
3630
        "properties": {
3631
          "errno": {
3631
          "error_number": {
3632
            "description": "Error number",
3632
            "description": "Slurm internal error number",
3633
            "type": "integer"
3633
            "type": "integer"
3634
          },
3634
          },
3635
          "error": {
3635
          "error": {
3636
            "description": "Error message",
3636
            "description": "Error message",
3637
            "type": "string"
3637
            "type": "string"
3638
          },
3639
          "source": {
3640
            "description": "Where error occured in the source",
3641
            "type": "string"
3642
          },
3643
          "description": {
3644
            "description": "Explaination of cause of error",
3645
            "type": "string"
3638
          }
3646
          }
3639
        },
3647
        },
3640
        "type": "object"
3648
        "type": "object"
3641
- 
3642
clusters in clusters list in openapi.json
3649
clusters in clusters list in openapi.json
3643
--
3644
NEWS                                          |  2 +
3650
NEWS                                          |  2 +
3645
.../openapi_release_notes/slurm-22.05.0.html  |  2 +
3651
.../openapi_release_notes/slurm-22.05.0.html  |  2 +
3646
src/plugins/openapi/dbv0.0.38/openapi.json    | 40 +++++++++++++++++++
3652
src/plugins/openapi/dbv0.0.38/openapi.json    | 40 +++++++++++++++++++
3647
src/plugins/openapi/v0.0.38/openapi.json      |  6 +--
3653
src/plugins/openapi/v0.0.38/openapi.json      |  6 +--
3648
4 files changed, 45 insertions(+), 5 deletions(-)
3654
4 files changed, 45 insertions(+), 5 deletions(-)
(-)a/NEWS (+2 lines)
Lines 118-123 documents those changes that are of interest to users and administrators. Link Here
118
 -- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
118
 -- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
119
 -- openapi/dbv0.0.38 - Correct task type for job steps in openapi.json.
119
 -- openapi/dbv0.0.38 - Correct task type for job steps in openapi.json.
120
 -- openapi/dbv0.0.38 - Sync fields for errors to source in openapi.json.
120
 -- openapi/dbv0.0.38 - Sync fields for errors to source in openapi.json.
121
 -- openapi/dbv0.0.38 - Add missing field for adding clusters in clusters list
122
    in openapi.json.
121
123
122
* Changes in Slurm 21.08.7
124
* Changes in Slurm 21.08.7
123
==========================
125
==========================
(-)a/doc/html/openapi_release_notes/slurm-22.05.0.html (+2 lines)
Lines 194-199 Link Here
194
			<li>.components.schemas."dbv0.0.38_error".properties.error_number</li>
194
			<li>.components.schemas."dbv0.0.38_error".properties.error_number</li>
195
			<li>.components.schemas."dbv0.0.38_error".properties.source</li>
195
			<li>.components.schemas."dbv0.0.38_error".properties.source</li>
196
			<li>.components.schemas."dbv0.0.38_error".properties.description</li>
196
			<li>.components.schemas."dbv0.0.38_error".properties.description</li>
197
			<li>.components.schemas."/clusters/".properties.post.properties.requestBody</li>
198
			<li>.components.schemas."dbv0.0.38_clusters_properties"</li>
197
		</ul>
199
		</ul>
198
	</td>
200
	</td>
199
</tr>
201
</tr>
(-)a/src/plugins/openapi/dbv0.0.38/openapi.json (+40 lines)
Lines 1028-1033 Link Here
1028
          }
1028
          }
1029
        },
1029
        },
1030
        "summary": "Add clusters"
1030
        "summary": "Add clusters"
1031
	    "description": "Unable to add cluster",
1032
	    "content": {
1033
	      "application/json": {
1034
		"schema": {
1035
		  "$ref": "#/components/schemas/dbv0.0.38_errors"
1036
		}
1037
	      },
1038
	      "application/x-yaml": {
1039
		"schema": {
1040
		  "$ref": "#/components/schemas/dbv0.0.38_errors"
1041
		}
1042
	      }
1043
	    }
1044
	  }
1045
	},
1046
	"summary": "Add clusters",
1047
	"requestBody": {
1048
	  "description": "Add or update clusters",
1049
	  "content": {
1050
	    "application/json": {
1051
	      "schema": {
1052
		"$ref": "#/components/schemas/dbv0.0.38_clusters_properties"
1053
	      }
1054
	    },
1055
	    "application/x-yaml": {
1056
	      "schema": {
1057
		"$ref": "#/components/schemas/dbv0.0.38_clusters_properties"
1058
	      }
1059
	    }
1060
	  },
1061
	  "required": true
1062
	}
1031
      }
1063
      }
1032
    },
1064
    },
1033
    "/wckey/{wckey}": {
1065
    "/wckey/{wckey}": {
Lines 3711-3716 Link Here
3711
            }
3743
            }
3712
          }
3744
          }
3713
        }
3745
        }
3746
      },
3747
      "dbv0.0.38_clusters_properties": {
3748
	"type": "object",
3749
	"properties": {
3750
	  "clusters": {
3751
	    "$ref": "#/components/schemas/dbv0.0.38_cluster_info"
3752
	  }
3753
	}
3714
      }
3754
      }
3715
    }
3755
    }
3716
  }
3756
  }
(-)a/src/plugins/openapi/v0.0.38/openapi.json (-6 / +1 lines)
Lines 1874-1884 Link Here
1874
            "description": "number of assigned job hosts"
1874
            "description": "number of assigned job hosts"
1875
          },
1875
          },
1876
          "allocated_nodes": {
1876
          "allocated_nodes": {
1877
            "type": "object",
1877
            "$ref": "#/components/schemas/v0.0.38_node_allocation"
1878
            "description": "node allocations",
1879
            "properties": {
1880
              "$ref": "#/components/schemas/v0.0.38_node_allocation"
1881
            }
1882
          }
1878
          }
1883
        }
1879
        }
1884
      },
1880
      },
1885
- 

Return to ticket 12897