@backstage/plugin-catalog-backend 1.15.0 → 1.15.1-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/alpha/package.json +1 -1
- package/dist/alpha.cjs.js +1 -1
- package/dist/cjs/{CatalogBuilder-2ff47757.cjs.js → CatalogBuilder-948d91db.cjs.js} +64 -106
- package/dist/cjs/CatalogBuilder-948d91db.cjs.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/package.json +15 -14
- package/dist/cjs/CatalogBuilder-2ff47757.cjs.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend
|
|
2
2
|
|
|
3
|
+
## 1.15.1-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 38340678c3: Update the OpenAPI spec to support the use of `openapi-generator`.
|
|
8
|
+
- 7123c58b3d: Updated dependency `@types/glob` to `^8.0.0`.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/catalog-client@1.5.0-next.0
|
|
11
|
+
- @backstage/integration@1.8.0-next.1
|
|
12
|
+
- @backstage/backend-common@0.20.0-next.1
|
|
13
|
+
- @backstage/backend-openapi-utils@0.1.1-next.1
|
|
14
|
+
- @backstage/backend-plugin-api@0.6.8-next.1
|
|
15
|
+
- @backstage/backend-tasks@0.5.13-next.1
|
|
16
|
+
- @backstage/catalog-model@1.4.3
|
|
17
|
+
- @backstage/config@1.1.1
|
|
18
|
+
- @backstage/errors@1.2.3
|
|
19
|
+
- @backstage/types@1.1.1
|
|
20
|
+
- @backstage/plugin-auth-node@0.4.2-next.1
|
|
21
|
+
- @backstage/plugin-catalog-common@1.0.18
|
|
22
|
+
- @backstage/plugin-catalog-node@1.5.1-next.1
|
|
23
|
+
- @backstage/plugin-events-node@0.2.17-next.1
|
|
24
|
+
- @backstage/plugin-permission-common@0.7.10
|
|
25
|
+
- @backstage/plugin-permission-node@0.7.19-next.1
|
|
26
|
+
- @backstage/plugin-search-backend-module-catalog@0.1.12-next.1
|
|
27
|
+
|
|
28
|
+
## 1.15.1-next.0
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- @backstage/backend-common@0.20.0-next.0
|
|
34
|
+
- @backstage/backend-openapi-utils@0.1.1-next.0
|
|
35
|
+
- @backstage/backend-tasks@0.5.13-next.0
|
|
36
|
+
- @backstage/integration@1.8.0-next.0
|
|
37
|
+
- @backstage/plugin-auth-node@0.4.2-next.0
|
|
38
|
+
- @backstage/plugin-catalog-node@1.5.1-next.0
|
|
39
|
+
- @backstage/plugin-permission-node@0.7.19-next.0
|
|
40
|
+
- @backstage/plugin-search-backend-module-catalog@0.1.12-next.0
|
|
41
|
+
- @backstage/backend-plugin-api@0.6.8-next.0
|
|
42
|
+
- @backstage/catalog-client@1.4.6
|
|
43
|
+
- @backstage/catalog-model@1.4.3
|
|
44
|
+
- @backstage/config@1.1.1
|
|
45
|
+
- @backstage/errors@1.2.3
|
|
46
|
+
- @backstage/types@1.1.1
|
|
47
|
+
- @backstage/plugin-catalog-common@1.0.18
|
|
48
|
+
- @backstage/plugin-events-node@0.2.17-next.0
|
|
49
|
+
- @backstage/plugin-permission-common@0.7.10
|
|
50
|
+
|
|
3
51
|
## 1.15.0
|
|
4
52
|
|
|
5
53
|
### Minor Changes
|
package/alpha/package.json
CHANGED
package/dist/alpha.cjs.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var alpha = require('@backstage/plugin-catalog-common/alpha');
|
|
6
6
|
var pluginPermissionNode = require('@backstage/plugin-permission-node');
|
|
7
|
-
var CatalogBuilder = require('./cjs/CatalogBuilder-
|
|
7
|
+
var CatalogBuilder = require('./cjs/CatalogBuilder-948d91db.cjs.js');
|
|
8
8
|
var backendPluginApi = require('@backstage/backend-plugin-api');
|
|
9
9
|
var alpha$1 = require('@backstage/plugin-catalog-node/alpha');
|
|
10
10
|
var backendCommon = require('@backstage/backend-common');
|
|
@@ -3922,6 +3922,9 @@ const spec = {
|
|
|
3922
3922
|
servers: [
|
|
3923
3923
|
{
|
|
3924
3924
|
url: "/"
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
url: "catalog"
|
|
3925
3928
|
}
|
|
3926
3929
|
],
|
|
3927
3930
|
components: {
|
|
@@ -3992,6 +3995,7 @@ const spec = {
|
|
|
3992
3995
|
description: "Restrict to just these fields in the response.",
|
|
3993
3996
|
required: false,
|
|
3994
3997
|
allowReserved: true,
|
|
3998
|
+
explode: false,
|
|
3995
3999
|
schema: {
|
|
3996
4000
|
type: "array",
|
|
3997
4001
|
items: {
|
|
@@ -4134,13 +4138,14 @@ const spec = {
|
|
|
4134
4138
|
required: ["statusCode"]
|
|
4135
4139
|
}
|
|
4136
4140
|
},
|
|
4137
|
-
required: ["error", "response"]
|
|
4141
|
+
required: ["error", "response"],
|
|
4142
|
+
additionalProperties: {}
|
|
4138
4143
|
},
|
|
4139
4144
|
JsonObject: {
|
|
4140
4145
|
type: "object",
|
|
4141
4146
|
properties: {},
|
|
4142
4147
|
description: "A type representing all allowed JSON object values.",
|
|
4143
|
-
additionalProperties:
|
|
4148
|
+
additionalProperties: {}
|
|
4144
4149
|
},
|
|
4145
4150
|
MapStringString: {
|
|
4146
4151
|
type: "object",
|
|
@@ -4175,63 +4180,56 @@ const spec = {
|
|
|
4175
4180
|
additionalProperties: false
|
|
4176
4181
|
},
|
|
4177
4182
|
EntityMeta: {
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4183
|
+
type: "object",
|
|
4184
|
+
properties: {
|
|
4185
|
+
links: {
|
|
4186
|
+
type: "array",
|
|
4187
|
+
items: {
|
|
4188
|
+
$ref: "#/components/schemas/EntityLink"
|
|
4189
|
+
},
|
|
4190
|
+
description: "A list of external hyperlinks related to the entity."
|
|
4181
4191
|
},
|
|
4182
|
-
{
|
|
4183
|
-
type: "
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
type: "array",
|
|
4187
|
-
items: {
|
|
4188
|
-
$ref: "#/components/schemas/EntityLink"
|
|
4189
|
-
},
|
|
4190
|
-
description: "A list of external hyperlinks related to the entity."
|
|
4191
|
-
},
|
|
4192
|
-
tags: {
|
|
4193
|
-
type: "array",
|
|
4194
|
-
items: {
|
|
4195
|
-
type: "string"
|
|
4196
|
-
},
|
|
4197
|
-
description: "A list of single-valued strings, to for example classify catalog entities in\nvarious ways."
|
|
4198
|
-
},
|
|
4199
|
-
annotations: {
|
|
4200
|
-
$ref: "#/components/schemas/MapStringString"
|
|
4201
|
-
},
|
|
4202
|
-
labels: {
|
|
4203
|
-
$ref: "#/components/schemas/MapStringString"
|
|
4204
|
-
},
|
|
4205
|
-
description: {
|
|
4206
|
-
type: "string",
|
|
4207
|
-
description: "A short (typically relatively few words, on one line) description of the\nentity."
|
|
4208
|
-
},
|
|
4209
|
-
title: {
|
|
4210
|
-
type: "string",
|
|
4211
|
-
description: "A display name of the entity, to be presented in user interfaces instead\nof the `name` property above, when available.\nThis field is sometimes useful when the `name` is cumbersome or ends up\nbeing perceived as overly technical. The title generally does not have\nas stringent format requirements on it, so it may contain special\ncharacters and be more explanatory. Do keep it very short though, and\navoid situations where a title can be confused with the name of another\nentity, or where two entities share a title.\nNote that this is only for display purposes, and may be ignored by some\nparts of the code. Entity references still always make use of the `name`\nproperty, not the title."
|
|
4212
|
-
},
|
|
4213
|
-
namespace: {
|
|
4214
|
-
type: "string",
|
|
4215
|
-
description: "The namespace that the entity belongs to."
|
|
4216
|
-
},
|
|
4217
|
-
name: {
|
|
4218
|
-
type: "string",
|
|
4219
|
-
description: "The name of the entity.\nMust be unique within the catalog at any given point in time, for any\ngiven namespace + kind pair. This value is part of the technical\nidentifier of the entity, and as such it will appear in URLs, database\ntables, entity references, and similar. It is subject to restrictions\nregarding what characters are allowed.\nIf you want to use a different, more human readable string with fewer\nrestrictions on it in user interfaces, see the `title` field below."
|
|
4220
|
-
},
|
|
4221
|
-
etag: {
|
|
4222
|
-
type: "string",
|
|
4223
|
-
description: "An opaque string that changes for each update operation to any part of\nthe entity, including metadata.\nThis field can not be set by the user at creation time, and the server\nwill reject an attempt to do so. The field will be populated in read\noperations. The field can (optionally) be specified when performing\nupdate or delete operations, and the server will then reject the\noperation if it does not match the current stored value."
|
|
4224
|
-
},
|
|
4225
|
-
uid: {
|
|
4226
|
-
type: "string",
|
|
4227
|
-
description: "A globally unique ID for the entity.\nThis field can not be set by the user at creation time, and the server\nwill reject an attempt to do so. The field will be populated in read\noperations. The field can (optionally) be specified when performing\nupdate or delete operations, but the server is free to reject requests\nthat do so in such a way that it breaks semantics."
|
|
4228
|
-
}
|
|
4192
|
+
tags: {
|
|
4193
|
+
type: "array",
|
|
4194
|
+
items: {
|
|
4195
|
+
type: "string"
|
|
4229
4196
|
},
|
|
4230
|
-
|
|
4197
|
+
description: "A list of single-valued strings, to for example classify catalog entities in\nvarious ways."
|
|
4198
|
+
},
|
|
4199
|
+
annotations: {
|
|
4200
|
+
$ref: "#/components/schemas/MapStringString"
|
|
4201
|
+
},
|
|
4202
|
+
labels: {
|
|
4203
|
+
$ref: "#/components/schemas/MapStringString"
|
|
4204
|
+
},
|
|
4205
|
+
description: {
|
|
4206
|
+
type: "string",
|
|
4207
|
+
description: "A short (typically relatively few words, on one line) description of the\nentity."
|
|
4208
|
+
},
|
|
4209
|
+
title: {
|
|
4210
|
+
type: "string",
|
|
4211
|
+
description: "A display name of the entity, to be presented in user interfaces instead\nof the `name` property above, when available.\nThis field is sometimes useful when the `name` is cumbersome or ends up\nbeing perceived as overly technical. The title generally does not have\nas stringent format requirements on it, so it may contain special\ncharacters and be more explanatory. Do keep it very short though, and\navoid situations where a title can be confused with the name of another\nentity, or where two entities share a title.\nNote that this is only for display purposes, and may be ignored by some\nparts of the code. Entity references still always make use of the `name`\nproperty, not the title."
|
|
4212
|
+
},
|
|
4213
|
+
namespace: {
|
|
4214
|
+
type: "string",
|
|
4215
|
+
description: "The namespace that the entity belongs to."
|
|
4216
|
+
},
|
|
4217
|
+
name: {
|
|
4218
|
+
type: "string",
|
|
4219
|
+
description: "The name of the entity.\nMust be unique within the catalog at any given point in time, for any\ngiven namespace + kind pair. This value is part of the technical\nidentifier of the entity, and as such it will appear in URLs, database\ntables, entity references, and similar. It is subject to restrictions\nregarding what characters are allowed.\nIf you want to use a different, more human readable string with fewer\nrestrictions on it in user interfaces, see the `title` field below."
|
|
4220
|
+
},
|
|
4221
|
+
etag: {
|
|
4222
|
+
type: "string",
|
|
4223
|
+
description: "An opaque string that changes for each update operation to any part of\nthe entity, including metadata.\nThis field can not be set by the user at creation time, and the server\nwill reject an attempt to do so. The field will be populated in read\noperations. The field can (optionally) be specified when performing\nupdate or delete operations, and the server will then reject the\noperation if it does not match the current stored value."
|
|
4224
|
+
},
|
|
4225
|
+
uid: {
|
|
4226
|
+
type: "string",
|
|
4227
|
+
description: "A globally unique ID for the entity.\nThis field can not be set by the user at creation time, and the server\nwill reject an attempt to do so. The field will be populated in read\noperations. The field can (optionally) be specified when performing\nupdate or delete operations, but the server is free to reject requests\nthat do so in such a way that it breaks semantics."
|
|
4231
4228
|
}
|
|
4232
|
-
|
|
4229
|
+
},
|
|
4230
|
+
required: ["name"],
|
|
4233
4231
|
description: "Metadata fields common to all versions/kinds of entity.",
|
|
4234
|
-
additionalProperties:
|
|
4232
|
+
additionalProperties: {}
|
|
4235
4233
|
},
|
|
4236
4234
|
EntityRelation: {
|
|
4237
4235
|
type: "object",
|
|
@@ -4275,8 +4273,7 @@ const spec = {
|
|
|
4275
4273
|
}
|
|
4276
4274
|
},
|
|
4277
4275
|
required: ["metadata", "kind", "apiVersion"],
|
|
4278
|
-
description: "The parts of the format that's common to all versions/kinds of entity."
|
|
4279
|
-
additionalProperties: true
|
|
4276
|
+
description: "The parts of the format that's common to all versions/kinds of entity."
|
|
4280
4277
|
},
|
|
4281
4278
|
NullableEntity: {
|
|
4282
4279
|
type: "object",
|
|
@@ -4305,7 +4302,6 @@ const spec = {
|
|
|
4305
4302
|
},
|
|
4306
4303
|
required: ["metadata", "kind", "apiVersion"],
|
|
4307
4304
|
description: "The parts of the format that's common to all versions/kinds of entity.",
|
|
4308
|
-
additionalProperties: true,
|
|
4309
4305
|
nullable: true
|
|
4310
4306
|
},
|
|
4311
4307
|
EntityAncestryResponse: {
|
|
@@ -4342,11 +4338,7 @@ const spec = {
|
|
|
4342
4338
|
items: {
|
|
4343
4339
|
type: "array",
|
|
4344
4340
|
items: {
|
|
4345
|
-
|
|
4346
|
-
{
|
|
4347
|
-
$ref: "#/components/schemas/NullableEntity"
|
|
4348
|
-
}
|
|
4349
|
-
]
|
|
4341
|
+
$ref: "#/components/schemas/NullableEntity"
|
|
4350
4342
|
},
|
|
4351
4343
|
description: "The list of entities, in the same order as the refs in the request. Entries\nthat are null signify that no entity existed with that ref."
|
|
4352
4344
|
}
|
|
@@ -4364,6 +4356,7 @@ const spec = {
|
|
|
4364
4356
|
type: "number"
|
|
4365
4357
|
}
|
|
4366
4358
|
},
|
|
4359
|
+
required: ["value", "count"],
|
|
4367
4360
|
additionalProperties: false
|
|
4368
4361
|
},
|
|
4369
4362
|
EntityFacetsResponse: {
|
|
@@ -4635,6 +4628,7 @@ const spec = {
|
|
|
4635
4628
|
}
|
|
4636
4629
|
}
|
|
4637
4630
|
},
|
|
4631
|
+
required: ["items", "totalItems", "pageInfo"],
|
|
4638
4632
|
additionalProperties: false
|
|
4639
4633
|
}
|
|
4640
4634
|
},
|
|
@@ -4926,11 +4920,6 @@ const spec = {
|
|
|
4926
4920
|
JWT: []
|
|
4927
4921
|
}
|
|
4928
4922
|
],
|
|
4929
|
-
parameters: [
|
|
4930
|
-
{
|
|
4931
|
-
$ref: "#/components/parameters/fields"
|
|
4932
|
-
}
|
|
4933
|
-
],
|
|
4934
4923
|
requestBody: {
|
|
4935
4924
|
required: false,
|
|
4936
4925
|
content: {
|
|
@@ -5106,8 +5095,8 @@ const spec = {
|
|
|
5106
5095
|
operationId: "CreateLocation",
|
|
5107
5096
|
description: "Create a location for a given target.",
|
|
5108
5097
|
responses: {
|
|
5109
|
-
"
|
|
5110
|
-
description: "
|
|
5098
|
+
"201": {
|
|
5099
|
+
description: "Created",
|
|
5111
5100
|
content: {
|
|
5112
5101
|
"application/json": {
|
|
5113
5102
|
schema: {
|
|
@@ -5131,38 +5120,6 @@ const spec = {
|
|
|
5131
5120
|
}
|
|
5132
5121
|
}
|
|
5133
5122
|
},
|
|
5134
|
-
"201": {
|
|
5135
|
-
description: "201 response",
|
|
5136
|
-
content: {
|
|
5137
|
-
"application/json": {
|
|
5138
|
-
schema: {
|
|
5139
|
-
type: "object",
|
|
5140
|
-
properties: {
|
|
5141
|
-
location: {
|
|
5142
|
-
type: "object",
|
|
5143
|
-
properties: {
|
|
5144
|
-
id: {
|
|
5145
|
-
type: "string"
|
|
5146
|
-
},
|
|
5147
|
-
type: {
|
|
5148
|
-
type: "string"
|
|
5149
|
-
},
|
|
5150
|
-
target: {
|
|
5151
|
-
type: "string"
|
|
5152
|
-
}
|
|
5153
|
-
},
|
|
5154
|
-
required: ["id", "type", "target"]
|
|
5155
|
-
},
|
|
5156
|
-
entities: {
|
|
5157
|
-
type: "array",
|
|
5158
|
-
items: {}
|
|
5159
|
-
}
|
|
5160
|
-
},
|
|
5161
|
-
required: ["location", "entities"]
|
|
5162
|
-
}
|
|
5163
|
-
}
|
|
5164
|
-
}
|
|
5165
|
-
},
|
|
5166
5123
|
"400": {
|
|
5167
5124
|
$ref: "#/components/responses/ErrorResponse"
|
|
5168
5125
|
},
|
|
@@ -5372,7 +5329,7 @@ const spec = {
|
|
|
5372
5329
|
description: "Ok"
|
|
5373
5330
|
},
|
|
5374
5331
|
"400": {
|
|
5375
|
-
description: "
|
|
5332
|
+
description: "Validation errors.",
|
|
5376
5333
|
content: {
|
|
5377
5334
|
"application/json; charset=utf-8": {
|
|
5378
5335
|
schema: {
|
|
@@ -5390,7 +5347,8 @@ const spec = {
|
|
|
5390
5347
|
type: "string"
|
|
5391
5348
|
}
|
|
5392
5349
|
},
|
|
5393
|
-
required: ["name", "message"]
|
|
5350
|
+
required: ["name", "message"],
|
|
5351
|
+
additionalProperties: {}
|
|
5394
5352
|
}
|
|
5395
5353
|
}
|
|
5396
5354
|
},
|
|
@@ -5419,7 +5377,7 @@ const spec = {
|
|
|
5419
5377
|
},
|
|
5420
5378
|
entity: {
|
|
5421
5379
|
type: "object",
|
|
5422
|
-
additionalProperties:
|
|
5380
|
+
additionalProperties: {}
|
|
5423
5381
|
}
|
|
5424
5382
|
},
|
|
5425
5383
|
required: ["location", "entity"]
|
|
@@ -7294,4 +7252,4 @@ exports.createCatalogPermissionRule = createCatalogPermissionRule;
|
|
|
7294
7252
|
exports.createRandomProcessingInterval = createRandomProcessingInterval;
|
|
7295
7253
|
exports.parseEntityYaml = parseEntityYaml;
|
|
7296
7254
|
exports.permissionRules = permissionRules;
|
|
7297
|
-
//# sourceMappingURL=CatalogBuilder-
|
|
7255
|
+
//# sourceMappingURL=CatalogBuilder-948d91db.cjs.js.map
|