@backstage/plugin-catalog-backend-module-unprocessed 0.6.5-next.0 → 0.6.6-next.0

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 CHANGED
@@ -1,5 +1,30 @@
1
1
  # @backstage/plugin-catalog-backend-module-unprocessed
2
2
 
3
+ ## 0.6.6-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript's `erasableSyntaxOnly` setting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.
8
+ - Updated dependencies
9
+ - @backstage/plugin-auth-node@0.6.9-next.0
10
+ - @backstage/catalog-model@1.7.6-next.0
11
+ - @backstage/backend-plugin-api@1.4.5-next.0
12
+ - @backstage/errors@1.2.7
13
+ - @backstage/plugin-catalog-node@1.19.2-next.0
14
+ - @backstage/plugin-catalog-unprocessed-entities-common@0.0.11-next.0
15
+ - @backstage/plugin-permission-common@0.9.3-next.0
16
+
17
+ ## 0.6.5
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+ - @backstage/backend-plugin-api@1.4.4
23
+ - @backstage/plugin-auth-node@0.6.8
24
+ - @backstage/plugin-catalog-node@1.19.1
25
+ - @backstage/plugin-catalog-unprocessed-entities-common@0.0.10
26
+ - @backstage/plugin-permission-common@0.9.2
27
+
3
28
  ## 0.6.5-next.0
4
29
 
5
30
  ### Patch Changes
@@ -10,6 +10,11 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
10
10
  var Router__default = /*#__PURE__*/_interopDefaultCompat(Router);
11
11
 
