Browse Source
Bugfix/fix ids of gather asset profile process jobs (#1863)
* Fix job ids
* Update changelog
pull/1864/head
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
11 additions and
5 deletions
-
CHANGELOG.md
-
apps/api/src/app/admin/admin.controller.ts
-
apps/api/src/app/order/order.service.ts
-
apps/api/src/services/cron.service.ts
|
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. |
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed the unique job ids of the gather asset profile process |
|
|
|
|
|
|
|
## 1.255.0 - 2023-04-15 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
@ -110,7 +110,7 @@ export class AdminController { |
|
|
|
name: GATHER_ASSET_PROFILE_PROCESS, |
|
|
|
opts: { |
|
|
|
...GATHER_ASSET_PROFILE_PROCESS_OPTIONS, |
|
|
|
jobId: `${dataSource}-${symbol}}` |
|
|
|
jobId: `${dataSource}-${symbol}` |
|
|
|
} |
|
|
|
}; |
|
|
|
}) |
|
|
@ -146,7 +146,7 @@ export class AdminController { |
|
|
|
name: GATHER_ASSET_PROFILE_PROCESS, |
|
|
|
opts: { |
|
|
|
...GATHER_ASSET_PROFILE_PROCESS_OPTIONS, |
|
|
|
jobId: `${dataSource}-${symbol}}` |
|
|
|
jobId: `${dataSource}-${symbol}` |
|
|
|
} |
|
|
|
}; |
|
|
|
}) |
|
|
@ -179,7 +179,7 @@ export class AdminController { |
|
|
|
name: GATHER_ASSET_PROFILE_PROCESS, |
|
|
|
opts: { |
|
|
|
...GATHER_ASSET_PROFILE_PROCESS_OPTIONS, |
|
|
|
jobId: `${dataSource}-${symbol}}` |
|
|
|
jobId: `${dataSource}-${symbol}` |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
@ -120,7 +120,7 @@ export class OrderService { |
|
|
|
name: GATHER_ASSET_PROFILE_PROCESS, |
|
|
|
opts: { |
|
|
|
...GATHER_ASSET_PROFILE_PROCESS_OPTIONS, |
|
|
|
jobId: `${data.SymbolProfile.connectOrCreate.create.dataSource}-${data.SymbolProfile.connectOrCreate.create.symbol}}` |
|
|
|
jobId: `${data.SymbolProfile.connectOrCreate.create.dataSource}-${data.SymbolProfile.connectOrCreate.create.symbol}` |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
@ -48,7 +48,7 @@ export class CronService { |
|
|
|
name: GATHER_ASSET_PROFILE_PROCESS, |
|
|
|
opts: { |
|
|
|
...GATHER_ASSET_PROFILE_PROCESS_OPTIONS, |
|
|
|
jobId: `${dataSource}-${symbol}}` |
|
|
|
jobId: `${dataSource}-${symbol}` |
|
|
|
} |
|
|
|
}; |
|
|
|
}) |
|
|
|