@kumologica/sdk 3.2.0-beta19 → 3.2.0-beta20
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/cli/.DS_Store +0 -0
- package/fixtures/.DS_Store +0 -0
- package/package.json +4 -4
- package/src/app/lib/aws/index.js +21 -1
- package/src/app/ui/editor-client/public/red/red.js +2 -2
- package/src/app/ui/editor-client/public/red/red.min.js +1 -1
- package/src/app/ui/editor-client/src/js/ui/tab-awsDeploy.js +2 -2
package/cli/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"productName": "Kumologica Designer",
|
|
4
4
|
"copyright": "Copyright 2020 Kumologica Pty Ltd, All Rights Reserved.",
|
|
5
5
|
"author": "Kumologica Pty Ltd <contact@kumologica.com>",
|
|
6
|
-
"version": "3.2.0-
|
|
6
|
+
"version": "3.2.0-beta20",
|
|
7
7
|
"description": "Kumologica Designer, harnessing Serverless for your cloud integration needs",
|
|
8
8
|
"main": "src/app/main.js",
|
|
9
9
|
"files": [
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"license": "Proprietary",
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@electron/remote": "^2.0.8",
|
|
67
|
-
"@kumologica/builder": "3.2.0-
|
|
68
|
-
"@kumologica/devkit": "3.2.0-
|
|
69
|
-
"@kumologica/runtime": "3.2.0-
|
|
67
|
+
"@kumologica/builder": "3.2.0-beta20",
|
|
68
|
+
"@kumologica/devkit": "3.2.0-beta20",
|
|
69
|
+
"@kumologica/runtime": "3.2.0-beta20",
|
|
70
70
|
"adm-zip": "0.4.13",
|
|
71
71
|
"ajv": "8.10.0",
|
|
72
72
|
"archive-type": "^4.0.0",
|
package/src/app/lib/aws/index.js
CHANGED
|
@@ -193,15 +193,35 @@ class AWSDeployer {
|
|
|
193
193
|
nodes,
|
|
194
194
|
projectInfo
|
|
195
195
|
);
|
|
196
|
+
/*
|
|
197
|
+
"Outputs": [
|
|
198
|
+
{
|
|
199
|
+
"OutputKey": "LambdaArn",
|
|
200
|
+
"OutputValue": "arn:aws:lambda:ap-southeast-2:174842903734:function:sockets-flow",
|
|
201
|
+
"Description": "The Arn of the kumologica flow lambda."
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"OutputKey": "RootResourceId",
|
|
205
|
+
"OutputValue": "qb9cfkwah9",
|
|
206
|
+
"Description": "The root resource id of rest api gateway created in this script."
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"OutputKey": "RestApiId",
|
|
210
|
+
"OutputValue": "h1eihbg3gb",
|
|
211
|
+
"Description": "The id of rest api gateway created in this script."
|
|
212
|
+
}
|
|
213
|
+
*/
|
|
214
|
+
|
|
196
215
|
lambdaArn = stackDetails.Stacks[0].Outputs[0].OutputValue;
|
|
197
216
|
|
|
217
|
+
this.log(JSON.stringify(stackDetails));
|
|
198
218
|
this.log(`${this.chalk('greenBright', 'Deployment successful.')}`);
|
|
199
219
|
this.log(
|
|
200
220
|
` ${this.chalk('#F5DEB3', 'StackId:')} ${this.chalk('whiteBright',
|
|
201
221
|
stackDetails.Stacks[0].StackId
|
|
202
222
|
)}`,
|
|
203
223
|
false
|
|
204
|
-
);
|
|
224
|
+
);
|
|
205
225
|
this.log(` ${this.chalk('#F5DEB3', 'LambdaArn:')} ${this.chalk('whiteBright',lambdaArn)}`, false);
|
|
206
226
|
this.log('', false);
|
|
207
227
|
|
|
@@ -22468,7 +22468,7 @@ RED.view.tools = (function() {
|
|
|
22468
22468
|
|
|
22469
22469
|
if (serviceType == 'api') {
|
|
22470
22470
|
$(`#${dataListId}`).append(
|
|
22471
|
-
$('<option>').attr('value', '
|
|
22471
|
+
$('<option>').attr('value', 'create new').text('Create new API')
|
|
22472
22472
|
);
|
|
22473
22473
|
}
|
|
22474
22474
|
|
|
@@ -22499,7 +22499,7 @@ RED.view.tools = (function() {
|
|
|
22499
22499
|
|
|
22500
22500
|
if (serviceType == 'api') {
|
|
22501
22501
|
$(`#${dataListId}`).append(
|
|
22502
|
-
$('<option>').attr('value', '
|
|
22502
|
+
$('<option>').attr('value', 'create new').text('Create new API')
|
|
22503
22503
|
);
|
|
22504
22504
|
}
|
|
22505
22505
|
|