digitalsee-ai-flow-cli 0.2.1 → 0.6.12-beta
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/.github/workflows/publish.yml +1 -0
- package/README.md +230 -17
- package/dist/api/mapping.d.ts.map +1 -0
- package/dist/api/mapping.js +74 -0
- package/dist/api/mapping.js.map +1 -0
- package/dist/api/node.d.ts.map +1 -1
- package/dist/api/node.js +4 -0
- package/dist/api/node.js.map +1 -1
- package/dist/api/org.d.ts.map +1 -0
- package/dist/api/org.js +21 -0
- package/dist/api/org.js.map +1 -0
- package/dist/commands/flow/list.d.ts.map +1 -1
- package/dist/commands/flow/list.js +13 -1
- package/dist/commands/flow/list.js.map +1 -1
- package/dist/commands/flow/mapping.d.ts.map +1 -0
- package/dist/commands/flow/mapping.js +477 -0
- package/dist/commands/flow/mapping.js.map +1 -0
- package/dist/commands/flow/node.d.ts.map +1 -1
- package/dist/commands/flow/node.js +95 -5
- package/dist/commands/flow/node.js.map +1 -1
- package/dist/commands/flow/test.d.ts.map +1 -1
- package/dist/commands/flow/test.js +0 -30
- package/dist/commands/flow/test.js.map +1 -1
- package/dist/commands/flow/update.d.ts.map +1 -1
- package/dist/commands/flow/update.js +31 -5
- package/dist/commands/flow/update.js.map +1 -1
- package/dist/commands/flow.d.ts.map +1 -1
- package/dist/commands/flow.js +2 -0
- package/dist/commands/flow.js.map +1 -1
- package/dist/commands/link/create.d.ts.map +1 -1
- package/dist/commands/link/create.js +22 -4
- package/dist/commands/link/create.js.map +1 -1
- package/dist/commands/org.d.ts.map +1 -0
- package/dist/commands/org.js +248 -0
- package/dist/commands/org.js.map +1 -0
- package/dist/commands/sync/create.d.ts.map +1 -1
- package/dist/commands/sync/create.js +22 -4
- package/dist/commands/sync/create.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/org.d.ts.map +1 -0
- package/dist/types/org.js +5 -0
- package/dist/types/org.js.map +1 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +23 -0
- package/dist/utils/format.js.map +1 -1
- package/package.json +1 -1
- package/dist/api/dip.d.ts.map +0 -1
- package/dist/api/dip.js +0 -14
- package/dist/api/dip.js.map +0 -1
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isMappingSupported = isMappingSupported;
|
|
4
|
+
exports.getDirectionFromBusinessType = getDirectionFromBusinessType;
|
|
5
|
+
exports.findMappingByName = findMappingByName;
|
|
6
|
+
exports.getDirectionLabel = getDirectionLabel;
|
|
7
|
+
exports.getMappingSubPath = getMappingSubPath;
|
|
8
|
+
exports.buildMappingEntry = buildMappingEntry;
|
|
9
|
+
exports.formatMappingMethod = formatMappingMethod;
|
|
10
|
+
exports.registerFlowMapping = registerFlowMapping;
|
|
11
|
+
const output_1 = require("@/utils/output");
|
|
12
|
+
const flow_1 = require("@/api/flow");
|
|
13
|
+
const mapping_1 = require("@/api/mapping");
|
|
14
|
+
const MAPPING_BUSINESS_TYPES = [5, 6];
|
|
15
|
+
function isMappingSupported(flow) {
|
|
16
|
+
return flow.business_type !== undefined && MAPPING_BUSINESS_TYPES.includes(flow.business_type);
|
|
17
|
+
}
|
|
18
|
+
async function validateFlowSupportsMapping(flowId) {
|
|
19
|
+
const flow = await (0, flow_1.getFlowDetail)(flowId);
|
|
20
|
+
if (!isMappingSupported(flow)) {
|
|
21
|
+
const msg = `该连接流不支持属性映射(business_type=${flow.business_type ?? '未知'}),仅通讯录集成(business_type=5)和通讯录同步(business_type=6)支持`;
|
|
22
|
+
throw new Error(msg);
|
|
23
|
+
}
|
|
24
|
+
return flow.business_type;
|
|
25
|
+
}
|
|
26
|
+
function getDirectionFromBusinessType(businessType) {
|
|
27
|
+
if (businessType === 5)
|
|
28
|
+
return 'upstream';
|
|
29
|
+
if (businessType === 6)
|
|
30
|
+
return 'downstream';
|
|
31
|
+
throw new Error(`不支持的 business_type: ${businessType}`);
|
|
32
|
+
}
|
|
33
|
+
function findMappingByName(subParams, name, direction) {
|
|
34
|
+
if (direction === 'upstream') {
|
|
35
|
+
return subParams.findIndex((item) => item.name === name);
|
|
36
|
+
}
|
|
37
|
+
return subParams.findIndex((item) => item.value === name);
|
|
38
|
+
}
|
|
39
|
+
function getDirectionLabel(direction) {
|
|
40
|
+
return direction === 'upstream' ? '上游 → IDAAS' : 'IDAAS → 下游';
|
|
41
|
+
}
|
|
42
|
+
function getMappingSubPath(entity, direction) {
|
|
43
|
+
const mappingKey = `${entity}_mapping`;
|
|
44
|
+
const directionKey = direction === 'upstream' ? 'to_iam' : 'to_app';
|
|
45
|
+
return [mappingKey, directionKey, 'sub_params'];
|
|
46
|
+
}
|
|
47
|
+
function ensureSubParams(data, entity, direction) {
|
|
48
|
+
const [mappingKey, directionKey] = getMappingSubPath(entity, direction);
|
|
49
|
+
let mapping = data[mappingKey];
|
|
50
|
+
if (!mapping) {
|
|
51
|
+
mapping = {};
|
|
52
|
+
data[mappingKey] = mapping;
|
|
53
|
+
}
|
|
54
|
+
let dirData = mapping[directionKey];
|
|
55
|
+
if (!dirData) {
|
|
56
|
+
dirData = {};
|
|
57
|
+
mapping[directionKey] = dirData;
|
|
58
|
+
}
|
|
59
|
+
let arr = dirData.sub_params;
|
|
60
|
+
if (!arr) {
|
|
61
|
+
arr = [];
|
|
62
|
+
dirData.sub_params = arr;
|
|
63
|
+
}
|
|
64
|
+
return arr;
|
|
65
|
+
}
|
|
66
|
+
function getSubParams(data, entity, direction) {
|
|
67
|
+
const [mappingKey, directionKey] = getMappingSubPath(entity, direction);
|
|
68
|
+
const mapping = data[mappingKey];
|
|
69
|
+
const dirData = mapping?.[directionKey];
|
|
70
|
+
return dirData?.sub_params || [];
|
|
71
|
+
}
|
|
72
|
+
function buildMappingEntry(sourceField, targetField, method, direction, expression, targetExpression) {
|
|
73
|
+
const update = method === 'update';
|
|
74
|
+
const base = direction === 'upstream'
|
|
75
|
+
? { name: targetField, value: sourceField, update }
|
|
76
|
+
: { name: sourceField, value: targetField, update };
|
|
77
|
+
if (expression) {
|
|
78
|
+
base.source_exp = expression;
|
|
79
|
+
base.exp_type = 'JS_EXP';
|
|
80
|
+
}
|
|
81
|
+
if (targetExpression) {
|
|
82
|
+
base.target_exp = targetExpression;
|
|
83
|
+
base.exp_type = 'JS_EXP';
|
|
84
|
+
}
|
|
85
|
+
return base;
|
|
86
|
+
}
|
|
87
|
+
function formatMappingMethod(item) {
|
|
88
|
+
return item.update ? 'update' : 'create';
|
|
89
|
+
}
|
|
90
|
+
function formatSourceValue(item) {
|
|
91
|
+
if (item.exp_type === 'JS_EXP' && item.source_exp) {
|
|
92
|
+
return `JS: ${item.source_exp}`;
|
|
93
|
+
}
|
|
94
|
+
return String(item.value || '-');
|
|
95
|
+
}
|
|
96
|
+
function renderMappingTable(mappings, title, direction) {
|
|
97
|
+
if (mappings.length === 0) {
|
|
98
|
+
(0, output_1.printWarning)(`${title}: 无映射`);
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
(0, output_1.printSubHeader)(title);
|
|
102
|
+
const headers = direction === 'upstream'
|
|
103
|
+
? ['上游字段', 'IDAAS 字段', '显示名', '类型', '方式']
|
|
104
|
+
: ['下游字段', '显示名', 'IDAAS 字段', '类型', '方式'];
|
|
105
|
+
const rows = mappings.map((m) => {
|
|
106
|
+
const idaasLabel = m.exp_type === 'JS_EXP' && m.target_exp
|
|
107
|
+
? `JS: ${m.target_exp}`
|
|
108
|
+
: direction === 'upstream'
|
|
109
|
+
? String(m.name || '-')
|
|
110
|
+
: String(m.value || '-');
|
|
111
|
+
if (direction === 'upstream') {
|
|
112
|
+
return [
|
|
113
|
+
formatSourceValue(m),
|
|
114
|
+
idaasLabel,
|
|
115
|
+
String(m.display_name || '-'),
|
|
116
|
+
String(m.value_type || m.type || '-'),
|
|
117
|
+
formatMappingMethod(m),
|
|
118
|
+
];
|
|
119
|
+
}
|
|
120
|
+
return [
|
|
121
|
+
formatSourceValue(m),
|
|
122
|
+
String(m.display_name || '-'),
|
|
123
|
+
idaasLabel,
|
|
124
|
+
String(m.value_type || m.type || '-'),
|
|
125
|
+
formatMappingMethod(m),
|
|
126
|
+
];
|
|
127
|
+
});
|
|
128
|
+
(0, output_1.printTable)(headers, rows);
|
|
129
|
+
}
|
|
130
|
+
function renderFieldOptions(fields, title) {
|
|
131
|
+
if (fields.length === 0) {
|
|
132
|
+
(0, output_1.printWarning)(`${title}: 无可用字段`);
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
(0, output_1.printSubHeader)(`${title} (${fields.length} 个字段)`);
|
|
136
|
+
const headers = ['字段名', '显示名', '类型'];
|
|
137
|
+
const rows = fields.map((f) => [
|
|
138
|
+
f.name || '-',
|
|
139
|
+
f.display_name || f.name || '-',
|
|
140
|
+
String(f.value_type || f.type || '-'),
|
|
141
|
+
]);
|
|
142
|
+
(0, output_1.printTable)(headers, rows);
|
|
143
|
+
}
|
|
144
|
+
function registerFlowMapping(flowCmd) {
|
|
145
|
+
const mappingCmd = flowCmd.command('mapping').description('属性映射管理(账号关联)');
|
|
146
|
+
// ── show ────────────────────────────────────────────────
|
|
147
|
+
mappingCmd
|
|
148
|
+
.command('show <flowId>')
|
|
149
|
+
.description('查看属性映射配置')
|
|
150
|
+
.option('--type <refType>', '引用类型', 'CONNECTOR')
|
|
151
|
+
.option('--mode <mode>', '显示模式: all(全部) | configured(仅已配置) | available(仅可配置项)', 'all')
|
|
152
|
+
.option('--json', '以 JSON 格式输出')
|
|
153
|
+
.action(async (flowId, options) => {
|
|
154
|
+
try {
|
|
155
|
+
if (options.json)
|
|
156
|
+
(0, output_1.setJsonMode)(true);
|
|
157
|
+
const refType = options.type || 'CONNECTOR';
|
|
158
|
+
const mode = options.mode || 'all';
|
|
159
|
+
await validateFlowSupportsMapping(flowId);
|
|
160
|
+
const data = await (0, mapping_1.getProfileMappingData)(flowId, refType);
|
|
161
|
+
if (options.json) {
|
|
162
|
+
(0, output_1.printJson)(data);
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
(0, output_1.printHeader)(`属性映射配置 (Flow: ${flowId})`);
|
|
166
|
+
if (mode === 'all' || mode === 'configured') {
|
|
167
|
+
const hasUpstreamMappings = data.otherUserMappingToIam.length > 0 ||
|
|
168
|
+
data.otherOrgMappingToIam.length > 0 ||
|
|
169
|
+
data.otherRoleMappingToIam.length > 0;
|
|
170
|
+
const hasDownstreamMappings = data.otherUserMappingToApp.length > 0 ||
|
|
171
|
+
data.otherOrgMappingToApp.length > 0 ||
|
|
172
|
+
data.otherRoleMappingToApp.length > 0;
|
|
173
|
+
if (!hasUpstreamMappings && !hasDownstreamMappings) {
|
|
174
|
+
(0, output_1.printWarning)('暂无已配置的映射');
|
|
175
|
+
}
|
|
176
|
+
if (hasUpstreamMappings) {
|
|
177
|
+
(0, output_1.printHeader)('上游 → IDAAS 映射');
|
|
178
|
+
renderMappingTable(data.otherUserMappingToIam, '用户字段映射', 'upstream');
|
|
179
|
+
renderMappingTable(data.otherOrgMappingToIam, '部门字段映射', 'upstream');
|
|
180
|
+
if (data.otherRoleMappingToIam.length > 0) {
|
|
181
|
+
renderMappingTable(data.otherRoleMappingToIam, '角色字段映射', 'upstream');
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
if (hasDownstreamMappings) {
|
|
185
|
+
(0, output_1.printHeader)('IDAAS → 下游 映射');
|
|
186
|
+
renderMappingTable(data.otherUserMappingToApp, '用户字段映射', 'downstream');
|
|
187
|
+
renderMappingTable(data.otherOrgMappingToApp, '部门字段映射', 'downstream');
|
|
188
|
+
if (data.otherRoleMappingToApp.length > 0) {
|
|
189
|
+
renderMappingTable(data.otherRoleMappingToApp, '角色字段映射', 'downstream');
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
if (mode === 'all' || mode === 'available') {
|
|
194
|
+
(0, output_1.printHeader)('可用字段');
|
|
195
|
+
renderFieldOptions(data.digUserSubParams, 'IDAAS 用户字段');
|
|
196
|
+
renderFieldOptions(data.otherUserSubParams, '上游用户字段');
|
|
197
|
+
renderFieldOptions(data.digOrgSubParams, 'IDAAS 部门字段');
|
|
198
|
+
renderFieldOptions(data.otherOrgSubParams, '上游部门字段');
|
|
199
|
+
if (data.digRoleSubParams.length > 0) {
|
|
200
|
+
renderFieldOptions(data.digRoleSubParams, 'IDAAS 角色字段');
|
|
201
|
+
}
|
|
202
|
+
if (data.otherRoleSubParams.length > 0) {
|
|
203
|
+
renderFieldOptions(data.otherRoleSubParams, '上游角色字段');
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
catch (error) {
|
|
208
|
+
if (options.json) {
|
|
209
|
+
(0, output_1.printStructuredResult)({ ok: false, message: error.message });
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
(0, output_1.printError)(`获取映射配置失败: ${error.message}`);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
// ── add ─────────────────────────────────────────────────
|
|
217
|
+
mappingCmd
|
|
218
|
+
.command('add <flowId>')
|
|
219
|
+
.description('新增属性映射')
|
|
220
|
+
.requiredOption('--entity <entity>', '实体类型: user | org | role')
|
|
221
|
+
.option('--source-field <field>', '外部系统字段名(与 --expression 互斥)')
|
|
222
|
+
.option('--expression <expr>', 'source 侧 JS 表达式(与 --source-field 互斥)')
|
|
223
|
+
.option('--target-field <field>', 'IDAAS 字段名(与 --target-expression 互斥)')
|
|
224
|
+
.option('--target-expression <expr>', 'target 侧 JS 表达式(与 --target-field 互斥)')
|
|
225
|
+
.option('--method <method>', '映射方式: create | update', 'create')
|
|
226
|
+
.option('--type <refType>', '引用类型', 'CONNECTOR')
|
|
227
|
+
.option('--json', '以 JSON 格式输出')
|
|
228
|
+
.action(async (flowId, options) => {
|
|
229
|
+
try {
|
|
230
|
+
if (options.json)
|
|
231
|
+
(0, output_1.setJsonMode)(true);
|
|
232
|
+
const refType = options.type || 'CONNECTOR';
|
|
233
|
+
const businessType = await validateFlowSupportsMapping(flowId);
|
|
234
|
+
const direction = getDirectionFromBusinessType(businessType);
|
|
235
|
+
const entity = options.entity;
|
|
236
|
+
if (!['user', 'org', 'role'].includes(entity)) {
|
|
237
|
+
throw new Error(`无效的实体类型: ${entity},可选值: user | org | role`);
|
|
238
|
+
}
|
|
239
|
+
if (options.sourceField && options.expression) {
|
|
240
|
+
throw new Error('--source-field 与 --expression 互斥,请只提供其中一个');
|
|
241
|
+
}
|
|
242
|
+
if (!options.sourceField && !options.expression) {
|
|
243
|
+
throw new Error('必须提供 --source-field 或 --expression');
|
|
244
|
+
}
|
|
245
|
+
if (options.targetField && options.targetExpression) {
|
|
246
|
+
throw new Error('--target-field 与 --target-expression 互斥,请只提供其中一个');
|
|
247
|
+
}
|
|
248
|
+
if (!options.targetField && !options.targetExpression) {
|
|
249
|
+
throw new Error('必须提供 --target-field 或 --target-expression');
|
|
250
|
+
}
|
|
251
|
+
const method = options.method === 'update' ? 'update' : 'create';
|
|
252
|
+
const profileData = await (0, mapping_1.fetchProfileData)(flowId, refType);
|
|
253
|
+
const subParams = ensureSubParams(profileData, entity, direction);
|
|
254
|
+
// IDAAS 侧标识检查重名
|
|
255
|
+
const idaasKey = options.targetField || options.targetExpression;
|
|
256
|
+
const existing = subParams.find((item) => direction === 'upstream' ? item.name === idaasKey : item.value === idaasKey);
|
|
257
|
+
if (existing && !options.targetExpression) {
|
|
258
|
+
throw new Error(`映射已存在: ${idaasKey},如需修改请使用 flow mapping set 命令`);
|
|
259
|
+
}
|
|
260
|
+
const sourceField = options.sourceField || options.expression;
|
|
261
|
+
const targetField = options.targetField || options.targetExpression;
|
|
262
|
+
const entry = buildMappingEntry(sourceField, targetField, method, direction, options.expression, options.targetExpression);
|
|
263
|
+
subParams.push(entry);
|
|
264
|
+
await (0, mapping_1.editMapping)(flowId, refType, profileData);
|
|
265
|
+
if (options.json) {
|
|
266
|
+
(0, output_1.printJson)({ ok: true, message: '映射已添加', entry, flowId });
|
|
267
|
+
}
|
|
268
|
+
else {
|
|
269
|
+
const sourceLabel = options.expression
|
|
270
|
+
? `JS: ${options.expression}`
|
|
271
|
+
: options.sourceField;
|
|
272
|
+
const targetLabel = options.targetExpression
|
|
273
|
+
? `JS: ${options.targetExpression}`
|
|
274
|
+
: options.targetField;
|
|
275
|
+
(0, output_1.printSuccess)(`映射已添加 (${getDirectionLabel(direction)}): ${sourceLabel} → ${targetLabel} (${method})`);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
catch (error) {
|
|
279
|
+
if (options.json) {
|
|
280
|
+
(0, output_1.printStructuredResult)({ ok: false, message: error.message });
|
|
281
|
+
}
|
|
282
|
+
else {
|
|
283
|
+
(0, output_1.printError)(`添加映射失败: ${error.message}`);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
});
|
|
287
|
+
// ── set ─────────────────────────────────────────────────
|
|
288
|
+
mappingCmd
|
|
289
|
+
.command('set <flowId>')
|
|
290
|
+
.description('修改已有映射')
|
|
291
|
+
.requiredOption('--entity <entity>', '实体类型: user | org | role')
|
|
292
|
+
.requiredOption('--name <fieldName>', 'IDAAS 字段名,用于定位映射条目')
|
|
293
|
+
.option('--source-field <field>', '新的外部系统字段名(与 --expression 互斥)')
|
|
294
|
+
.option('--expression <expr>', '新的 source 侧 JS 表达式(与 --source-field 互斥)')
|
|
295
|
+
.option('--target-field <field>', '新的 IDAAS 字段名(与 --target-expression 互斥)')
|
|
296
|
+
.option('--target-expression <expr>', '新的 target 侧 JS 表达式(与 --target-field 互斥)')
|
|
297
|
+
.option('--method <method>', '映射方式: create | update')
|
|
298
|
+
.option('--type <refType>', '引用类型', 'CONNECTOR')
|
|
299
|
+
.option('--json', '以 JSON 格式输出')
|
|
300
|
+
.action(async (flowId, options) => {
|
|
301
|
+
try {
|
|
302
|
+
if (options.json)
|
|
303
|
+
(0, output_1.setJsonMode)(true);
|
|
304
|
+
const refType = options.type || 'CONNECTOR';
|
|
305
|
+
const businessType = await validateFlowSupportsMapping(flowId);
|
|
306
|
+
const direction = getDirectionFromBusinessType(businessType);
|
|
307
|
+
const entity = options.entity;
|
|
308
|
+
if (!['user', 'org', 'role'].includes(entity)) {
|
|
309
|
+
throw new Error(`无效的实体类型: ${entity},可选值: user | org | role`);
|
|
310
|
+
}
|
|
311
|
+
if (options.sourceField && options.expression) {
|
|
312
|
+
throw new Error('--source-field 与 --expression 互斥,请只提供其中一个');
|
|
313
|
+
}
|
|
314
|
+
if (options.targetField && options.targetExpression) {
|
|
315
|
+
throw new Error('--target-field 与 --target-expression 互斥,请只提供其中一个');
|
|
316
|
+
}
|
|
317
|
+
if (!options.sourceField &&
|
|
318
|
+
!options.expression &&
|
|
319
|
+
!options.targetField &&
|
|
320
|
+
!options.targetExpression &&
|
|
321
|
+
!options.method) {
|
|
322
|
+
throw new Error('至少需要提供一个修改项');
|
|
323
|
+
}
|
|
324
|
+
const profileData = await (0, mapping_1.fetchProfileData)(flowId, refType);
|
|
325
|
+
const subParams = getSubParams(profileData, entity, direction);
|
|
326
|
+
const idx = findMappingByName(subParams, options.name, direction);
|
|
327
|
+
if (idx === -1) {
|
|
328
|
+
throw new Error(`未找到映射: ${options.name}`);
|
|
329
|
+
}
|
|
330
|
+
const entry = subParams[idx];
|
|
331
|
+
const oldEntry = { ...entry };
|
|
332
|
+
if (options.sourceField !== undefined) {
|
|
333
|
+
if (direction === 'upstream') {
|
|
334
|
+
entry.value = options.sourceField;
|
|
335
|
+
}
|
|
336
|
+
else {
|
|
337
|
+
entry.name = options.sourceField;
|
|
338
|
+
}
|
|
339
|
+
delete entry.source_exp;
|
|
340
|
+
if (!entry.target_exp)
|
|
341
|
+
delete entry.exp_type;
|
|
342
|
+
}
|
|
343
|
+
if (options.expression !== undefined) {
|
|
344
|
+
if (direction === 'upstream') {
|
|
345
|
+
entry.value = options.expression;
|
|
346
|
+
}
|
|
347
|
+
else {
|
|
348
|
+
entry.name = options.expression;
|
|
349
|
+
}
|
|
350
|
+
entry.source_exp = options.expression;
|
|
351
|
+
entry.exp_type = 'JS_EXP';
|
|
352
|
+
}
|
|
353
|
+
if (options.targetField !== undefined) {
|
|
354
|
+
if (direction === 'upstream') {
|
|
355
|
+
entry.name = options.targetField;
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
entry.value = options.targetField;
|
|
359
|
+
}
|
|
360
|
+
delete entry.target_exp;
|
|
361
|
+
if (!entry.source_exp)
|
|
362
|
+
delete entry.exp_type;
|
|
363
|
+
}
|
|
364
|
+
if (options.targetExpression !== undefined) {
|
|
365
|
+
if (direction === 'upstream') {
|
|
366
|
+
entry.name = options.targetExpression;
|
|
367
|
+
}
|
|
368
|
+
else {
|
|
369
|
+
entry.value = options.targetExpression;
|
|
370
|
+
}
|
|
371
|
+
entry.target_exp = options.targetExpression;
|
|
372
|
+
entry.exp_type = 'JS_EXP';
|
|
373
|
+
}
|
|
374
|
+
if (options.method !== undefined) {
|
|
375
|
+
entry.update = options.method === 'update';
|
|
376
|
+
}
|
|
377
|
+
subParams[idx] = entry;
|
|
378
|
+
await (0, mapping_1.editMapping)(flowId, refType, profileData);
|
|
379
|
+
if (options.json) {
|
|
380
|
+
(0, output_1.printJson)({ ok: true, message: '映射已更新', old: oldEntry, updated: entry, flowId });
|
|
381
|
+
}
|
|
382
|
+
else {
|
|
383
|
+
(0, output_1.printSuccess)(`映射已更新: ${options.name}`);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
catch (error) {
|
|
387
|
+
if (options.json) {
|
|
388
|
+
(0, output_1.printStructuredResult)({ ok: false, message: error.message });
|
|
389
|
+
}
|
|
390
|
+
else {
|
|
391
|
+
(0, output_1.printError)(`修改映射失败: ${error.message}`);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
// ── delete ──────────────────────────────────────────────
|
|
396
|
+
mappingCmd
|
|
397
|
+
.command('delete <flowId>')
|
|
398
|
+
.description('删除属性映射')
|
|
399
|
+
.requiredOption('--entity <entity>', '实体类型: user | org | role')
|
|
400
|
+
.requiredOption('--name <fieldName>', 'IDAAS 字段名,用于定位映射条目')
|
|
401
|
+
.option('--type <refType>', '引用类型', 'CONNECTOR')
|
|
402
|
+
.option('--json', '以 JSON 格式输出')
|
|
403
|
+
.action(async (flowId, options) => {
|
|
404
|
+
try {
|
|
405
|
+
if (options.json)
|
|
406
|
+
(0, output_1.setJsonMode)(true);
|
|
407
|
+
const refType = options.type || 'CONNECTOR';
|
|
408
|
+
const businessType = await validateFlowSupportsMapping(flowId);
|
|
409
|
+
const direction = getDirectionFromBusinessType(businessType);
|
|
410
|
+
const entity = options.entity;
|
|
411
|
+
if (!['user', 'org', 'role'].includes(entity)) {
|
|
412
|
+
throw new Error(`无效的实体类型: ${entity},可选值: user | org | role`);
|
|
413
|
+
}
|
|
414
|
+
const profileData = await (0, mapping_1.fetchProfileData)(flowId, refType);
|
|
415
|
+
const subParams = getSubParams(profileData, entity, direction);
|
|
416
|
+
const beforeLen = subParams.length;
|
|
417
|
+
const newSubParams = subParams.filter((item) => direction === 'upstream' ? item.name !== options.name : item.value !== options.name);
|
|
418
|
+
if (newSubParams.length === beforeLen) {
|
|
419
|
+
throw new Error(`未找到映射: ${options.name}`);
|
|
420
|
+
}
|
|
421
|
+
// 写回过滤后的数组
|
|
422
|
+
const [mappingKey, directionKey] = getMappingSubPath(entity, direction);
|
|
423
|
+
const mapping = profileData[mappingKey];
|
|
424
|
+
const dirData = mapping?.[directionKey];
|
|
425
|
+
if (dirData) {
|
|
426
|
+
dirData.sub_params = newSubParams;
|
|
427
|
+
}
|
|
428
|
+
await (0, mapping_1.editMapping)(flowId, refType, profileData);
|
|
429
|
+
if (options.json) {
|
|
430
|
+
(0, output_1.printJson)({ ok: true, message: '映射已删除', name: options.name, flowId });
|
|
431
|
+
}
|
|
432
|
+
else {
|
|
433
|
+
(0, output_1.printSuccess)(`映射已删除: ${options.name}`);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
catch (error) {
|
|
437
|
+
if (options.json) {
|
|
438
|
+
(0, output_1.printStructuredResult)({ ok: false, message: error.message });
|
|
439
|
+
}
|
|
440
|
+
else {
|
|
441
|
+
(0, output_1.printError)(`删除映射失败: ${error.message}`);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
// ── check ───────────────────────────────────────────────
|
|
446
|
+
mappingCmd
|
|
447
|
+
.command('check <flowId>')
|
|
448
|
+
.description('检查映射是否已配置')
|
|
449
|
+
.option('--json', '以 JSON 格式输出')
|
|
450
|
+
.action(async (flowId, options) => {
|
|
451
|
+
try {
|
|
452
|
+
if (options.json)
|
|
453
|
+
(0, output_1.setJsonMode)(true);
|
|
454
|
+
await validateFlowSupportsMapping(flowId);
|
|
455
|
+
const result = await (0, mapping_1.checkMappingStatus)(flowId);
|
|
456
|
+
if (options.json) {
|
|
457
|
+
(0, output_1.printJson)({ ok: true, configured: result, flowId });
|
|
458
|
+
return;
|
|
459
|
+
}
|
|
460
|
+
if (result) {
|
|
461
|
+
(0, output_1.printSuccess)(`Flow ${flowId}: 映射已配置`);
|
|
462
|
+
}
|
|
463
|
+
else {
|
|
464
|
+
(0, output_1.printWarning)(`Flow ${flowId}: 映射未配置`);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
catch (error) {
|
|
468
|
+
if (options.json) {
|
|
469
|
+
(0, output_1.printStructuredResult)({ ok: false, message: error.message });
|
|
470
|
+
}
|
|
471
|
+
else {
|
|
472
|
+
(0, output_1.printError)(`检查映射状态失败: ${error.message}`);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
});
|
|
476
|
+
}
|
|
477
|
+
//# sourceMappingURL=mapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapping.js","sourceRoot":"","sources":["../../../src/commands/flow/mapping.ts"],"names":[],"mappings":";;AAuBA,gDAEC;AAcD,oEAIC;AA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.d.ts","sourceRoot":"","sources":["../../../src/commands/flow/node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuCpC,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA2lBvD"}
|