mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-03 13:14:48 +00:00
- Add Platform API module to proxy requests to Platform API service - Add Elasticsearch service for pipeline catalog sync (CRUD operations) - Add DynamoDB service for storing pipeline tables/inputs configuration - Sync pipeline creation/update/delete to Elasticsearch index - Extract tables from jobs with connector-specific mappings: - JDBC: table_name, load_type, column_include_list, incremental_column_name - Singer: replication_method -> full_load/incremental - S3: same as Singer - Map connector types to DynamoDB types (jdbc->database, singer->application, s3->file) - Validate connector type is provided in job input - Normalize pipeline IDs for Platform API (replace - with _), keep UUIDs for ES 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 lines
349 B
TypeScript
12 lines
349 B
TypeScript
export const PLATFORM_API_CONFIG = {
|
|
getUrl: (): string => {
|
|
const url = process.env.PLATFORM_API_URL;
|
|
if (!url) {
|
|
throw new Error('PLATFORM_API_URL environment variable is not set');
|
|
}
|
|
return url;
|
|
},
|
|
region: process.env.AWS_REGION || 'us-east-1',
|
|
timeout: parseInt(process.env.PLATFORM_API_TIMEOUT || '30000', 10),
|
|
};
|