-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To be re-enabled when utapi is compatible with node 22 Issue: CLDSRV-553
- Loading branch information
1 parent
43f284c
commit 7b1565b
Showing
8 changed files
with
64 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
require('werelogs').stderrUtils.catchAndTimestampStderr(); | ||
const UtapiReindex = require('utapi').UtapiReindex; | ||
// TODO CLDSRV-610 re-enable utapi | ||
/* eslint-disable */ | ||
// const UtapiReindex = require('utapi').UtapiReindex; | ||
const { config } = require('../Config'); | ||
|
||
const reindexConfig = config.utapi && config.utapi.reindex; | ||
if (reindexConfig && reindexConfig.password === undefined) { | ||
reindexConfig.password = config.utapi && config.utapi.redis | ||
&& config.utapi.redis.password; | ||
// TODO CLDSRV-610 re-enable utapi | ||
if (false) { | ||
const reindexConfig = config.utapi && config.utapi.reindex; | ||
if (reindexConfig && reindexConfig.password === undefined) { | ||
reindexConfig.password = config.utapi && config.utapi.redis | ||
&& config.utapi.redis.password; | ||
} | ||
const reindex = new UtapiReindex(reindexConfig); | ||
reindex.start(); | ||
} | ||
const reindex = new UtapiReindex(reindexConfig); | ||
reindex.start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
require('werelogs').stderrUtils.catchAndTimestampStderr(); | ||
const UtapiReplay = require('utapi').UtapiReplay; | ||
// TODO CLDSRV-610 re-enable utapi | ||
/* eslint-disable */ | ||
// const UtapiReplay = require('utapi').UtapiReplay; | ||
const _config = require('../Config').config; | ||
|
||
const utapiConfig = _config.utapi && | ||
Object.assign({}, _config.utapi, { redis: _config.redis }); | ||
const replay = new UtapiReplay(utapiConfig); // start utapi server | ||
replay.start(); | ||
// TODO CLDSRV-610 re-enable utapi | ||
if (false) { | ||
const utapiConfig = _config.utapi && | ||
Object.assign({}, _config.utapi, { redis: _config.redis }); | ||
const replay = new UtapiReplay(utapiConfig); // start utapi server | ||
replay.start(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters