Skip to content

Commit fceb33e

Browse files
authored
fix: remove deprecated package @backstage/backend-tasks on the orchestrator-backend plugin (#1688)
1 parent e5a4ded commit fceb33e

File tree

4 files changed

+19
-196
lines changed

4 files changed

+19
-196
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@red-hat-developer-hub/backstage-plugin-orchestrator-backend': minor
3+
---
4+
5+
Removal of deprecated package @backstage/backend-tasks

workspaces/orchestrator/plugins/orchestrator-backend/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
"dependencies": {
6868
"@backstage/backend-defaults": "^0.12.0",
6969
"@backstage/backend-plugin-api": "^1.4.2",
70-
"@backstage/backend-tasks": "^0.6.1",
7170
"@backstage/catalog-client": "^1.11.0",
7271
"@backstage/core-plugin-api": "^1.10.9",
7372
"@backstage/errors": "^1.2.7",

workspaces/orchestrator/plugins/orchestrator-backend/src/service/WorkflowCacheService.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { LoggerService } from '@backstage/backend-plugin-api';
18-
import { PluginTaskScheduler } from '@backstage/backend-tasks';
17+
import { LoggerService, SchedulerService } from '@backstage/backend-plugin-api';
1918

2019
import { DataIndexService } from './DataIndexService';
2120
import { SonataFlowService } from './SonataFlowService';
@@ -67,7 +66,7 @@ export class WorkflowCacheService {
6766
}
6867

6968
public schedule(args: {
70-
scheduler: PluginTaskScheduler;
69+
scheduler: SchedulerService;
7170
frequencyInSeconds?: number;
7271
timeoutInMinutes?: number;
7372
}): void {

workspaces/orchestrator/yarn.lock

Lines changed: 12 additions & 192 deletions
Original file line numberDiff line numberDiff line change
@@ -2811,83 +2811,6 @@ __metadata:
28112811
languageName: node
28122812
linkType: hard
28132813

2814-
"@backstage/backend-common@npm:^0.24.1":
2815-
version: 0.24.1
2816-
resolution: "@backstage/backend-common@npm:0.24.1"
2817-
dependencies:
2818-
"@aws-sdk/abort-controller": ^3.347.0
2819-
"@aws-sdk/client-codecommit": ^3.350.0
2820-
"@aws-sdk/client-s3": ^3.350.0
2821-
"@aws-sdk/credential-providers": ^3.350.0
2822-
"@aws-sdk/types": ^3.347.0
2823-
"@backstage/backend-dev-utils": ^0.1.5
2824-
"@backstage/backend-plugin-api": ^0.8.1
2825-
"@backstage/cli-common": ^0.1.14
2826-
"@backstage/config": ^1.2.0
2827-
"@backstage/config-loader": ^1.9.0
2828-
"@backstage/errors": ^1.2.4
2829-
"@backstage/integration": ^1.14.0
2830-
"@backstage/integration-aws-node": ^0.1.12
2831-
"@backstage/plugin-auth-node": ^0.5.1
2832-
"@backstage/types": ^1.1.1
2833-
"@google-cloud/storage": ^7.0.0
2834-
"@keyv/memcache": ^1.3.5
2835-
"@keyv/redis": ^2.5.3
2836-
"@kubernetes/client-node": 0.20.0
2837-
"@manypkg/get-packages": ^1.1.3
2838-
"@octokit/rest": ^19.0.3
2839-
"@types/cors": ^2.8.6
2840-
"@types/dockerode": ^3.3.0
2841-
"@types/express": ^4.17.6
2842-
"@types/luxon": ^3.0.0
2843-
"@types/webpack-env": ^1.15.2
2844-
archiver: ^6.0.0
2845-
base64-stream: ^1.0.0
2846-
compression: ^1.7.4
2847-
concat-stream: ^2.0.0
2848-
cors: ^2.8.5
2849-
dockerode: ^4.0.0
2850-
express: ^4.17.1
2851-
express-promise-router: ^4.1.0
2852-
fs-extra: ^11.2.0
2853-
git-url-parse: ^14.0.0
2854-
helmet: ^6.0.0
2855-
isomorphic-git: ^1.23.0
2856-
jose: ^5.0.0
2857-
keyv: ^4.5.2
2858-
knex: ^3.0.0
2859-
lodash: ^4.17.21
2860-
logform: ^2.3.2
2861-
luxon: ^3.0.0
2862-
minimatch: ^9.0.0
2863-
minimist: ^1.2.5
2864-
morgan: ^1.10.0
2865-
mysql2: ^3.0.0
2866-
node-fetch: ^2.7.0
2867-
node-forge: ^1.3.1
2868-
p-limit: ^3.1.0
2869-
path-to-regexp: ^6.2.1
2870-
pg: ^8.11.3
2871-
pg-format: ^1.0.4
2872-
raw-body: ^2.4.1
2873-
selfsigned: ^2.0.0
2874-
stoppable: ^1.1.0
2875-
tar: ^6.1.12
2876-
triple-beam: ^1.4.1
2877-
uuid: ^9.0.0
2878-
winston: ^3.2.1
2879-
winston-transport: ^4.5.0
2880-
yauzl: ^3.0.0
2881-
yn: ^4.0.0
2882-
peerDependencies:
2883-
pg-connection-string: ^2.3.0
2884-
peerDependenciesMeta:
2885-
pg-connection-string:
2886-
optional: true
2887-
checksum: 5a326dec02d1d43a819e5b1d4a0be87ee00be23013e4a74c7c700f996d3b486d359ba2866c20a25788a9eef6a97d2f99b5ccbb140bcac3180d703eee6ad82c04
2888-
languageName: node
2889-
linkType: hard
2890-
28912814
"@backstage/backend-common@npm:^0.25.0":
28922815
version: 0.25.0
28932816
resolution: "@backstage/backend-common@npm:0.25.0"
@@ -3157,25 +3080,6 @@ __metadata:
31573080
languageName: node
31583081
linkType: hard
31593082

3160-
"@backstage/backend-plugin-api@npm:^0.8.1":
3161-
version: 0.8.1
3162-
resolution: "@backstage/backend-plugin-api@npm:0.8.1"
3163-
dependencies:
3164-
"@backstage/cli-common": ^0.1.14
3165-
"@backstage/config": ^1.2.0
3166-
"@backstage/errors": ^1.2.4
3167-
"@backstage/plugin-auth-node": ^0.5.1
3168-
"@backstage/plugin-permission-common": ^0.8.1
3169-
"@backstage/types": ^1.1.1
3170-
"@types/express": ^4.17.6
3171-
"@types/luxon": ^3.0.0
3172-
express: ^4.17.1
3173-
knex: ^3.0.0
3174-
luxon: ^3.0.0
3175-
checksum: 4a6614ceec13ff5ace3e04e8a1bad40567ce6a66afc19c02935161d12bdd7edbf4863d1d0203539e8a353dd78184078eb873fd14da6cbd093d1d9e4ced44c0fb
3176-
languageName: node
3177-
linkType: hard
3178-
31793083
"@backstage/backend-plugin-api@npm:^1.0.0, @backstage/backend-plugin-api@npm:^1.0.1, @backstage/backend-plugin-api@npm:^1.0.2, @backstage/backend-plugin-api@npm:^1.1.1, @backstage/backend-plugin-api@npm:^1.2.0, @backstage/backend-plugin-api@npm:^1.2.1, @backstage/backend-plugin-api@npm:^1.3.0, @backstage/backend-plugin-api@npm:^1.4.2, @backstage/backend-plugin-api@npm:^1.4.3":
31803084
version: 1.4.3
31813085
resolution: "@backstage/backend-plugin-api@npm:1.4.3"
@@ -3198,27 +3102,6 @@ __metadata:
31983102
languageName: node
31993103
linkType: hard
32003104

3201-
"@backstage/backend-tasks@npm:^0.6.1":
3202-
version: 0.6.1
3203-
resolution: "@backstage/backend-tasks@npm:0.6.1"
3204-
dependencies:
3205-
"@backstage/backend-common": ^0.24.1
3206-
"@backstage/backend-plugin-api": ^0.8.1
3207-
"@backstage/config": ^1.2.0
3208-
"@backstage/errors": ^1.2.4
3209-
"@backstage/types": ^1.1.1
3210-
"@opentelemetry/api": ^1.3.0
3211-
"@types/luxon": ^3.0.0
3212-
cron: ^3.0.0
3213-
knex: ^3.0.0
3214-
lodash: ^4.17.21
3215-
luxon: ^3.0.0
3216-
uuid: ^9.0.0
3217-
zod: ^3.22.4
3218-
checksum: 2173a855d9707ce598c870e5791a639276e437741ffade30226ca876eaefb2cea28864af1a571b4548d926b7a5a213b4cebc2346868ddbd25d505180b5bf2ee9
3219-
languageName: node
3220-
linkType: hard
3221-
32223105
"@backstage/backend-test-utils@npm:^1.8.0, @backstage/backend-test-utils@npm:^1.9.0":
32233106
version: 1.9.0
32243107
resolution: "@backstage/backend-test-utils@npm:1.9.0"
@@ -3450,7 +3333,7 @@ __metadata:
34503333
languageName: node
34513334
linkType: hard
34523335

3453-
"@backstage/config-loader@npm:^1.10.3, @backstage/config-loader@npm:^1.9.0, @backstage/config-loader@npm:^1.9.1, @backstage/config-loader@npm:^1.9.2, @backstage/config-loader@npm:^1.9.5":
3336+
"@backstage/config-loader@npm:^1.10.3, @backstage/config-loader@npm:^1.9.1, @backstage/config-loader@npm:^1.9.2, @backstage/config-loader@npm:^1.9.5":
34543337
version: 1.10.4
34553338
resolution: "@backstage/config-loader@npm:1.10.4"
34563339
dependencies:
@@ -3935,7 +3818,7 @@ __metadata:
39353818
languageName: node
39363819
linkType: hard
39373820

3938-
"@backstage/integration@npm:^1.14.0, @backstage/integration@npm:^1.15.0, @backstage/integration@npm:^1.15.2, @backstage/integration@npm:^1.17.1, @backstage/integration@npm:^1.18.0":
3821+
"@backstage/integration@npm:^1.15.0, @backstage/integration@npm:^1.15.2, @backstage/integration@npm:^1.17.1, @backstage/integration@npm:^1.18.0":
39393822
version: 1.18.0
39403823
resolution: "@backstage/integration@npm:1.18.0"
39413824
dependencies:
@@ -4124,7 +4007,7 @@ __metadata:
41244007
languageName: node
41254008
linkType: hard
41264009

4127-
"@backstage/plugin-auth-node@npm:^0.5.1, @backstage/plugin-auth-node@npm:^0.5.2, @backstage/plugin-auth-node@npm:^0.5.3, @backstage/plugin-auth-node@npm:^0.5.4":
4010+
"@backstage/plugin-auth-node@npm:^0.5.2, @backstage/plugin-auth-node@npm:^0.5.3, @backstage/plugin-auth-node@npm:^0.5.4":
41284011
version: 0.5.6
41294012
resolution: "@backstage/plugin-auth-node@npm:0.5.6"
41304013
dependencies:
@@ -11160,7 +11043,6 @@ __metadata:
1116011043
"@backstage-community/plugin-rbac-common": ^1.12.1
1116111044
"@backstage/backend-defaults": ^0.12.0
1116211045
"@backstage/backend-plugin-api": ^1.4.2
11163-
"@backstage/backend-tasks": ^0.6.1
1116411046
"@backstage/backend-test-utils": ^1.8.0
1116511047
"@backstage/catalog-client": ^1.11.0
1116611048
"@backstage/cli": ^0.34.1
@@ -15919,20 +15801,6 @@ __metadata:
1591915801
languageName: node
1592015802
linkType: hard
1592115803

15922-
"archiver-utils@npm:^4.0.1":
15923-
version: 4.0.1
15924-
resolution: "archiver-utils@npm:4.0.1"
15925-
dependencies:
15926-
glob: ^8.0.0
15927-
graceful-fs: ^4.2.0
15928-
lazystream: ^1.0.0
15929-
lodash: ^4.17.15
15930-
normalize-path: ^3.0.0
15931-
readable-stream: ^3.6.0
15932-
checksum: 2917cdf63a912c74002a4a1e6de3076a4691030b4e722efdd6d862447b61cd64c8b7688d331b1d35f8d4fc661d6e34f91bc1ffc79478fca2e48ad060acece18c
15933-
languageName: node
15934-
linkType: hard
15935-
1593615804
"archiver-utils@npm:^5.0.0, archiver-utils@npm:^5.0.2":
1593715805
version: 5.0.2
1593815806
resolution: "archiver-utils@npm:5.0.2"
@@ -15948,21 +15816,6 @@ __metadata:
1594815816
languageName: node
1594915817
linkType: hard
1595015818

15951-
"archiver@npm:^6.0.0":
15952-
version: 6.0.2
15953-
resolution: "archiver@npm:6.0.2"
15954-
dependencies:
15955-
archiver-utils: ^4.0.1
15956-
async: ^3.2.4
15957-
buffer-crc32: ^0.2.1
15958-
readable-stream: ^3.6.0
15959-
readdir-glob: ^1.1.2
15960-
tar-stream: ^3.0.0
15961-
zip-stream: ^5.0.1
15962-
checksum: 17a20a1291d9bf41e25c96f029373bec5306d6e381063b3ab06ea805d234afaf55a7829c3577dd003558c188c6631769a80c51f245175fdb8310631df36ceb4b
15963-
languageName: node
15964-
linkType: hard
15965-
1596615819
"archiver@npm:^7.0.0, archiver@npm:^7.0.1":
1596715820
version: 7.0.1
1596815821
resolution: "archiver@npm:7.0.1"
@@ -17188,20 +17041,20 @@ __metadata:
1718817041
languageName: node
1718917042
linkType: hard
1719017043

17191-
"buffer-crc32@npm:^0.2.1, buffer-crc32@npm:~0.2.3":
17192-
version: 0.2.13
17193-
resolution: "buffer-crc32@npm:0.2.13"
17194-
checksum: 06252347ae6daca3453b94e4b2f1d3754a3b146a111d81c68924c22d91889a40623264e95e67955b1cb4a68cbedf317abeabb5140a9766ed248973096db5ce1c
17195-
languageName: node
17196-
linkType: hard
17197-
1719817044
"buffer-crc32@npm:^1.0.0":
1719917045
version: 1.0.0
1720017046
resolution: "buffer-crc32@npm:1.0.0"
1720117047
checksum: bc114c0e02fe621249e0b5093c70e6f12d4c2b1d8ddaf3b1b7bbe3333466700100e6b1ebdc12c050d0db845bc582c4fce8c293da487cc483f97eea027c480b23
1720217048
languageName: node
1720317049
linkType: hard
1720417050

17051+
"buffer-crc32@npm:~0.2.3":
17052+
version: 0.2.13
17053+
resolution: "buffer-crc32@npm:0.2.13"
17054+
checksum: 06252347ae6daca3453b94e4b2f1d3754a3b146a111d81c68924c22d91889a40623264e95e67955b1cb4a68cbedf317abeabb5140a9766ed248973096db5ce1c
17055+
languageName: node
17056+
linkType: hard
17057+
1720517058
"buffer-equal-constant-time@npm:1.0.1":
1720617059
version: 1.0.1
1720717060
resolution: "buffer-equal-constant-time@npm:1.0.1"
@@ -18134,18 +17987,6 @@ __metadata:
1813417987
languageName: node
1813517988
linkType: hard
1813617989

18137-
"compress-commons@npm:^5.0.1":
18138-
version: 5.0.3
18139-
resolution: "compress-commons@npm:5.0.3"
18140-
dependencies:
18141-
crc-32: ^1.2.0
18142-
crc32-stream: ^5.0.0
18143-
normalize-path: ^3.0.0
18144-
readable-stream: ^3.6.0
18145-
checksum: a88c58bbde4859036396209d36928003ea3494c713e9476af51c2f720d299b96c46ed966a86707aa5dc07672c850291ed1a6802ce37dd2b532f9733b600f00b7
18146-
languageName: node
18147-
linkType: hard
18148-
1814917990
"compress-commons@npm:^6.0.2":
1815017991
version: 6.0.2
1815117992
resolution: "compress-commons@npm:6.0.2"
@@ -18573,16 +18414,6 @@ __metadata:
1857318414
languageName: node
1857418415
linkType: hard
1857518416

18576-
"crc32-stream@npm:^5.0.0":
18577-
version: 5.0.1
18578-
resolution: "crc32-stream@npm:5.0.1"
18579-
dependencies:
18580-
crc-32: ^1.2.0
18581-
readable-stream: ^3.4.0
18582-
checksum: 5bd40b58488d9a4387ad799fb04d0896e7e2ca63afeedd56df9a115af3437cf83976ae07fd2402692f88efcbd2f738134a1f25366ca47e217601b6baa5388f89
18583-
languageName: node
18584-
linkType: hard
18585-
1858618417
"crc32-stream@npm:^6.0.0":
1858718418
version: 6.0.0
1858818419
resolution: "crc32-stream@npm:6.0.0"
@@ -22667,7 +22498,7 @@ __metadata:
2266722498
languageName: node
2266822499
linkType: hard
2266922500

22670-
"glob@npm:^8.0.0, glob@npm:^8.0.1, glob@npm:^8.0.3, glob@npm:^8.1.0":
22501+
"glob@npm:^8.0.1, glob@npm:^8.0.3, glob@npm:^8.1.0":
2267122502
version: 8.1.0
2267222503
resolution: "glob@npm:8.1.0"
2267322504
dependencies:
@@ -29764,7 +29595,7 @@ __metadata:
2976429595
languageName: node
2976529596
linkType: hard
2976629597

29767-
"path-to-regexp@npm:^6.2.1, path-to-regexp@npm:^6.3.0":
29598+
"path-to-regexp@npm:^6.3.0":
2976829599
version: 6.3.0
2976929600
resolution: "path-to-regexp@npm:6.3.0"
2977029601
checksum: eca78602e6434a1b6799d511d375ec044e8d7e28f5a48aa5c28d57d8152fb52f3fc62fb1cfc5dfa2198e1f041c2a82ed14043d75740a2fe60e91b5089a153250
@@ -37367,17 +37198,6 @@ __metadata:
3736737198
languageName: node
3736837199
linkType: hard
3736937200

37370-
"zip-stream@npm:^5.0.1":
37371-
version: 5.0.2
37372-
resolution: "zip-stream@npm:5.0.2"
37373-
dependencies:
37374-
archiver-utils: ^4.0.1
37375-
compress-commons: ^5.0.1
37376-
readable-stream: ^3.6.0
37377-
checksum: caf33dd9624d781ea2ded059c83e3e7adc963557ca399512d2da6ab6e219b35c2985f6ff1a334dd2ab241b4067db6819398c723f3fca89b51b078757df8e3c44
37378-
languageName: node
37379-
linkType: hard
37380-
3738137201
"zip-stream@npm:^6.0.1":
3738237202
version: 6.0.1
3738337203
resolution: "zip-stream@npm:6.0.1"

0 commit comments

Comments
 (0)