diff options
author | YuanHu <yuan.hu1@zte.com.cn> | 2018-03-07 15:36:41 +0800 |
---|---|---|
committer | YuanHu <yuan.hu1@zte.com.cn> | 2018-03-07 15:36:41 +0800 |
commit | de4cddaad0aea160d13d48c6d2379ae9f8a2a693 (patch) | |
tree | 2486b4ffa14770d442cc5023805121376e0ea22e /distribution/src/main/assembly | |
parent | 0541e2e4f483dc52db595af119534fa1e4a83e30 (diff) |
Unit Test for 'FileCommonUtils'.
Test method for FileCommonUtils#readString(String)
Issue-ID: SDC-1078
Change-Id: Ifffe7105b235fda932e1a39b40cafce7d371255f
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'distribution/src/main/assembly')
-rw-r--r-- | distribution/src/main/assembly/ext-activities.json | 154 |
1 files changed, 99 insertions, 55 deletions
diff --git a/distribution/src/main/assembly/ext-activities.json b/distribution/src/main/assembly/ext-activities.json index 8294da6a..eae58fce 100644 --- a/distribution/src/main/assembly/ext-activities.json +++ b/distribution/src/main/assembly/ext-activities.json @@ -132,7 +132,6 @@ "type": "string", "default": "default", "required": false, - "constraints": [], "displayName": { "zh_CN": "参数1", "en_US": "Param1" @@ -142,7 +141,6 @@ }, "param2": { "type": "string", - "default": "", "required": true, "displayName": { "zh_CN": "参数2", @@ -166,9 +164,7 @@ "outputs": { "out1": { "type": "string", - "default": "default", "required": false, - "constraints": [], "displayName": { "zh_CN": "输出1", "en_US": "Output Param 1" @@ -232,58 +228,62 @@ "produces": "application/json, text/plain", "inputs": { "param1": { + "in": "query", "type": "string", "default": "default", "required": false, - "constraints": [], "show": false, "editable": true }, "param2": { - "type": "object", - "default": "", - "properties": { - "a": { - "type": "number" - }, - "b": { - "type": "string" - }, - "c": { - "type": "array", - "items": { + "in": "body", + "schema": { + "type": "object", + "properties": { + "a": { + "type": "number", + "default": 123 + }, + "b": { "type": "string", - "enum": [ - "a", - "b", - "c" - ] - } - }, - "d": { - "type": "array", - "items": { - "type": "object", - "properties": { - "p1": { - "type": "number" - }, - "p2": { - "type": "boolean" + "default": "xyz" + }, + "c": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "a", + "b", + "c" + ] + } + }, + "d": { + "type": "array", + "items": { + "type": "object", + "properties": { + "p1": { + "type": "number" + }, + "p2": { + "type": "boolean" + } } } - } - }, - "y": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "z": { - "type": "object", - "additionalProperties": { - "type": "integer" + }, + "y": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "z": { + "type": "object", + "additionalProperties": { + "type": "integer" + } } } }, @@ -292,6 +292,7 @@ "editable": true }, "param3": { + "in": "path", "type": "string", "default": "value3", "required": true, @@ -300,17 +301,60 @@ } }, "outputs": { - "out1": { - "type": "string", - "default": "default", - "required": false, - "constraints": [], + "body": { "displayName": { - "zh_CN": "输出1", - "en_US": "Output Param 1" + "zh_CN": "消息体", + "en_US": "Message Body" }, - "show": true, - "editable": true + "schema": { + "type": "object", + "properties": { + "a": { + "type": "number" + }, + "b": { + "type": "string" + }, + "c": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "a", + "b", + "c" + ] + } + }, + "d": { + "type": "array", + "items": { + "type": "object", + "properties": { + "p1": { + "type": "number" + }, + "p2": { + "type": "boolean" + } + } + } + }, + "y": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "z": { + "type": "object", + "additionalProperties": { + "type": "integer" + } + } + } + }, + "editable": false } } } |