refactor: version 0.0.8

This commit is contained in:
wss-git 2021-06-09 18:54:06 +08:00
parent 748a524669
commit 1c8d2ab139
15 changed files with 39 additions and 164 deletions

View File

@ -123,7 +123,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/devsapp/fc-remote-invoke/blob/534180c/src/index.ts#L16">index.ts:16</a></li>
<li>Defined in <a href="https://github.com/devsapp/fc-remote-invoke/blob/748a524/src/index.ts#L16">index.ts:16</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@ -146,7 +146,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/devsapp/fc-remote-invoke/blob/534180c/src/index.ts#L98">index.ts:98</a></li>
<li>Defined in <a href="https://github.com/devsapp/fc-remote-invoke/blob/748a524/src/index.ts#L98">index.ts:98</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@ -174,7 +174,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/devsapp/fc-remote-invoke/blob/534180c/src/index.ts#L9">index.ts:9</a></li>
<li>Defined in <a href="https://github.com/devsapp/fc-remote-invoke/blob/748a524/src/index.ts#L9">index.ts:9</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>

View File

@ -97,6 +97,18 @@
<h2>特别说明</h2>
</a>
<p>当函数是 http 函数时event最终获取值目前仅支持 json 字符串,<a href="https://github.com/devsapp/fc-remote-invoke/blob/master/example/http.json">示例参考</a></p>
<pre><code><span style="color: #000000">{</span>
<span style="color: #000000"> </span><span style="color: #A31515">&quot;body&quot;</span><span style="color: #000000">: </span><span style="color: #A31515">&quot;body&quot;</span><span style="color: #000000">,</span>
<span style="color: #000000"> </span><span style="color: #A31515">&quot;method&quot;</span><span style="color: #000000">: </span><span style="color: #A31515">&quot;POST&quot;</span><span style="color: #000000">,</span>
<span style="color: #000000"> </span><span style="color: #A31515">&quot;headers&quot;</span><span style="color: #000000">: {</span>
<span style="color: #000000"> </span><span style="color: #A31515">&quot;key&quot;</span><span style="color: #001080">:</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;value&quot;</span>
<span style="color: #000000"> },</span>
<span style="color: #000000"> </span><span style="color: #A31515">&quot;queries&quot;</span><span style="color: #000000">: {</span>
<span style="color: #000000"> </span><span style="color: #A31515">&quot;key&quot;</span><span style="color: #001080">:</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;value&quot;</span>
<span style="color: #000000"> },</span>
<span style="color: #000000"> </span><span style="color: #A31515">&quot;path&quot;</span><span style="color: #000000">: </span><span style="color: #A31515">&quot;string&quot;</span>
<span style="color: #000000">}</span>
</code></pre>
<p>invocation-type 选填,默认 sync
event 选填event 函数默认为空字符串http 函数默认 GET 请求,其他参数为空</p>
</div>

View File