12
12
  class UnprocessedEntitiesModule {
13
+ moduleRouter;
14
+ httpAuth;
15
+ database;
16
+ router;
17
+ permissions;
13
18
  constructor(database, router, permissions, httpAuth) {
14
19
  this.database = database;
15
20
  this.router = router;
@@ -18,8 +23,6 @@ class UnprocessedEntitiesModule {
18
23
  this.router.use(this.moduleRouter);
19
24
  this.httpAuth = httpAuth;
20
25
  }
21
- moduleRouter;
22
- httpAuth;
23
26
  static create(options) {
24
27
  return new UnprocessedEntitiesModule(
25
28
  options.database,
@@ -1 +1 @@
1
- {"version":3,"file":"UnprocessedEntitiesModule.cjs.js","sources":["../src/UnprocessedEntitiesModule.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n HydratedRefreshState,\n RefreshState,\n UnprocessedEntitiesRequest,\n UnprocessedEntitiesResponse,\n} from './types';\nimport { Knex } from 'knex';\nimport {\n HttpAuthService,\n HttpRouterService,\n PermissionsService,\n} from '@backstage/backend-plugin-api';\nimport Router from 'express-promise-router';\nimport type { Request } from 'express';\n\nimport {\n AuthorizeResult,\n BasicPermission,\n} from '@backstage/plugin-permission-common';\nimport { unprocessedEntitiesDeletePermission } from '@backstage/plugin-catalog-unprocessed-entities-common';\nimport { NotAllowedError } from '@backstage/errors';\n\n/**\n * Module providing Unprocessed Entities API endpoints\n *\n * @internal\n */\nexport class UnprocessedEntitiesModule {\n private readonly moduleRouter;\n\n private readonly httpAuth: HttpAuthService;\n\n private constructor(\n private readonly database: Knex,\n private readonly router: Pick<HttpRouterService, 'use'>,\n private readonly permissions: PermissionsService,\n httpAuth: HttpAuthService,\n ) {\n this.moduleRouter = Router();\n this.router.use(this.moduleRouter);\n\n this.httpAuth = httpAuth;\n }\n\n static create(options: {\n router: Pick<HttpRouterService, 'use'>;\n database: Knex;\n permissions: PermissionsService;\n httpAuth: HttpAuthService;\n }) {\n return new UnprocessedEntitiesModule(\n options.database,\n options.router,\n options.permissions,\n options.httpAuth,\n );\n }\n\n private async unprocessed(\n request: UnprocessedEntitiesRequest,\n ): Promise<UnprocessedEntitiesResponse> {\n if (request.reason === 'pending') {\n return {\n type: 'pending',\n entities: await this.pending(request.owner),\n };\n }\n return {\n type: 'failed',\n entities: await this.failed(request.owner),\n };\n }\n\n private hydrateRefreshState(r: RefreshState): HydratedRefreshState {\n return {\n ...r,\n unprocessed_entity: JSON.parse(r.unprocessed_entity),\n ...(r.processed_entity && {\n processed_entity: JSON.parse(r.processed_entity),\n }),\n ...(r.errors && { errors: JSON.parse(r.errors) }),\n ...(r.cache && { cache: JSON.parse(r.cache) }),\n };\n }\n\n private async pending(owner?: string): Promise<HydratedRefreshState[]> {\n const res = (\n await this.database('refresh_state.*')\n .from('refresh_state')\n .leftJoin(\n 'final_entities',\n 'final_entities.entity_id',\n 'refresh_state.entity_id',\n )\n .whereNull('final_entities.entity_id')\n ).map(this.hydrateRefreshState);\n if (owner) {\n return res.filter(r => r.unprocessed_entity.spec?.owner === owner);\n }\n\n return res;\n }\n\n private async failed(owner?: string): Promise<HydratedRefreshState[]> {\n const res = (\n await this.database('refresh_state.*')\n .from('refresh_state')\n .rightJoin(\n 'final_entities',\n 'final_entities.entity_id',\n 'refresh_state.entity_id',\n )\n .whereNull('final_entities.final_entity')\n ).map(this.hydrateRefreshState);\n if (owner) {\n return res.filter(r => r.unprocessed_entity.spec?.owner === owner);\n }\n\n return res;\n }\n\n registerRoutes() {\n const isRequestAuthorized = async (\n req: Request,\n permission: BasicPermission,\n ): Promise<boolean> => {\n const decision = (\n await this.permissions.authorize([{ permission }], {\n credentials: await this.httpAuth.credentials(req),\n })\n )[0];\n\n return decision.result !== AuthorizeResult.DENY;\n };\n\n this.moduleRouter\n .get('/entities/unprocessed/failed', async (req, res) => {\n return res.json(\n await this.unprocessed({\n reason: 'failed',\n owner:\n typeof req.query.owner === 'string' ? req.query.owner : undefined,\n }),\n );\n })\n .get('/entities/unprocessed/pending', async (req, res) => {\n return res.json(\n await this.unprocessed({\n reason: 'pending',\n owner:\n typeof req.query.owner === 'string' ? req.query.owner : undefined,\n }),\n );\n })\n .delete(\n '/entities/unprocessed/delete/:entity_id',\n async (request, response) => {\n const authorized = await isRequestAuthorized(\n request,\n unprocessedEntitiesDeletePermission,\n );\n\n if (!authorized) {\n throw new NotAllowedError('Unauthorized');\n }\n\n await this.database('refresh_state')\n .where({ entity_id: request.params.entity_id })\n .delete();\n\n response.status(204).send();\n },\n );\n }\n}\n"],"names":["Router","AuthorizeResult","unprocessedEntitiesDeletePermission","NotAllowedError"],"mappings":";;;;;;;;;;;AA2CO,MAAM,yBAAA,CAA0B;AAAA,EAK7B,WAAA,CACW,QAAA,EACA,MAAA,EACA,WAAA,EACjB,QAAA,EACA;AAJiB,IAAA,IAAA,CAAA,QAAA,GAAA,QAAA;AACA,IAAA,IAAA,CAAA,MAAA,GAAA,MAAA;AACA,IAAA,IAAA,CAAA,WAAA,GAAA,WAAA;AAGjB,IAAA,IAAA,CAAK,eAAeA,uBAAA,EAAO;AAC3B,IAAA,IAAA,CAAK,MAAA,CAAO,GAAA,CAAI,IAAA,CAAK,YAAY,CAAA;AAEjC,IAAA,IAAA,CAAK,QAAA,GAAW,QAAA;AAAA,EAClB;AAAA,EAdiB,YAAA;AAAA,EAEA,QAAA;AAAA,EAcjB,OAAO,OAAO,OAAA,EAKX;AACD,IAAA,OAAO,IAAI,yBAAA;AAAA,MACT,OAAA,CAAQ,QAAA;AAAA,MACR,OAAA,CAAQ,MAAA;AAAA,MACR,OAAA,CAAQ,WAAA;AAAA,MACR,OAAA,CAAQ;AAAA,KACV;AAAA,EACF;AAAA,EAEA,MAAc,YACZ,OAAA,EACsC;AACtC,IAAA,IAAI,OAAA,CAAQ,WAAW,SAAA,EAAW;AAChC,MAAA,OAAO;AAAA,QACL,IAAA,EAAM,SAAA;AAAA,QACN,QAAA,EAAU,MAAM,IAAA,CAAK,OAAA,CAAQ,QAAQ,KAAK;AAAA,OAC5C;AAAA,IAC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AAI,KAAA,CAAM,UAAU,QAAA,GAAW,GAAA,CAAI,MAAM,KAAA,GAAQ;AAAA,SAC3D;AAAA,OACH;AAAA,IACF,CAAC,CAAA,CACA,MAAA;AAAA,MACC,yCAAA;AAAA,MACA,OAAO,SAAS,QAAA,KAAa;AAC3B,QAAA,MAAM,aAAa,MAAM,mBAAA;AAAA,UACvB,OAAA;AAAA,UACAC;AAAA,SACF;AAEA,QAAA,IAAI,CAAC,UAAA,EAAY;AACf,UAAA,MAAM,IAAIC,uBAAgB,cAAc,CAAA;AAAA,QAC1C;AAEA,QAAA,MAAM,IAAA,CAAK,QAAA,CAAS,eAAe,CAAA,CAChC,KAAA,CAAM,EAAE,SAAA,EAAW,OAAA,CAAQ,MAAA,CAAO,SAAA,EAAW,CAAA,CAC7C,MAAA,EAAO;AAEV,QAAA,QAAA,CAAS,MAAA,CAAO,GAAG,CAAA,CAAE,IAAA,EAAK;AAAA,MAC5B;AAAA,KACF;AAAA,EACJ;AACF;;;;"}
1
+ {"version":3,"file":"UnprocessedEntitiesModule.cjs.js","sources":["../src/UnprocessedEntitiesModule.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n HydratedRefreshState,\n RefreshState,\n UnprocessedEntitiesRequest,\n UnprocessedEntitiesResponse,\n} from './types';\nimport { Knex } from 'knex';\nimport {\n HttpAuthService,\n HttpRouterService,\n PermissionsService,\n} from '@backstage/backend-plugin-api';\nimport Router from 'express-promise-router';\nimport type { Request } from 'express';\n\nimport {\n AuthorizeResult,\n BasicPermission,\n} from '@backstage/plugin-permission-common';\nimport { unprocessedEntitiesDeletePermission } from '@backstage/plugin-catalog-unprocessed-entities-common';\nimport { NotAllowedError } from '@backstage/errors';\n\n/**\n * Module providing Unprocessed Entities API endpoints\n *\n * @internal\n */\nexport class UnprocessedEntitiesModule {\n private readonly moduleRouter;\n\n private readonly httpAuth: HttpAuthService;\n\n private readonly database: Knex;\n private readonly router: Pick<HttpRouterService, 'use'>;\n private readonly permissions: PermissionsService;\n\n private constructor(\n database: Knex,\n router: Pick<HttpRouterService, 'use'>,\n permissions: PermissionsService,\n httpAuth: HttpAuthService,\n ) {\n this.database = database;\n this.router = router;\n this.permissions = permissions;\n this.moduleRouter = Router();\n this.router.use(this.moduleRouter);\n\n this.httpAuth = httpAuth;\n }\n\n static create(options: {\n router: Pick<HttpRouterService, 'use'>;\n database: Knex;\n permissions: PermissionsService;\n httpAuth: HttpAuthService;\n }) {\n return new UnprocessedEntitiesModule(\n options.database,\n options.router,\n options.permissions,\n options.httpAuth,\n );\n }\n\n private async unprocessed(\n request: UnprocessedEntitiesRequest,\n ): Promise<UnprocessedEntitiesResponse> {\n if (request.reason === 'pending') {\n return {\n type: 'pending',\n entities: await this.pending(request.owner),\n };\n }\n return {\n type: 'failed',\n entities: await this.failed(request.owner),\n };\n }\n\n private hydrateRefreshState(r: RefreshState): HydratedRefreshState {\n return {\n ...r,\n unprocessed_entity: JSON.parse(r.unprocessed_entity),\n ...(r.processed_entity && {\n processed_entity: JSON.parse(r.processed_entity),\n }),\n ...(r.errors && { errors: JSON.parse(r.errors) }),\n ...(r.cache && { cache: JSON.parse(r.cache) }),\n };\n }\n\n private async pending(owner?: string): Promise<HydratedRefreshState[]> {\n const res = (\n await this.database('refresh_state.*')\n .from('refresh_state')\n .leftJoin(\n 'final_entities',\n 'final_entities.entity_id',\n 'refresh_state.entity_id',\n )\n .whereNull('final_entities.entity_id')\n ).map(this.hydrateRefreshState);\n if (owner) {\n return res.filter(r => r.unprocessed_entity.spec?.owner === owner);\n }\n\n return res;\n }\n\n private async failed(owner?: string): Promise<HydratedRefreshState[]> {\n const res = (\n await this.database('refresh_state.*')\n .from('refresh_state')\n .rightJoin(\n 'final_entities',\n 'final_entities.entity_id',\n 'refresh_state.entity_id',\n )\n .whereNull('final_entities.final_entity')\n ).map(this.hydrateRefreshState);\n if (owner) {\n return res.filter(r => r.unprocessed_entity.spec?.owner === owner);\n }\n\n return res;\n }\n\n registerRoutes() {\n const isRequestAuthorized = async (\n req: Request,\n permission: BasicPermission,\n ): Promise<boolean> => {\n const decision = (\n await this.permissions.authorize([{ permission }], {\n credentials: await this.httpAuth.credentials(req),\n })\n )[0];\n\n return decision.result !== AuthorizeResult.DENY;\n };\n\n this.moduleRouter\n .get('/entities/unprocessed/failed', async (req, res) => {\n return res.json(\n await this.unprocessed({\n reason: 'failed',\n owner:\n typeof req.query.owner === 'string' ? req.query.owner : undefined,\n }),\n );\n })\n .get('/entities/unprocessed/pending', async (req, res) => {\n return res.json(\n await this.unprocessed({\n reason: 'pending',\n owner:\n typeof req.query.owner === 'string' ? req.query.owner : undefined,\n }),\n );\n })\n .delete(\n '/entities/unprocessed/delete/:entity_id',\n async (request, response) => {\n const authorized = await isRequestAuthorized(\n request,\n unprocessedEntitiesDeletePermission,\n );\n\n if (!authorized) {\n throw new NotAllowedError('Unauthorized');\n }\n\n await this.database('refresh_state')\n .where({ entity_id: request.params.entity_id })\n .delete();\n\n response.status(204).send();\n },\n );\n }\n}\n"],"names":["Router","AuthorizeResult","unprocessedEntitiesDeletePermission","NotAllowedError"],"mappings":";;;;;;;;;;;AA2CO,MAAM,yBAAA,CAA0B;AAAA,EACpB,YAAA;AAAA,EAEA,QAAA;AAAA,EAEA,QAAA;AAAA,EACA,MAAA;AAAA,EACA,WAAA;AAAA,EAET,WAAA,CACN,QAAA,EACA,MAAA,EACA,WAAA,EACA,QAAA,EACA;AACA,IAAA,IAAA,CAAK,QAAA,GAAW,QAAA;AAChB,IAAA,IAAA,CAAK,MAAA,GAAS,MAAA;AACd,IAA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;AACF;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-unprocessed",
3
- "version": "0.6.5-next.0",
3
+ "version": "0.6.6-next.0",
4
4
  "description": "Backstage Catalog module to view unprocessed entities",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -36,18 +36,18 @@
36
36
  "test": "backstage-cli package test"
37
37
  },
38
38
  "dependencies": {
39
- "@backstage/backend-plugin-api": "1.4.4-next.0",
40
- "@backstage/catalog-model": "1.7.5",
39
+ "@backstage/backend-plugin-api": "1.4.5-next.0",
40
+ "@backstage/catalog-model": "1.7.6-next.0",
41
41
  "@backstage/errors": "1.2.7",
42
- "@backstage/plugin-auth-node": "0.6.8-next.0",
43
- "@backstage/plugin-catalog-node": "1.19.1-next.0",
44
- "@backstage/plugin-catalog-unprocessed-entities-common": "0.0.10-next.0",
45
- "@backstage/plugin-permission-common": "0.9.2-next.0",
42
+ "@backstage/plugin-auth-node": "0.6.9-next.0",
43
+ "@backstage/plugin-catalog-node": "1.19.2-next.0",
44
+ "@backstage/plugin-catalog-unprocessed-entities-common": "0.0.11-next.0",
45
+ "@backstage/plugin-permission-common": "0.9.3-next.0",
46
46
  "express-promise-router": "^4.1.1",
47
47
  "knex": "^3.0.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@backstage/cli": "0.34.4-next.1",
50
+ "@backstage/cli": "0.34.5-next.0",
51
51
  "@types/express": "^4.17.6"
52
52
  },
53
53
  "typesVersions": {