@backstage/plugin-catalog-backend-module-aws 0.4.3-next.2 → 0.4.4

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,31 @@
1
1
  # @backstage/plugin-catalog-backend-module-aws
2
2
 
3
+ ## 0.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-defaults@0.5.2
9
+ - @backstage/backend-plugin-api@1.0.1
10
+ - @backstage/plugin-catalog-node@1.13.1
11
+
12
+ ## 0.4.3
13
+
14
+ ### Patch Changes
15
+
16
+ - 3109c24: The export for the new backend system at the `/alpha` export is now also available via the main entry point, which means that you can remove the `/alpha` suffix from the import.
17
+ - Updated dependencies
18
+ - @backstage/backend-defaults@0.5.1
19
+ - @backstage/plugin-catalog-node@1.13.1
20
+ - @backstage/integration@1.15.1
21
+ - @backstage/backend-plugin-api@1.0.1
22
+ - @backstage/catalog-model@1.7.0
23
+ - @backstage/config@1.2.0
24
+ - @backstage/errors@1.2.4
25
+ - @backstage/integration-aws-node@0.1.12
26
+ - @backstage/plugin-catalog-common@1.1.0
27
+ - @backstage/plugin-kubernetes-common@0.8.3
28
+
3
29
  ## 0.4.3-next.2
4
30
 
5
31
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-aws__alpha",
3
- "version": "0.4.3-next.2",
3
+ "version": "0.4.4",
4
4
  "main": "../dist/alpha.cjs.js",
5
5
  "types": "../dist/alpha.d.ts"
6
6
  }
package/dist/alpha.cjs.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var catalogModuleAwsS3EntityProvider = require('./module/catalogModuleAwsS3EntityProvider.cjs.js');
6
6
 
7
+ const _feature = catalogModuleAwsS3EntityProvider.catalogModuleAwsS3EntityProvider;
7
8
 
8
-
9
- exports.default = catalogModuleAwsS3EntityProvider.catalogModuleAwsS3EntityProvider;
9
+ exports.default = _feature;
10
10
  //# sourceMappingURL=alpha.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alpha.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"alpha.cjs.js","sources":["../src/alpha.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 { default as feature } from './module';\n\n/** @alpha */\nconst _feature = feature;\nexport default _feature;\n"],"names":["feature"],"mappings":";;;;;;AAmBA,MAAM,QAAW,GAAAA;;;;"}
package/dist/alpha.d.ts CHANGED
@@ -1,10 +1,6 @@
1
1
  import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
2
2
 
3
- /**
4
- * Registers the AwsS3EntityProvider with the catalog processing extension point.
5
- *
6
- * @alpha
7
- */
8
- declare const catalogModuleAwsS3EntityProvider: _backstage_backend_plugin_api.BackendFeature;
3
+ /** @alpha */
4
+ declare const _feature: _backstage_backend_plugin_api.BackendFeature;
9
5
 
10
- export { catalogModuleAwsS3EntityProvider as default };
6
+ export { _feature as default };
package/dist/index.cjs.js CHANGED
@@ -1,5 +1,8 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var catalogModuleAwsS3EntityProvider = require('./module/catalogModuleAwsS3EntityProvider.cjs.js');
3
6
  var AwsEKSClusterProcessor = require('./processors/AwsEKSClusterProcessor.cjs.js');
4
7
  var AwsOrganizationCloudAccountProcessor = require('./processors/AwsOrganizationCloudAccountProcessor.cjs.js');
5
8
  var AwsS3DiscoveryProcessor = require('./processors/AwsS3DiscoveryProcessor.cjs.js');
@@ -9,6 +12,7 @@ var defaultTransformers = require('./lib/defaultTransformers.cjs.js');
9
12
 
10
13
 
11
14
 
15
+ exports.default = catalogModuleAwsS3EntityProvider.catalogModuleAwsS3EntityProvider;
12
16
  exports.AwsEKSClusterProcessor = AwsEKSClusterProcessor.AwsEKSClusterProcessor;
13
17
  exports.AwsOrganizationCloudAccountProcessor = AwsOrganizationCloudAccountProcessor.AwsOrganizationCloudAccountProcessor;
14
18
  exports.AwsS3DiscoveryProcessor = AwsS3DiscoveryProcessor.AwsS3DiscoveryProcessor;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
2
+ import { LoggerService, UrlReaderService, SchedulerServiceTaskRunner, SchedulerService } from '@backstage/backend-plugin-api';
1
3
  import { CatalogProcessor, CatalogProcessorEmit, CatalogProcessorParser, EntityProvider, EntityProviderConnection } from '@backstage/plugin-catalog-node';
