-
Notifications
You must be signed in to change notification settings - Fork 14
[OGUI-1788] Implementation of crucial services used to communicate with Vault REST API #3195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
…ub.com:AliceO2Group/WebUi into feature/TKN/OGUI-1715/central-system-structure
…points naming and dev vault permisions
…ceO2Group/WebUi into feature/TKN/OGUI-1788/vault-services
| } | ||
| } | ||
|
|
||
| const logger = LogManager.getLogger('Database'); |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 21 days ago
The best way to fix the unused variable logger is to remove its declaration entirely from the code snippet. This is a single-line removal on line 37 of the file Tokenization/backend/central-system/src/lib/database/Database.ts. No other code modifications are required, as there is no evidence that logger is needed for any other logic within the snippet.
| @@ -34,7 +34,6 @@ | ||
| } | ||
| } | ||
|
|
||
| const logger = LogManager.getLogger('Database'); | ||
|
|
||
| export const db = await Database.createDatabase({ | ||
| host: process.env.DB_HOST ?? 'database', |
I have JIRA issue created
Implementation of services that use the Vault REST API for logging the Central System into Vault as a client to obtain an access token for subsequent calls, renewing that token, signing data using the Transit engine, and creating, updating, or retrieving credentials/secrets from Vault.