renaming services to more suitable names
This commit is contained in:
parent
3ae9de8376
commit
be6afef832
69 changed files with 41 additions and 2956 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"service": {
|
||||
"name": "data-service",
|
||||
"name": "data-ingestion",
|
||||
"port": 2001,
|
||||
"host": "0.0.0.0",
|
||||
"healthCheckPath": "/health",
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@stock-bot/data-service",
|
||||
"name": "@stock-bot/data-ingestion",
|
||||
"version": "1.0.0",
|
||||
"description": "Combined data ingestion and historical data service",
|
||||
"description": "Market data ingestion from multiple providers with proxy support and rate limiting",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
@ -29,7 +29,7 @@ if (config.log) {
|
|||
}
|
||||
|
||||
// Create logger AFTER config is set
|
||||
const logger = getLogger('data-service');
|
||||
const logger = getLogger('data-ingestion');
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
|
|
@ -6,7 +6,7 @@ const health = new Hono();
|
|||
health.get('/', c => {
|
||||
return c.json({
|
||||
status: 'healthy',
|
||||
service: 'data-service',
|
||||
service: 'data-ingestion',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
});
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"service": {
|
||||
"name": "data-sync-service",
|
||||
"name": "data-pipeline",
|
||||
"port": 3005,
|
||||
"host": "0.0.0.0",
|
||||
"healthCheckPath": "/health",
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@stock-bot/data-sync-service",
|
||||
"name": "@stock-bot/data-pipeline",
|
||||
"version": "1.0.0",
|
||||
"description": "Sync service from MongoDB raw data to PostgreSQL master records",
|
||||
"description": "Data processing pipeline for syncing and transforming raw data to normalized records",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
@ -9,7 +9,7 @@ import { connectPostgreSQL } from '@stock-bot/postgres-client';
|
|||
import { QueueManager, type QueueManagerConfig } from '@stock-bot/queue';
|
||||
import { Shutdown } from '@stock-bot/shutdown';
|
||||
// Local imports
|
||||
import { healthRoutes, enhancedSyncRoutes, statsRoutes, syncRoutes } from './routes';
|
||||
import { enhancedSyncRoutes, healthRoutes, statsRoutes, syncRoutes } from './routes';
|
||||
|
||||
const config = initializeServiceConfig();
|
||||
console.log('Data Sync Service Configuration:', JSON.stringify(config, null, 2));
|
||||
|
|
@ -28,7 +28,7 @@ if (config.log) {
|
|||
}
|
||||
|
||||
// Create logger AFTER config is set
|
||||
const logger = getLogger('data-sync-service');
|
||||
const logger = getLogger('data-pipeline');
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
|
|
@ -6,9 +6,9 @@ const health = new Hono();
|
|||
health.get('/', c => {
|
||||
return c.json({
|
||||
status: 'healthy',
|
||||
service: 'data-sync-service',
|
||||
service: 'data-pipeline',
|
||||
timestamp: new Date().toISOString(),
|
||||
});
|
||||
});
|
||||
|
||||
export { health as healthRoutes };
|
||||
export { health as healthRoutes };
|
||||
Loading…
Add table
Add a link
Reference in a new issue