@ -15,25 +15,25 @@ exports.default = [
{
name: 'invocation-type',
description: 'Invocation type: optional value "async"|"sync", default value "sync" (default: "sync")',
alias: '-t',
alias: 't',
type: String,
},
{
name: 'event',
description: 'Event data (strings) passed to the function during invocation (default: "")',
alias: '-e',
description: 'Event data (strings) passed to the function during invocation (default: "").Http function format refers to [https://github.com/devsapp/fc-remote-invoke#特别说明]',
alias: 'e',
type: String,
},
{
name: 'event-file',
description: 'A file containing event data passed to the function during invoke.',
alias: '-f',
description: 'Event funtion: A file containing event data passed to the function during invoke. Http function: A file containing http request options sent to http trigger. Format refers to [https://github.com/devsapp/fc-remote-invoke#特别说明]',
alias: 'f',
type: String,
},
{
name: 'event-stdin',
description: 'Read from standard input, to support script pipeline.',
alias: '-s',
description: 'Read from standard input, to support script pipeline.Http function format refers to [https://github.com/devsapp/fc-remote-invoke#特别说明]',
alias: 's',
type: Boolean,
},
{
@ -67,14 +67,18 @@ exports.default = [
{
header: 'Examples with Yaml',
content: [
'$ s exec -- invoke <options>',
'$ s exec -- invoke --invocation-type sync --event [payload]',
'$ s exec -- invoke --invocation-type async --event-file [path]',
'$ s exec -- invoke --event-stdin',
],
},
{
header: 'Examples with Cli',
content: [
'$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * <options>',
'$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event [payload]',
'$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event-file [path]',
'$ s cli fc-remote-invoke invoke --region * --service-name * --function-name * --event-stdin',
],
},
];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21tb24vaGVscC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGtCQUFlO0lBQ2I7UUFDRSxNQUFNLEVBQUUsYUFBYTtRQUNyQixPQUFPLEVBQUUsZUFBZTtLQUN6QjtJQUNEO1FBQ0UsTUFBTSxFQUFFLE9BQU87UUFDZixPQUFPLEVBQUUscUNBQXFDO0tBQy9DO0lBQ0Q7UUFDRSxNQUFNLEVBQUUsU0FBUztRQUNqQixVQUFVLEVBQUU7WUFDVjtnQkFDRSxJQUFJLEVBQUUsaUJBQWlCO2dCQUN2QixXQUFXLEVBQUUsd0ZBQXdGO2dCQUNyRyxLQUFLLEVBQUUsSUFBSTtnQkFDWCxJQUFJLEVBQUUsTUFBTTthQUNiO1lBQ0Q7Z0JBQ0UsSUFBSSxFQUFFLE9BQU87Z0JBQ2IsV0FBVyxFQUFFLDZFQUE2RTtnQkFDMUYsS0FBSyxFQUFFLElBQUk7Z0JBQ1gsSUFBSSxFQUFFLE1BQU07YUFDYjtZQUNEO2dCQUNFLElBQUksRUFBRSxZQUFZO2dCQUNsQixXQUFXLEVBQUUsb0VBQW9FO2dCQUNqRixLQUFLLEVBQUUsSUFBSTtnQkFDWCxJQUFJLEVBQUUsTUFBTTthQUNiO1lBQ0Q7Z0JBQ0UsSUFBSSxFQUFFLGFBQWE7Z0JBQ25CLFdBQVcsRUFBRSx1REFBdUQ7Z0JBQ3BFLEtB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xFQUFFO1lBQ1Y7Z0JBQ0UsSUFBSSxFQUFFLE1BQU07Z0JBQ1osV0FBVyxFQUFFLG1DQUFtQztnQkFDaEQsS0FBSyxFQUFFLEdBQUc7Z0JBQ1YsSUFBSSxFQUFFLE9BQU87YUFDZDtTQUNGO0tBQ0Y7SUFDRDtRQUNFLE1BQU0sRUFBRSxvQkFBb0I7UUFDNUIsT0FBTyxFQUFFO1lBQ1AsNkRBQTZEO1lBQzdELGdFQUFnRTtZQUNoRSxrQ0FBa0M7U0FDbkM7S0FDRjtJQUNEO1FBQ0UsTUFBTSxFQUFFLG1CQUFtQjtRQUMzQixPQUFPLEVBQUU7WUFDUCxpR0FBaUc7WUFDakcsbUdBQW1HO1lBQ25HLDZGQUE2RjtTQUM5RjtLQUNGO0NBQ0YsQ0FBQSJ9

View File

@ -117,8 +117,9 @@ class FcRemoteInvoke {
invoke(inputs) {
return __awaiter(this, void 0, void 0, function* () {
const { props, eventPayload, credentials, isHelp, invocationType, } = yield this.handlerInputs(inputs);
// await this.report('fc-remote-invoke', 'invoke', credentials?.AccountID);
yield this.report('fc-remote-invoke', 'invoke', credentials === null || credentials === void 0 ? void 0 : credentials.AccountID);
if (isHelp) {
console.log('??');
core.help(help_1.default);
return;
}
@ -128,4 +129,4 @@ class FcRemoteInvoke {
}
}
exports.default = FcRemoteInvoke;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsb0RBQXVCO0FBQ3ZCLDREQUE4QztBQUM5Qyw2REFBcUM7QUFDckMseURBQWlDO0FBQ2pDLCtDQUF5RjtBQUN6Rix3RUFBK0M7QUFFL0MsTUFBcUIsY0FBYztJQUMzQixNQU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NVLE1BQU0sQ0FBQyxNQUFrQjs7WUFDcEMsTUFBTSxFQUNKLEtBQUssRUFDTCxZQUFZLEVBQ1osV0FBVyxFQUNYLE1BQU0sRUFDTixjQUFjLEdBQ2YsR0FBRyxNQUFNLElBQUksQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLENBQUM7WUFDckMsTUFBTSxJQUFJLENBQUMsTUFBTSxDQUFDLGtCQUFrQixFQUFFLFFBQVEsRUFBRSxXQUFXLGFBQVgsV0FBVyx1QkFBWCxXQUFXLENBQUUsU0FBUyxDQUFDLENBQUM7WUFFeEUsSUFBSSxNQUFNLEVBQUU7Z0JBQ1YsT0FBTyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQztnQkFDbEIsSUFBSSxDQUFDLElBQUksQ0FBQyxjQUFJLENBQUMsQ0FBQztnQkFDaEIsT0FBTzthQUNSO1lBRUQsTUFBTSxZQUFZLEdBQUcsSUFBSSx1QkFBWSxDQUFDLEtBQUssQ0FBQyxNQUFNLEVBQUUsV0FBVyxDQUFDLENBQUM7WUFDakUsTUFBTSxZQUFZLENBQUMsTUFBTSxDQUFDLEtBQUssRUFBRSxZQUFZLEVBQUUsRUFBRSxjQUFjLEVBQUUsQ0FBQyxDQUFDO1FBQ3JFLENBQUM7S0FBQTtDQUNGO0FBN0dELGlDQTZHQyJ9

View File

View File

@ -1 +0,0 @@
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJmYWNlL2V2ZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==

View File

@ -1,4 +0,0 @@
export default class File {
static getEvent(eventFile: any): Promise<unknown>;
static eventPriority(eventPriority: any): Promise<any>;
}

View File

@ -1,68 +0,0 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = __importDefault(require("path"));
const get_stdin_1 = __importDefault(require("get-stdin"));
const fs_extra_1 = __importDefault(require("fs-extra"));
const readline_1 = __importDefault(require("readline"));
const logger_1 = __importDefault(require("../common/logger"));
class File {
static getEvent(eventFile) {
return __awaiter(this, void 0, void 0, function* () {
let event = yield get_stdin_1.default(); // read from pipes
if (!eventFile)
return event;
return yield new Promise((resolve, reject) => {
let input;
if (eventFile === '-') { // read from stdin
logger_1.default.log(`Reading event data from stdin, which can be ended with Enter then Ctrl+D
(you can also pass it from file with -e)`);
input = process.stdin;
}
else {
input = fs_extra_1.default.createReadStream(eventFile, {
encoding: 'utf-8'
});
}
const rl = readline_1.default.createInterface({
input,
output: process.stdout
});
event = '';
rl.on('line', (line) => {
event += line;
});
rl.on('close', () => resolve(event));
rl.on('SIGINT', () => reject(new Error('^C')));
});
});
}
static eventPriority(eventPriority) {
return __awaiter(this, void 0, void 0, function* () {
let eventFile;
if (eventPriority.event) {
return eventPriority.event;
}
else if (eventPriority.eventStdin) {
eventFile = '-';
}
else if (eventPriority.eventFile) {
eventFile = path_1.default.resolve(process.cwd(), eventPriority.eventFile);
}
return yield this.getEvent(eventFile);
});
}
}
exports.default = File;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbnRlcmZhY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yI6IiJ9

4
lib/lib/file.d.ts vendored
View File

@ -1,4 +0,0 @@
export default class File {
static getEvent(eventFile: any): Promise<unknown>;
static eventPriority(eventPriority: any): Promise<any>;
}

View File

@ -1,68 +0,0 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = __importDefault(require("path"));
const get_stdin_1 = __importDefault(require("get-stdin"));
const fs_extra_1 = __importDefault(require("fs-extra"));
const readline_1 = __importDefault(require("readline"));
const logger_1 = __importDefault(require("../common/logger"));
class File {
static getEvent(eventFile) {
return __awaiter(this, void 0, void 0, function* () {
let event = yield get_stdin_1.default(); // read from pipes
if (!eventFile)
return event;
return yield new Promise((resolve, reject) => {
let input;
if (eventFile === '-') { // read from stdin
logger_1.default.log(`Reading event data from stdin, which can be ended with Enter then Ctrl+D
(you can also pass it from file with -e)`);
input = process.stdin;
}
else {
input = fs_extra_1.default.createReadStream(eventFile, {
encoding: 'utf-8'
});
}
const rl = readline_1.default.createInterface({
input,
output: process.stdout
});
event = '';
rl.on('line', (line) => {
event += line;
});
rl.on('close', () => resolve(event));
rl.on('SIGINT', () => reject(new Error('^C')));
});
});
}
static eventPriority(eventPriority) {
return __awaiter(this, void 0, void 0, function* () {
let eventFile;
if (eventPriority.event) {
return eventPriority.event;
}
else if (eventPriority.eventStdin) {
eventFile = '-';
}
else if (eventPriority.eventFile) {
eventFile = path_1.default.resolve(process.cwd(), event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部署测试"
"deploy test": "部署测试",
"input args: -h -h": "input args: -h -h",
"command parse: {\"_\":[],\"help\":true,\"h\":true,\"event-stdin\":false,\"s\":false}": "command parse: {\"_\":[],\"help\":true,\"h\":true,\"event-stdin\":false,\"s\":false}",
"input args: -h --debug -h": "input args: -h --debug -h",
"command parse: {\"_\":[],\"help\":true,\"h\":true,\"event-stdin\":false,\"s\":false,\"debug\":true}": "command parse: {\"_\":[],\"help\":true,\"h\":true,\"event-stdin\":false,\"s\":false,\"debug\":true}"
}

View File

@ -1,6 +1,6 @@
{
"name": "fc-remote-invoke",
"version": "0.0.7",
"version": "0.0.8",
"description": "This is a component demo for Serverless Devs Tool ",
"keywords": [
"Serverless",

View File

@ -2,7 +2,7 @@ Type: Component
Name: fc-remote-invoke
Provider:
- 其它
Version: 0.0.7
Version: 0.0.8
Description: 初始化component模板
HomePage: https://www.serverless-devs.com
Tags: #标签详情