@optimizely/ocp-local-env 1.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -0
- package/dist/package.json +112 -0
- package/dist/public/bundle.82dc5d29fffb9f205051.js +3 -0
- package/dist/public/bundle.82dc5d29fffb9f205051.js.LICENSE.txt +92 -0
- package/dist/public/bundle.82dc5d29fffb9f205051.js.map +1 -0
- package/dist/public/index.html +1 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/cli.js +115 -0
- package/dist/src/cli.js.map +1 -0
- package/dist/src/executor/DestinationExecutor.d.ts +19 -0
- package/dist/src/executor/DestinationExecutor.js +72 -0
- package/dist/src/executor/DestinationExecutor.js.map +1 -0
- package/dist/src/executor/FunctionExecutor.d.ts +67 -0
- package/dist/src/executor/FunctionExecutor.js +189 -0
- package/dist/src/executor/FunctionExecutor.js.map +1 -0
- package/dist/src/executor/JobExecutor.d.ts +79 -0
- package/dist/src/executor/JobExecutor.js +215 -0
- package/dist/src/executor/JobExecutor.js.map +1 -0
- package/dist/src/executor/LifecycleExecutor.d.ts +64 -0
- package/dist/src/executor/LifecycleExecutor.js +167 -0
- package/dist/src/executor/LifecycleExecutor.js.map +1 -0
- package/dist/src/executor/SourceExecutor.d.ts +32 -0
- package/dist/src/executor/SourceExecutor.js +163 -0
- package/dist/src/executor/SourceExecutor.js.map +1 -0
- package/dist/src/executor/watcher.d.ts +62 -0
- package/dist/src/executor/watcher.js +213 -0
- package/dist/src/executor/watcher.js.map +1 -0
- package/dist/src/functions/hello.d.ts +4 -0
- package/dist/src/functions/hello.js +8 -0
- package/dist/src/functions/hello.js.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +9 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/jobs/dailyJob.d.ts +4 -0
- package/dist/src/jobs/dailyJob.js +8 -0
- package/dist/src/jobs/dailyJob.js.map +1 -0
- package/dist/src/local_engine/LocalFunctionApi.d.ts +17 -0
- package/dist/src/local_engine/LocalFunctionApi.js +54 -0
- package/dist/src/local_engine/LocalFunctionApi.js.map +1 -0
- package/dist/src/local_engine/LocalJobApi.d.ts +67 -0
- package/dist/src/local_engine/LocalJobApi.js +205 -0
- package/dist/src/local_engine/LocalJobApi.js.map +1 -0
- package/dist/src/local_engine/LocalNotifier.d.ts +9 -0
- package/dist/src/local_engine/LocalNotifier.js +26 -0
- package/dist/src/local_engine/LocalNotifier.js.map +1 -0
- package/dist/src/local_engine/local-engine-child-base.d.ts +110 -0
- package/dist/src/local_engine/local-engine-child-base.js +607 -0
- package/dist/src/local_engine/local-engine-child-base.js.map +1 -0
- package/dist/src/local_engine/local-engine-client.d.ts +161 -0
- package/dist/src/local_engine/local-engine-client.js +888 -0
- package/dist/src/local_engine/local-engine-client.js.map +1 -0
- package/dist/src/local_engine/local-engine-types.d.ts +245 -0
- package/dist/src/local_engine/local-engine-types.js +6 -0
- package/dist/src/local_engine/local-engine-types.js.map +1 -0
- package/dist/src/local_engine/local-engine-unified.d.ts +71 -0
- package/dist/src/local_engine/local-engine-unified.js +723 -0
- package/dist/src/local_engine/local-engine-unified.js.map +1 -0
- package/dist/src/local_engine/local-engine-utils.d.ts +68 -0
- package/dist/src/local_engine/local-engine-utils.js +219 -0
- package/dist/src/local_engine/local-engine-utils.js.map +1 -0
- package/dist/src/local_engine/localSDKConfig.d.ts +40 -0
- package/dist/src/local_engine/localSDKConfig.js +247 -0
- package/dist/src/local_engine/localSDKConfig.js.map +1 -0
- package/dist/src/local_engine/storage/BaseKVStoreWrapper.d.ts +37 -0
- package/dist/src/local_engine/storage/BaseKVStoreWrapper.js +110 -0
- package/dist/src/local_engine/storage/BaseKVStoreWrapper.js.map +1 -0
- package/dist/src/local_engine/storage/LocalConfigStore.d.ts +74 -0
- package/dist/src/local_engine/storage/LocalConfigStore.js +178 -0
- package/dist/src/local_engine/storage/LocalConfigStore.js.map +1 -0
- package/dist/src/local_engine/storage/LocalJobStore.d.ts +111 -0
- package/dist/src/local_engine/storage/LocalJobStore.js +249 -0
- package/dist/src/local_engine/storage/LocalJobStore.js.map +1 -0
- package/dist/src/local_engine/storage/LocalKVStore.d.ts +106 -0
- package/dist/src/local_engine/storage/LocalKVStore.js +1061 -0
- package/dist/src/local_engine/storage/LocalKVStore.js.map +1 -0
- package/dist/src/local_engine/storage/LocalNotificationStore.d.ts +28 -0
- package/dist/src/local_engine/storage/LocalNotificationStore.js +149 -0
- package/dist/src/local_engine/storage/LocalNotificationStore.js.map +1 -0
- package/dist/src/local_engine/storage/LocalSecretsStore.d.ts +115 -0
- package/dist/src/local_engine/storage/LocalSecretsStore.js +350 -0
- package/dist/src/local_engine/storage/LocalSecretsStore.js.map +1 -0
- package/dist/src/local_engine/storage/LocalSecretsStoreWrapper.d.ts +19 -0
- package/dist/src/local_engine/storage/LocalSecretsStoreWrapper.js +52 -0
- package/dist/src/local_engine/storage/LocalSecretsStoreWrapper.js.map +1 -0
- package/dist/src/local_engine/storage/LocalSettingsStore.d.ts +168 -0
- package/dist/src/local_engine/storage/LocalSettingsStore.js +509 -0
- package/dist/src/local_engine/storage/LocalSettingsStore.js.map +1 -0
- package/dist/src/local_engine/storage/LocalSettingsStoreWrapper.d.ts +15 -0
- package/dist/src/local_engine/storage/LocalSettingsStoreWrapper.js +28 -0
- package/dist/src/local_engine/storage/LocalSettingsStoreWrapper.js.map +1 -0
- package/dist/src/local_engine/storage/NumberSet.d.ts +21 -0
- package/dist/src/local_engine/storage/NumberSet.js +32 -0
- package/dist/src/local_engine/storage/NumberSet.js.map +1 -0
- package/dist/src/local_engine/storage/SourceDataStore.d.ts +23 -0
- package/dist/src/local_engine/storage/SourceDataStore.js +83 -0
- package/dist/src/local_engine/storage/SourceDataStore.js.map +1 -0
- package/dist/src/local_engine/storage/SourceJobExecutionStore.d.ts +25 -0
- package/dist/src/local_engine/storage/SourceJobExecutionStore.js +61 -0
- package/dist/src/local_engine/storage/SourceJobExecutionStore.js.map +1 -0
- package/dist/src/local_engine/storage/StringSet.d.ts +21 -0
- package/dist/src/local_engine/storage/StringSet.js +32 -0
- package/dist/src/local_engine/storage/StringSet.js.map +1 -0
- package/dist/src/local_engine/types.d.ts +53 -0
- package/dist/src/local_engine/types.js +6 -0
- package/dist/src/local_engine/types.js.map +1 -0
- package/dist/src/local_engine/utils.d.ts +33 -0
- package/dist/src/local_engine/utils.js +143 -0
- package/dist/src/local_engine/utils.js.map +1 -0
- package/dist/src/logging/LogManager.d.ts +246 -0
- package/dist/src/logging/LogManager.js +343 -0
- package/dist/src/logging/LogManager.js.map +1 -0
- package/dist/src/server/api/destinations.d.ts +7 -0
- package/dist/src/server/api/destinations.js +170 -0
- package/dist/src/server/api/destinations.js.map +1 -0
- package/dist/src/server/api/functions.d.ts +7 -0
- package/dist/src/server/api/functions.js +80 -0
- package/dist/src/server/api/functions.js.map +1 -0
- package/dist/src/server/api/jobs.d.ts +10 -0
- package/dist/src/server/api/jobs.js +244 -0
- package/dist/src/server/api/jobs.js.map +1 -0
- package/dist/src/server/api/settings.d.ts +6 -0
- package/dist/src/server/api/settings.js +116 -0
- package/dist/src/server/api/settings.js.map +1 -0
- package/dist/src/server/api/sources.d.ts +7 -0
- package/dist/src/server/api/sources.js +382 -0
- package/dist/src/server/api/sources.js.map +1 -0
- package/dist/src/server/api/stores.d.ts +2 -0
- package/dist/src/server/api/stores.js +341 -0
- package/dist/src/server/api/stores.js.map +1 -0
- package/dist/src/server/api/v1.d.ts +10 -0
- package/dist/src/server/api/v1.js +718 -0
- package/dist/src/server/api/v1.js.map +1 -0
- package/dist/src/server/api.d.ts +8 -0
- package/dist/src/server/api.js +217 -0
- package/dist/src/server/api.js.map +1 -0
- package/dist/src/server/app-discovery.d.ts +5 -0
- package/dist/src/server/app-discovery.js +113 -0
- package/dist/src/server/app-discovery.js.map +1 -0
- package/dist/src/server/config.d.ts +26 -0
- package/dist/src/server/config.js +112 -0
- package/dist/src/server/config.js.map +1 -0
- package/dist/src/server/mockDataGenerator.d.ts +1 -0
- package/dist/src/server/mockDataGenerator.js +154 -0
- package/dist/src/server/mockDataGenerator.js.map +1 -0
- package/dist/src/server/websocket.d.ts +0 -0
- package/dist/src/server/websocket.js +2 -0
- package/dist/src/server/websocket.js.map +1 -0
- package/dist/src/server.d.ts +2 -0
- package/dist/src/server.js +735 -0
- package/dist/src/server.js.map +1 -0
- package/dist/src/types/app.d.ts +154 -0
- package/dist/src/types/app.js +24 -0
- package/dist/src/types/app.js.map +1 -0
- package/dist/src/types/kvstore.d.ts +320 -0
- package/dist/src/types/kvstore.js +5 -0
- package/dist/src/types/kvstore.js.map +1 -0
- package/dist/src/ui/components/App.d.ts +6 -0
- package/dist/src/ui/components/App.js +432 -0
- package/dist/src/ui/components/App.js.map +1 -0
- package/dist/src/ui/components/DestinationBatchEditor.d.ts +7 -0
- package/dist/src/ui/components/DestinationBatchEditor.js +160 -0
- package/dist/src/ui/components/DestinationBatchEditor.js.map +1 -0
- package/dist/src/ui/components/DestinationSchemaViewer.d.ts +7 -0
- package/dist/src/ui/components/DestinationSchemaViewer.js +61 -0
- package/dist/src/ui/components/DestinationSchemaViewer.js.map +1 -0
- package/dist/src/ui/components/DestinationsView.d.ts +14 -0
- package/dist/src/ui/components/DestinationsView.js +68 -0
- package/dist/src/ui/components/DestinationsView.js.map +1 -0
- package/dist/src/ui/components/FunctionsView.d.ts +13 -0
- package/dist/src/ui/components/FunctionsView.js +288 -0
- package/dist/src/ui/components/FunctionsView.js.map +1 -0
- package/dist/src/ui/components/JobsView.d.ts +13 -0
- package/dist/src/ui/components/JobsView.js +320 -0
- package/dist/src/ui/components/JobsView.js.map +1 -0
- package/dist/src/ui/components/KVStoreViewer.d.ts +11 -0
- package/dist/src/ui/components/KVStoreViewer.js +168 -0
- package/dist/src/ui/components/KVStoreViewer.js.map +1 -0
- package/dist/src/ui/components/MetadataModal.d.ts +14 -0
- package/dist/src/ui/components/MetadataModal.js +28 -0
- package/dist/src/ui/components/MetadataModal.js.map +1 -0
- package/dist/src/ui/components/MetadataModal.test.d.ts +1 -0
- package/dist/src/ui/components/MetadataModal.test.js +143 -0
- package/dist/src/ui/components/MetadataModal.test.js.map +1 -0
- package/dist/src/ui/components/NotificationViewer.d.ts +16 -0
- package/dist/src/ui/components/NotificationViewer.js +69 -0
- package/dist/src/ui/components/NotificationViewer.js.map +1 -0
- package/dist/src/ui/components/SecretsStoreViewer.d.ts +11 -0
- package/dist/src/ui/components/SecretsStoreViewer.js +179 -0
- package/dist/src/ui/components/SecretsStoreViewer.js.map +1 -0
- package/dist/src/ui/components/SettingsStoreViewer.d.ts +24 -0
- package/dist/src/ui/components/SettingsStoreViewer.js +132 -0
- package/dist/src/ui/components/SettingsStoreViewer.js.map +1 -0
- package/dist/src/ui/components/SourceDataViewer.d.ts +8 -0
- package/dist/src/ui/components/SourceDataViewer.js +84 -0
- package/dist/src/ui/components/SourceDataViewer.js.map +1 -0
- package/dist/src/ui/components/SourceJobsSection.d.ts +8 -0
- package/dist/src/ui/components/SourceJobsSection.js +99 -0
- package/dist/src/ui/components/SourceJobsSection.js.map +1 -0
- package/dist/src/ui/components/SourceLifecycleSection.d.ts +7 -0
- package/dist/src/ui/components/SourceLifecycleSection.js +58 -0
- package/dist/src/ui/components/SourceLifecycleSection.js.map +1 -0
- package/dist/src/ui/components/SourceSchemaViewer.d.ts +7 -0
- package/dist/src/ui/components/SourceSchemaViewer.js +65 -0
- package/dist/src/ui/components/SourceSchemaViewer.js.map +1 -0
- package/dist/src/ui/components/SourceWebhookEditor.d.ts +8 -0
- package/dist/src/ui/components/SourceWebhookEditor.js +181 -0
- package/dist/src/ui/components/SourceWebhookEditor.js.map +1 -0
- package/dist/src/ui/components/SourcesView.d.ts +14 -0
- package/dist/src/ui/components/SourcesView.js +74 -0
- package/dist/src/ui/components/SourcesView.js.map +1 -0
- package/dist/src/ui/components/StoreViewer.d.ts +16 -0
- package/dist/src/ui/components/StoreViewer.js +86 -0
- package/dist/src/ui/components/StoreViewer.js.map +1 -0
- package/dist/src/ui/components/TabbedConsole.d.ts +17 -0
- package/dist/src/ui/components/TabbedConsole.js +163 -0
- package/dist/src/ui/components/TabbedConsole.js.map +1 -0
- package/dist/src/ui/components/common/DataTree.d.ts +15 -0
- package/dist/src/ui/components/common/DataTree.js +95 -0
- package/dist/src/ui/components/common/DataTree.js.map +1 -0
- package/dist/src/ui/components/common/EyeIcon.d.ts +11 -0
- package/dist/src/ui/components/common/EyeIcon.js +11 -0
- package/dist/src/ui/components/common/EyeIcon.js.map +1 -0
- package/dist/src/ui/hooks/useEntityNavigation.d.ts +72 -0
- package/dist/src/ui/hooks/useEntityNavigation.js +150 -0
- package/dist/src/ui/hooks/useEntityNavigation.js.map +1 -0
- package/dist/src/ui/hooks/useQueryParams.d.ts +6 -0
- package/dist/src/ui/hooks/useQueryParams.js +39 -0
- package/dist/src/ui/hooks/useQueryParams.js.map +1 -0
- package/dist/src/ui/index.d.ts +1 -0
- package/dist/src/ui/index.js +23 -0
- package/dist/src/ui/index.js.map +1 -0
- package/dist/src/ui/store/formStateSlice.d.ts +54 -0
- package/dist/src/ui/store/formStateSlice.js +94 -0
- package/dist/src/ui/store/formStateSlice.js.map +1 -0
- package/dist/src/ui/store/hooks.d.ts +6 -0
- package/dist/src/ui/store/hooks.js +8 -0
- package/dist/src/ui/store/hooks.js.map +1 -0
- package/dist/src/ui/store/index.d.ts +11 -0
- package/dist/src/ui/store/index.js +107 -0
- package/dist/src/ui/store/index.js.map +1 -0
- package/dist/src/utils/functionEndpoints.d.ts +24 -0
- package/dist/src/utils/functionEndpoints.js +45 -0
- package/dist/src/utils/functionEndpoints.js.map +1 -0
- package/package.json +112 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../../src/server/api/settings.ts"],"names":[],"mappings":";;;;;AAYA,oDA8CC;AA1DD,sDAA8B;AAE9B,4CAAoB;AACpB,gDAAwB;AAExB,iEAAiE;AACjE,mEAAmE;AACnE,IAAI,e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AI,EAAE,CAAC,CAAC;QACjD,CAAC;QAED,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;QAC7D,YAAE,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IAC5E,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,gCAAgC,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,oBAAoB,CAAC,OAAe;IAC3C,MAAM,YAAY,GAAG,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,EAAE,eAAe,CAAC,CAAC;IAEvE,IAAI,CAAC,YAAE,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC;QACH,MAAM,eAAe,GAAG,YAAE,CAAC,YAAY,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;QAC9D,OAAO,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IACrC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,mCAAmC,EAAE,KAAK,CAAC,CAAC;QAC1D,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import express from 'express';
|
|
2
|
+
import { App } from '../../types/app';
|
|
3
|
+
import { LocalConfigStore } from '../../local_engine/storage/LocalConfigStore';
|
|
4
|
+
/**
|
|
5
|
+
* Create API routes for source testing
|
|
6
|
+
*/
|
|
7
|
+
export declare function createSourceRoutes(app: App, appRootDir: string, configStore: LocalConfigStore): express.Router;
|
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.createSourceRoutes = createSourceRoutes;
|
|
7
|
+
const express_1 = __importDefault(require("express"));
|
|
8
|
+
const LogManager_1 = require("../../logging/LogManager");
|
|
9
|
+
const SourceExecutor_1 = require("../../executor/SourceExecutor");
|
|
10
|
+
const local_engine_client_1 = require("../../local_engine/local-engine-client");
|
|
11
|
+
const mockDataGenerator_1 = require("../mockDataGenerator");
|
|
12
|
+
const SourceDataStore_1 = require("../../local_engine/storage/SourceDataStore");
|
|
13
|
+
const SourceJobExecutionStore_1 = require("../../local_engine/storage/SourceJobExecutionStore");
|
|
14
|
+
const config_1 = require("../config");
|
|
15
|
+
const logger = LogManager_1.LogManager.getInstance();
|
|
16
|
+
/**
|
|
17
|
+
* Create app configuration object for IPC communication
|
|
18
|
+
*/
|
|
19
|
+
function createAppConfig(app) {
|
|
20
|
+
return {
|
|
21
|
+
manifest: app.manifest,
|
|
22
|
+
path: app.path,
|
|
23
|
+
isBuilt: true,
|
|
24
|
+
isValid: true,
|
|
25
|
+
baseUrl: `http://${config_1.config.server.host}:${config_1.config.server.port}`
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Create API routes for source testing
|
|
30
|
+
*/
|
|
31
|
+
function createSourceRoutes(app, appRootDir, configStore) {
|
|
32
|
+
const router = express_1.default.Router();
|
|
33
|
+
const sourceExecutor = new SourceExecutor_1.SourceExecutor(app, configStore);
|
|
34
|
+
const localEngineClient = local_engine_client_1.LocalEngineClient.getInstance();
|
|
35
|
+
const sourceDataStore = new SourceDataStore_1.SourceDataStore(appRootDir);
|
|
36
|
+
const sourceJobExecutionStore = new SourceJobExecutionStore_1.SourceJobExecutionStore(appRootDir);
|
|
37
|
+
/**
|
|
38
|
+
* GET /sources - List all sources from app manifest
|
|
39
|
+
*/
|
|
40
|
+
router.get('/', (req, res) => {
|
|
41
|
+
try {
|
|
42
|
+
const protocol = req.protocol;
|
|
43
|
+
const host = req.get('host') || `${config_1.config.server.host}:${config_1.config.server.port}`;
|
|
44
|
+
const sources = app.manifest.sources || {};
|
|
45
|
+
const sourceList = Object.keys(sources).map(id => {
|
|
46
|
+
// Get or generate GUID for this source
|
|
47
|
+
const guid = configStore.getSourceGuid(id);
|
|
48
|
+
const webhookUrl = `${protocol}://${host}/sources/${app.manifest.meta.app_id}/${id}/${guid}`;
|
|
49
|
+
return {
|
|
50
|
+
id,
|
|
51
|
+
description: sources[id].description,
|
|
52
|
+
entry_point: sources[id].function?.entry_point,
|
|
53
|
+
schema: sources[id].schema,
|
|
54
|
+
jobs: sources[id].jobs,
|
|
55
|
+
webhookUrl
|
|
56
|
+
};
|
|
57
|
+
});
|
|
58
|
+
res.json({ sources: sourceList });
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to fetch sources', {
|
|
62
|
+
id: 'unknown',
|
|
63
|
+
operation: 'list',
|
|
64
|
+
error
|
|
65
|
+
});
|
|
66
|
+
res.status(500).json({ error: 'Failed to fetch sources' });
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* GET /sources/:sourceId/schema - Get source schema
|
|
71
|
+
*/
|
|
72
|
+
router.get('/:sourceId/schema', async (req, res) => {
|
|
73
|
+
try {
|
|
74
|
+
const { sourceId } = req.params;
|
|
75
|
+
const sources = app.manifest.sources || {};
|
|
76
|
+
if (!sources[sourceId]) {
|
|
77
|
+
return res.status(404).json({ error: `Source ${sourceId} not found` });
|
|
78
|
+
}
|
|
79
|
+
// Always delegate to local-engine via IPC
|
|
80
|
+
const schema = await localEngineClient.executeSourceSchema(sourceId, createAppConfig(app));
|
|
81
|
+
res.json({ schema });
|
|
82
|
+
}
|
|
83
|
+
catch (error) {
|
|
84
|
+
const sourceId = req.params.sourceId;
|
|
85
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to fetch source schema', {
|
|
86
|
+
id: sourceId,
|
|
87
|
+
operation: 'schema',
|
|
88
|
+
error
|
|
89
|
+
});
|
|
90
|
+
res.status(500).json({
|
|
91
|
+
error: 'Failed to fetch source schema',
|
|
92
|
+
details: error instanceof Error ? error.message : String(error)
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
/**
|
|
97
|
+
* POST /sources/:sourceId/create - Trigger onSourceCreate lifecycle
|
|
98
|
+
*/
|
|
99
|
+
router.post('/:sourceId/create', async (req, res) => {
|
|
100
|
+
try {
|
|
101
|
+
const { sourceId } = req.params;
|
|
102
|
+
const sources = app.manifest.sources || {};
|
|
103
|
+
if (!sources[sourceId]) {
|
|
104
|
+
return res.status(404).json({ error: `Source ${sourceId} not found` });
|
|
105
|
+
}
|
|
106
|
+
const result = await sourceExecutor.executeSourceCreate(sourceId);
|
|
107
|
+
res.json({ result });
|
|
108
|
+
}
|
|
109
|
+
catch (error) {
|
|
110
|
+
const sourceId = req.params.sourceId;
|
|
111
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to execute source create', {
|
|
112
|
+
id: sourceId,
|
|
113
|
+
operation: 'create',
|
|
114
|
+
error
|
|
115
|
+
});
|
|
116
|
+
res.status(500).json({
|
|
117
|
+
error: 'Failed to execute source create',
|
|
118
|
+
details: error instanceof Error ? error.message : String(error)
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
/**
|
|
123
|
+
* POST /sources/:sourceId/update - Trigger onSourceUpdate lifecycle
|
|
124
|
+
*/
|
|
125
|
+
router.post('/:sourceId/update', async (req, res) => {
|
|
126
|
+
try {
|
|
127
|
+
const { sourceId } = req.params;
|
|
128
|
+
const sources = app.manifest.sources || {};
|
|
129
|
+
if (!sources[sourceId]) {
|
|
130
|
+
return res.status(404).json({ error: `Source ${sourceId} not found` });
|
|
131
|
+
}
|
|
132
|
+
const result = await sourceExecutor.executeSourceUpdate(sourceId);
|
|
133
|
+
res.json({ result });
|
|
134
|
+
}
|
|
135
|
+
catch (error) {
|
|
136
|
+
const sourceId = req.params.sourceId;
|
|
137
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to execute source update', {
|
|
138
|
+
id: sourceId,
|
|
139
|
+
operation: 'update',
|
|
140
|
+
error
|
|
141
|
+
});
|
|
142
|
+
res.status(500).json({
|
|
143
|
+
error: 'Failed to execute source update',
|
|
144
|
+
details: error instanceof Error ? error.message : String(error)
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
/**
|
|
149
|
+
* POST /sources/:sourceId/delete - Trigger onSourceDelete lifecycle
|
|
150
|
+
*/
|
|
151
|
+
router.post('/:sourceId/delete', async (req, res) => {
|
|
152
|
+
try {
|
|
153
|
+
const { sourceId } = req.params;
|
|
154
|
+
const sources = app.manifest.sources || {};
|
|
155
|
+
if (!sources[sourceId]) {
|
|
156
|
+
return res.status(404).json({ error: `Source ${sourceId} not found` });
|
|
157
|
+
}
|
|
158
|
+
const result = await sourceExecutor.executeSourceDelete(sourceId);
|
|
159
|
+
res.json({ result });
|
|
160
|
+
}
|
|
161
|
+
catch (error) {
|
|
162
|
+
const sourceId = req.params.sourceId;
|
|
163
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to execute source delete', {
|
|
164
|
+
id: sourceId,
|
|
165
|
+
operation: 'delete',
|
|
166
|
+
error
|
|
167
|
+
});
|
|
168
|
+
res.status(500).json({
|
|
169
|
+
error: 'Failed to execute source delete',
|
|
170
|
+
details: error instanceof Error ? error.message : String(error)
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
/**
|
|
175
|
+
* POST /sources/:sourceId/enable - Trigger onSourceEnable lifecycle
|
|
176
|
+
*/
|
|
177
|
+
router.post('/:sourceId/enable', async (req, res) => {
|
|
178
|
+
try {
|
|
179
|
+
const { sourceId } = req.params;
|
|
180
|
+
const sources = app.manifest.sources || {};
|
|
181
|
+
if (!sources[sourceId]) {
|
|
182
|
+
return res.status(404).json({ error: `Source ${sourceId} not found` });
|
|
183
|
+
}
|
|
184
|
+
const result = await sourceExecutor.executeSourceEnable(sourceId);
|
|
185
|
+
res.json({ result });
|
|
186
|
+
}
|
|
187
|
+
catch (error) {
|
|
188
|
+
const sourceId = req.params.sourceId;
|
|
189
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to execute source enable', {
|
|
190
|
+
id: sourceId,
|
|
191
|
+
operation: 'enable',
|
|
192
|
+
error
|
|
193
|
+
});
|
|
194
|
+
res.status(500).json({
|
|
195
|
+
error: 'Failed to execute source enable',
|
|
196
|
+
details: error instanceof Error ? error.message : String(error)
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
/**
|
|
201
|
+
* POST /sources/:sourceId/pause - Trigger onSourcePause lifecycle
|
|
202
|
+
*/
|
|
203
|
+
router.post('/:sourceId/pause', async (req, res) => {
|
|
204
|
+
try {
|
|
205
|
+
const { sourceId } = req.params;
|
|
206
|
+
const sources = app.manifest.sources || {};
|
|
207
|
+
if (!sources[sourceId]) {
|
|
208
|
+
return res.status(404).json({ error: `Source ${sourceId} not found` });
|
|
209
|
+
}
|
|
210
|
+
const result = await sourceExecutor.executeSourcePause(sourceId);
|
|
211
|
+
res.json({ result });
|
|
212
|
+
}
|
|
213
|
+
catch (error) {
|
|
214
|
+
const sourceId = req.params.sourceId;
|
|
215
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to execute source pause', {
|
|
216
|
+
id: sourceId,
|
|
217
|
+
operation: 'pause',
|
|
218
|
+
error
|
|
219
|
+
});
|
|
220
|
+
res.status(500).json({
|
|
221
|
+
error: 'Failed to execute source pause',
|
|
222
|
+
details: error instanceof Error ? error.message : String(error)
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
/**
|
|
227
|
+
* POST /sources/:sourceId/jobs/:jobId - Execute source job
|
|
228
|
+
*/
|
|
229
|
+
router.post('/:sourceId/jobs/:jobId', async (req, res) => {
|
|
230
|
+
try {
|
|
231
|
+
const { sourceId, jobId } = req.params;
|
|
232
|
+
const { parameters } = req.body;
|
|
233
|
+
const sources = app.manifest.sources || {};
|
|
234
|
+
if (!sources[sourceId]) {
|
|
235
|
+
return res.status(404).json({ error: `Source ${sourceId} not found` });
|
|
236
|
+
}
|
|
237
|
+
const jobs = sources[sourceId].jobs || {};
|
|
238
|
+
if (!jobs[jobId]) {
|
|
239
|
+
return res.status(404).json({ error: `Job ${jobId} not found in source ${sourceId}` });
|
|
240
|
+
}
|
|
241
|
+
const result = await sourceExecutor.executeSourceJob({
|
|
242
|
+
sourceId,
|
|
243
|
+
jobId,
|
|
244
|
+
parameters
|
|
245
|
+
});
|
|
246
|
+
res.json({ result });
|
|
247
|
+
}
|
|
248
|
+
catch (error) {
|
|
249
|
+
const { sourceId, jobId } = req.params;
|
|
250
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to execute source job', {
|
|
251
|
+
id: sourceId,
|
|
252
|
+
operation: 'job',
|
|
253
|
+
error
|
|
254
|
+
});
|
|
255
|
+
res.status(500).json({
|
|
256
|
+
error: 'Failed to execute source job',
|
|
257
|
+
details: error instanceof Error ? error.message : String(error)
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
/**
|
|
262
|
+
* GET /sources/:sourceId/jobs/:jobId/executions - Get job execution history
|
|
263
|
+
*/
|
|
264
|
+
router.get('/:sourceId/jobs/:jobId/executions', (req, res) => {
|
|
265
|
+
try {
|
|
266
|
+
const { sourceId, jobId } = req.params;
|
|
267
|
+
const executions = sourceJobExecutionStore.getExecutions(sourceId, jobId);
|
|
268
|
+
res.json({ executions });
|
|
269
|
+
}
|
|
270
|
+
catch (error) {
|
|
271
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to fetch job executions', {
|
|
272
|
+
id: req.params.sourceId,
|
|
273
|
+
operation: 'job-executions',
|
|
274
|
+
error
|
|
275
|
+
});
|
|
276
|
+
res.status(500).json({
|
|
277
|
+
error: 'Failed to fetch job executions',
|
|
278
|
+
details: error instanceof Error ? error.message : String(error)
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
/**
|
|
283
|
+
* GET /sources/:sourceId/job-executions - Get all job executions for source
|
|
284
|
+
*/
|
|
285
|
+
router.get('/:sourceId/job-executions', (req, res) => {
|
|
286
|
+
try {
|
|
287
|
+
const { sourceId } = req.params;
|
|
288
|
+
const executions = sourceJobExecutionStore.getExecutions(sourceId);
|
|
289
|
+
res.json({ executions });
|
|
290
|
+
}
|
|
291
|
+
catch (error) {
|
|
292
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to fetch all job executions', {
|
|
293
|
+
id: req.params.sourceId,
|
|
294
|
+
operation: 'all-job-executions',
|
|
295
|
+
error
|
|
296
|
+
});
|
|
297
|
+
res.status(500).json({
|
|
298
|
+
error: 'Failed to fetch all job executions',
|
|
299
|
+
details: error instanceof Error ? error.message : String(error)
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
/**
|
|
304
|
+
* POST /sources/:sourceId/generate-mock - Generate mock webhook data
|
|
305
|
+
*/
|
|
306
|
+
router.post('/:sourceId/generate-mock', async (req, res) => {
|
|
307
|
+
try {
|
|
308
|
+
const { sourceId } = req.params;
|
|
309
|
+
const sources = app.manifest.sources || {};
|
|
310
|
+
if (!sources[sourceId]) {
|
|
311
|
+
return res.status(404).json({ error: `Source ${sourceId} not found` });
|
|
312
|
+
}
|
|
313
|
+
// Get schema via IPC
|
|
314
|
+
const schema = await localEngineClient.executeSourceSchema(sourceId, createAppConfig(app));
|
|
315
|
+
// Reuse destination mock generator
|
|
316
|
+
const mockBatch = (0, mockDataGenerator_1.generateMockBatch)(schema, 1);
|
|
317
|
+
// Extract just the items for webhook payload
|
|
318
|
+
res.json({ data: mockBatch.items[0] });
|
|
319
|
+
}
|
|
320
|
+
catch (error) {
|
|
321
|
+
const sourceId = req.params.sourceId;
|
|
322
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to generate mock data', {
|
|
323
|
+
id: sourceId,
|
|
324
|
+
operation: 'generate-mock',
|
|
325
|
+
error
|
|
326
|
+
});
|
|
327
|
+
res.status(500).json({
|
|
328
|
+
error: 'Failed to generate mock data',
|
|
329
|
+
details: error instanceof Error ? error.message : String(error)
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
/**
|
|
334
|
+
* GET /sources/:sourceId/data - Retrieve pushed data from SourceDataStore
|
|
335
|
+
* Query params: limit (number), context ('webhook' | 'job')
|
|
336
|
+
*/
|
|
337
|
+
router.get('/:sourceId/data', (req, res) => {
|
|
338
|
+
try {
|
|
339
|
+
const { sourceId } = req.params;
|
|
340
|
+
const limit = req.query.limit ? parseInt(req.query.limit, 10) : undefined;
|
|
341
|
+
const context = req.query.context;
|
|
342
|
+
const data = sourceDataStore.getData(sourceId, context, limit);
|
|
343
|
+
res.json({ data });
|
|
344
|
+
}
|
|
345
|
+
catch (error) {
|
|
346
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to fetch source data', {
|
|
347
|
+
id: req.params.sourceId,
|
|
348
|
+
operation: 'data',
|
|
349
|
+
error
|
|
350
|
+
});
|
|
351
|
+
res.status(500).json({
|
|
352
|
+
error: 'Failed to fetch source data',
|
|
353
|
+
details: error instanceof Error ? error.message : String(error)
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
/**
|
|
358
|
+
* DELETE /sources/:sourceId/data - Clear pushed data
|
|
359
|
+
* Query params: context ('webhook' | 'job') - optional, clears all if not specified
|
|
360
|
+
*/
|
|
361
|
+
router.delete('/:sourceId/data', (req, res) => {
|
|
362
|
+
try {
|
|
363
|
+
const { sourceId } = req.params;
|
|
364
|
+
const context = req.query.context;
|
|
365
|
+
sourceDataStore.clear(sourceId, context);
|
|
366
|
+
res.json({ success: true });
|
|
367
|
+
}
|
|
368
|
+
catch (error) {
|
|
369
|
+
logger.error(LogManager_1.LogSource.System, LogManager_1.LogCategory.Source, 'Failed to clear source data', {
|
|
370
|
+
id: req.params.sourceId,
|
|
371
|
+
operation: 'clear-data',
|
|
372
|
+
error
|
|
373
|
+
});
|
|
374
|
+
res.status(500).json({
|
|
375
|
+
error: 'Failed to clear source data',
|
|
376
|
+
details: error instanceof Error ? error.message : String(error)
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
});
|
|
380
|
+
return router;
|
|
381
|
+
}
|
|
382
|
+
//# sourceMappingURL=sources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.js","sourceRoot":"","sources":["../../../../src/server/api/sources.ts"],"names":[],"mappings":";;;;;AA6BA,gDA8XC;AA3ZD,sDAAqD;AAErD,yDAA8E;AAC9E,kEAA+D;AAC/D,gFAA2E;AAC3E,4DAAyD;AACzD,gFAA6E;AAC7E,gGAA6F;AAE7F,sCAAmC;AAEnC,MAAM,MAAM,GAAG,uBAAU,CAAC,WAAW,EAAE,CAAC;AAExC;;GAEG;AACH,SAAS,eAAe,CAAC,GAAQ;IAC/B,OAAO;QACL,QAAQ,EAAE,GAAG,CAAC,QAAQ;QACtB,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,UAAU,eAAM,CAAC,MAAM,CAAC,IAAI,IAAI,eAAM,CAAC,MAAM,CAAC,IAAI,EAAE;KAC9D,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAAC,GAAQ,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