2
4
  import { LocationSpec } from '@backstage/plugin-catalog-common';
3
5
  import { AwsCredentialIdentity } from '@aws-sdk/types';
@@ -5,7 +7,13 @@ import { AwsCredentialsManager } from '@backstage/integration-aws-node';
5
7
  import { Config } from '@backstage/config';
6
8
  import { Cluster } from '@aws-sdk/client-eks';
7
9
  import { Entity } from '@backstage/catalog-model';
8
- import { LoggerService, UrlReaderService, SchedulerServiceTaskRunner, SchedulerService } from '@backstage/backend-plugin-api';
10
+
11
+ /**
12
+ * Registers the AwsS3EntityProvider with the catalog processing extension point.
13
+ *
14
+ * @public
15
+ */
16
+ declare const catalogModuleAwsS3EntityProvider: _backstage_backend_plugin_api.BackendFeature;
9
17
 
10
18
  /**
11
19
  * A factory for providing user-specified AWS credentials for a given AWS account.
@@ -137,4 +145,4 @@ declare const ANNOTATION_AWS_ARN: string;
137
145
  */
138
146
  declare const defaultEksClusterEntityTransformer: EksClusterEntityTransformer;
139
147
 
140
- export { ANNOTATION_AWS_ACCOUNT_ID, ANNOTATION_AWS_ARN, type AWSCredentialFactory, AwsEKSClusterProcessor, AwsOrganizationCloudAccountProcessor, AwsS3DiscoveryProcessor, AwsS3EntityProvider, type EksClusterEntityTransformer, defaultEksClusterEntityTransformer };
148
+ export { ANNOTATION_AWS_ACCOUNT_ID, ANNOTATION_AWS_ARN, type AWSCredentialFactory, AwsEKSClusterProcessor, AwsOrganizationCloudAccountProcessor, AwsS3DiscoveryProcessor, AwsS3EntityProvider, type EksClusterEntityTransformer, catalogModuleAwsS3EntityProvider as default, defaultEksClusterEntityTransformer };
@@ -1 +1 @@
1
- {"version":3,"file":"catalogModuleAwsS3EntityProvider.cjs.js","sources":["../../src/module/catalogModuleAwsS3EntityProvider.ts"],"sourcesContent":["/*\n * Copyright 2022 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 coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { AwsS3EntityProvider } from '../providers';\n\n/**\n * Registers the AwsS3EntityProvider with the catalog processing extension point.\n *\n * @alpha\n */\nexport const catalogModuleAwsS3EntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'aws-s3-entity-provider',\n register(env) {\n env.registerInit({\n deps: {\n config: coreServices.rootConfig,\n catalog: catalogProcessingExtensionPoint,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n },\n async init({ config, catalog, logger, scheduler }) {\n catalog.addEntityProvider(\n AwsS3EntityProvider.fromConfig(config, {\n logger,\n scheduler,\n }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","coreServices","catalogProcessingExtensionPoint","AwsS3EntityProvider"],"mappings":";;;;;;AA4BO,MAAM,mCAAmCA,oCAAoB,CAAA;AAAA,EAClE,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,wBAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQD,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAK,CAAA,EAAE,QAAQ,OAAS,EAAA,MAAA,EAAQ,WAAa,EAAA;AACjD,QAAQ,OAAA,CAAA,iBAAA;AAAA,UACNE,uCAAA,CAAoB,WAAW,MAAQ,EAAA;AAAA,YACrC,MAAA;AAAA,YACA,SAAA;AAAA,WACD,CAAA;AAAA,SACH,CAAA;AAAA,OACF;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"catalogModuleAwsS3EntityProvider.cjs.js","sources":["../../src/module/catalogModuleAwsS3EntityProvider.ts"],"sourcesContent":["/*\n * Copyright 2022 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 coreServices,\n createBackendModule,\n} from '@backstage/backend-plugin-api';\nimport { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';\nimport { AwsS3EntityProvider } from '../providers';\n\n/**\n * Registers the AwsS3EntityProvider with the catalog processing extension point.\n *\n * @public\n */\nexport const catalogModuleAwsS3EntityProvider = createBackendModule({\n pluginId: 'catalog',\n moduleId: 'aws-s3-entity-provider',\n register(env) {\n env.registerInit({\n deps: {\n config: coreServices.rootConfig,\n catalog: catalogProcessingExtensionPoint,\n logger: coreServices.logger,\n scheduler: coreServices.scheduler,\n },\n async init({ config, catalog, logger, scheduler }) {\n catalog.addEntityProvider(\n AwsS3EntityProvider.fromConfig(config, {\n logger,\n scheduler,\n }),\n );\n },\n });\n },\n});\n"],"names":["createBackendModule","coreServices","catalogProcessingExtensionPoint","AwsS3EntityProvider"],"mappings":";;;;;;AA4BO,MAAM,mCAAmCA,oCAAoB,CAAA;AAAA,EAClE,QAAU,EAAA,SAAA;AAAA,EACV,QAAU,EAAA,wBAAA;AAAA,EACV,SAAS,GAAK,EAAA;AACZ,IAAA,GAAA,CAAI,YAAa,CAAA;AAAA,MACf,IAAM,EAAA;AAAA,QACJ,QAAQC,6BAAa,CAAA,UAAA;AAAA,QACrB,OAAS,EAAAC,qCAAA;AAAA,QACT,QAAQD,6BAAa,CAAA,MAAA;AAAA,QACrB,WAAWA,6BAAa,CAAA,SAAA;AAAA,OAC1B;AAAA,MACA,MAAM,IAAK,CAAA,EAAE,QAAQ,OAAS,EAAA,MAAA,EAAQ,WAAa,EAAA;AACjD,QAAQ,OAAA,CAAA,iBAAA;AAAA,UACNE,uCAAA,CAAoB,WAAW,MAAQ,EAAA;AAAA,YACrC,MAAA;AAAA,YACA,SAAA;AAAA,WACD,CAAA;AAAA,SACH,CAAA;AAAA,OACF;AAAA,KACD,CAAA,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-aws",
3
- "version": "0.4.3-next.2",
3
+ "version": "0.4.4",
4
4
  "description": "A Backstage catalog backend module that helps integrate towards AWS",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -22,6 +22,7 @@
22
22
  "license": "Apache-2.0",
23
23
  "exports": {
24
24
  ".": {
25
+ "backstage": "@backstage/BackendFeature",
25
26
  "require": "./dist/index.cjs.js",
26
27
  "types": "./dist/index.d.ts",
27
28
  "default": "./dist/index.cjs.js"
@@ -57,24 +58,24 @@
57
58
  "@aws-sdk/credential-providers": "^3.350.0",
58
59
  "@aws-sdk/middleware-endpoint": "^3.347.0",
59
60
  "@aws-sdk/types": "^3.347.0",
60
- "@backstage/backend-defaults": "0.5.1-next.2",
61
- "@backstage/backend-plugin-api": "1.0.1-next.1",
62
- "@backstage/catalog-model": "1.7.0",
63
- "@backstage/config": "1.2.0",
64
- "@backstage/errors": "1.2.4",
65
- "@backstage/integration": "1.15.1-next.1",
66
- "@backstage/integration-aws-node": "0.1.12",
67
- "@backstage/plugin-catalog-common": "1.1.0",
68
- "@backstage/plugin-catalog-node": "1.13.1-next.1",
69
- "@backstage/plugin-kubernetes-common": "0.8.3",
61
+ "@backstage/backend-defaults": "^0.5.2",
62
+ "@backstage/backend-plugin-api": "^1.0.1",
63
+ "@backstage/catalog-model": "^1.7.0",
64
+ "@backstage/config": "^1.2.0",
65
+ "@backstage/errors": "^1.2.4",
66
+ "@backstage/integration": "^1.15.1",
67
+ "@backstage/integration-aws-node": "^0.1.12",
68
+ "@backstage/plugin-catalog-common": "^1.1.0",
69
+ "@backstage/plugin-catalog-node": "^1.13.1",
70
+ "@backstage/plugin-kubernetes-common": "^0.8.3",
70
71
  "p-limit": "^3.0.2",
71
72
  "uuid": "^9.0.0",
72
73
  "winston": "^3.2.1"
73
74
  },
74
75
  "devDependencies": {
75
76
  "@aws-sdk/util-stream-node": "^3.350.0",
76
- "@backstage/backend-test-utils": "1.0.1-next.2",
77
- "@backstage/cli": "0.28.0-next.2",
77
+ "@backstage/backend-test-utils": "^1.0.2",
78
+ "@backstage/cli": "^0.28.0",
78
79
  "aws-sdk-client-mock": "^4.0.0",
79
80
  "aws-sdk-client-mock-jest": "^4.0.0",
80
81
  "luxon": "^3.0.0",