@sw-tsdk/plugin-connector 2.20.1 → 2.20.2

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 CHANGED
@@ -16,7 +16,7 @@ $ npm install -g @sw-tsdk/plugin-connector
16
16
  $ sw-tsdk-connector COMMAND
17
17
  running command...
18
18
  $ sw-tsdk-connector (--version)
19
- @sw-tsdk/plugin-connector/2.20.1 linux-x64 node-v16.20.2
19
+ @sw-tsdk/plugin-connector/2.20.2 linux-x64 node-v16.20.2
20
20
  $ sw-tsdk-connector --help [COMMAND]
21
21
  USAGE
22
22
  $ sw-tsdk-connector COMMAND
@@ -66,7 +66,7 @@ DESCRIPTION
66
66
  Update a connector action.
67
67
  ```
68
68
 
69
- _See code: [lib/commands/action/add.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/action/add.js)_
69
+ _See code: [lib/commands/action/add.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/action/add.js)_
70
70
 
71
71
  ## `sw-tsdk-connector action:generate:data`
72
72
 
@@ -91,7 +91,7 @@ DESCRIPTION
91
91
  Use to test a task in an integration
92
92
  ```
93
93
 
94
- _See code: [lib/commands/action/generate/data.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/action/generate/data.js)_
94
+ _See code: [lib/commands/action/generate/data.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/action/generate/data.js)_
95
95
 
96
96
  ## `sw-tsdk-connector action:generate:input`
97
97
 
@@ -116,7 +116,7 @@ DESCRIPTION
116
116
  Update action input schema.
117
117
  ```
118
118
 
119
- _See code: [lib/commands/action/generate/input.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/action/generate/input.js)_
119
+ _See code: [lib/commands/action/generate/input.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/action/generate/input.js)_
120
120
 
121
121
  ## `sw-tsdk-connector action:generate:output`
122
122
 
@@ -140,7 +140,7 @@ DESCRIPTION
140
140
  Update a connector action.
141
141
  ```
142
142
 
143
- _See code: [lib/commands/action/generate/output.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/action/generate/output.js)_
143
+ _See code: [lib/commands/action/generate/output.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/action/generate/output.js)_
144
144
 
145
145
  ## `sw-tsdk-connector action:run:local`
146
146
 
@@ -169,7 +169,7 @@ DESCRIPTION
169
169
  Runs a connector action. (Defaults to current image version in local repository).
170
170
  ```
171
171
 
172
- _See code: [lib/commands/action/run/local.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/action/run/local.js)_
172
+ _See code: [lib/commands/action/run/local.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/action/run/local.js)_
173
173
 
174
174
  ## `sw-tsdk-connector asset:add`
175
175
 
@@ -190,7 +190,7 @@ DESCRIPTION
190
190
  Update a connector action.
191
191
  ```
192
192
 
193
- _See code: [lib/commands/asset/add.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/asset/add.js)_
193
+ _See code: [lib/commands/asset/add.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/asset/add.js)_
194
194
 
195
195
  ## `sw-tsdk-connector component:create`
196
196
 
@@ -220,7 +220,7 @@ DESCRIPTION
220
220
  Scaffold a new Component
221
221
  ```
222
222
 
223
- _See code: [lib/commands/component/create.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/component/create.js)_
223
+ _See code: [lib/commands/component/create.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/component/create.js)_
224
224
 
225
225
  ## `sw-tsdk-connector component:logo`
226
226
 
@@ -241,7 +241,7 @@ DESCRIPTION
241
241
  Update a Component logo.
242
242
  ```
243
243
 
244
- _See code: [lib/commands/component/logo.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/component/logo.js)_
244
+ _See code: [lib/commands/component/logo.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/component/logo.js)_
245
245
 
246
246
  ## `sw-tsdk-connector component:ssp`
247
247
 
@@ -262,7 +262,7 @@ DESCRIPTION
262
262
  Update an SSP.
263
263
  ```
264
264
 
265
- _See code: [lib/commands/component/ssp.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/component/ssp.js)_
265
+ _See code: [lib/commands/component/ssp.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/component/ssp.js)_
266
266
 
267
267
  ## `sw-tsdk-connector component:update`
268
268
 
@@ -284,7 +284,7 @@ DESCRIPTION
284
284
  Update Component Version.
285
285
  ```
286
286
 
287
- _See code: [lib/commands/component/update.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/component/update.js)_
287
+ _See code: [lib/commands/component/update.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/component/update.js)_
288
288
 
289
289
  ## `sw-tsdk-connector connector:build`
290
290
 
@@ -314,7 +314,7 @@ DESCRIPTION
314
314
  Builds a local docker image of the connector.
315
315
  ```
316
316
 
317
- _See code: [lib/commands/connector/build.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/connector/build.js)_
317
+ _See code: [lib/commands/connector/build.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/connector/build.js)_
318
318
 
319
319
  ## `sw-tsdk-connector connector:create`
320
320
 
@@ -346,7 +346,7 @@ DESCRIPTION
346
346
  Scaffold a new connector
347
347
  ```
348
348
 
349
- _See code: [lib/commands/connector/create.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/connector/create.js)_
349
+ _See code: [lib/commands/connector/create.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/connector/create.js)_
350
350
 
351
351
  ## `sw-tsdk-connector connector:create:openapi`
352
352
 
@@ -375,7 +375,7 @@ DESCRIPTION
375
375
  Scaffold a new connector
376
376
  ```
377
377
 
378
- _See code: [lib/commands/connector/create/openapi.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/connector/create/openapi.js)_
378
+ _See code: [lib/commands/connector/create/openapi.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/connector/create/openapi.js)_
379
379
 
380
380
  ## `sw-tsdk-connector connector:create:source`
381
381
 
@@ -393,7 +393,7 @@ DESCRIPTION
393
393
  Generates 11x source from 10x
394
394
  ```
395
395
 
396
- _See code: [lib/commands/connector/create/source.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/connector/create/source.js)_
396
+ _See code: [lib/commands/connector/create/source.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/connector/create/source.js)_
397
397
 
398
398
  ## `sw-tsdk-connector connector:logo`
399
399
 
@@ -412,7 +412,7 @@ DESCRIPTION
412
412
  Update a connector.
413
413
  ```
414
414
 
415
- _See code: [lib/commands/connector/logo.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/connector/logo.js)_
415
+ _See code: [lib/commands/connector/logo.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/connector/logo.js)_
416
416
 
417
417
  ## `sw-tsdk-connector connector:sign`
418
418
 
@@ -437,7 +437,7 @@ DESCRIPTION
437
437
  Builds a local docker image of the connector.
438
438
  ```
439
439
 
440
- _See code: [lib/commands/connector/sign.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/connector/sign.js)_
440
+ _See code: [lib/commands/connector/sign.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/connector/sign.js)_
441
441
 
442
442
  ## `sw-tsdk-connector connector:update`
443
443
 
@@ -457,7 +457,7 @@ DESCRIPTION
457
457
  Update a connector.
458
458
  ```
459
459
 
460
- _See code: [lib/commands/connector/update.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/connector/update.js)_
460
+ _See code: [lib/commands/connector/update.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/connector/update.js)_
461
461
 
462
462
  ## `sw-tsdk-connector connector:validate`
463
463
 
@@ -480,7 +480,7 @@ DESCRIPTION
480
480
  Use to validate an integration
481
481
  ```
482
482
 
483
- _See code: [lib/commands/connector/validate.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/connector/validate.js)_
483
+ _See code: [lib/commands/connector/validate.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/connector/validate.js)_
484
484
 
485
485
  ## `sw-tsdk-connector description:action`
486
486
 
@@ -501,7 +501,7 @@ DESCRIPTION
501
501
  Use to generate action description
502
502
  ```
503
503
 
504
- _See code: [lib/commands/description/action.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/description/action.js)_
504
+ _See code: [lib/commands/description/action.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/description/action.js)_
505
505
 
506
506
  ## `sw-tsdk-connector description:actions`
507
507
 
@@ -521,7 +521,7 @@ DESCRIPTION
521
521
  Use to generate description for all actions
522
522
  ```
523
523
 
524
- _See code: [lib/commands/description/actions.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/description/actions.js)_
524
+ _See code: [lib/commands/description/actions.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/description/actions.js)_
525
525
 
526
526
  ## `sw-tsdk-connector description:component`
527
527
 
@@ -529,8 +529,8 @@ Use to generate component descriptions
529
529
 
530
530
  ```
531
531
  USAGE
532
- $ sw-tsdk-connector description:component [-h] [-i <value>] [-s] [-d <value>] [-c <value>] [-t <value>] [-v <value>] [-p
533
- <value>]
532
+ $ sw-tsdk-connector description:component [-h] [-i <value>] [-s] [-d <value>] [-c <value>] [--componentType <value>] [-v
533
+ <value>] [-p <value>]
534
534
 
535
535
  FLAGS
536
536
  -c, --componentName=<value> component name
@@ -539,14 +539,14 @@ FLAGS
539
539
  -i, --image=<value> image to use
540
540
  -p, --connectorLocalPath=<value> local path to connector
541
541
  -s, --skip-pull skips pulling the image
542
- -t, --componentType=<value> [default: ingestion] ingestion | enrichment | remediation
543
542
  -v, --componentVariety=<value> [default: classic] classic | canvas
543
+ --componentType=<value> ingestion | enrichment | remediation
544
544
 
545
545
  DESCRIPTION
546
546
  Use to generate component descriptions
547
547
  ```
548
548
 
549
- _See code: [lib/commands/description/component.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/description/component.js)_
549
+ _See code: [lib/commands/description/component.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/description/component.js)_
550
550
 
551
551
  ## `sw-tsdk-connector description:connector`
552
552
 
@@ -566,5 +566,5 @@ DESCRIPTION
566
566
  Use to generate connector descriptions
567
567
  ```
568
568
 
569
- _See code: [lib/commands/description/connector.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.1/lib/commands/description/connector.js)_
569
+ _See code: [lib/commands/description/connector.js](https://github.com/swimlane/turbine-sdk/blob/v2.20.2/lib/commands/description/connector.js)_
570
570
  <!-- commandsstop -->
@@ -7,7 +7,7 @@ export declare class Component extends Base {
7
7
  'skip-pull': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
8
8
  directory: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
9
9
  componentName: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
10
- componentType: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
10
+ componentType: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
11
11
  componentVariety: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
12
  connectorLocalPath: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
13
13
  };
@@ -20,7 +20,6 @@ class Component extends core_3.Base {
20
20
  let { image } = flags;
21
21
  let { directory } = flags;
22
22
  directory = (0, node_path_1.resolve)(directory);
23
- console.log(directory);
24
23
  const typeOfContent = 'component';
25
24
  if (!image) {
26
25
  image = `${docker_1.DockerDefaults.SdkTurbineContentDescriptionImage}`;
@@ -39,7 +38,7 @@ class Component extends core_3.Base {
39
38
  {
40
39
  type: 'list',
41
40
  name: 'componentType',
42
- message: 'Choose use case type (eg: ingestion | enrichment | remediation)',
41
+ message: 'Use case type (e.g. ingestion)',
43
42
  choices: common_1.contentUseCaseCategories,
44
43
  }];
45
44
  const componentVarietySelected = await (0, common_2.chooseComponentType)();
@@ -48,12 +47,13 @@ class Component extends core_3.Base {
48
47
  const manifestData = await (0, common_2.getManifestYamlFile)(componentDirectory);
49
48
  const filteredQuestions = masterQuestions.filter(q => !flags[q.name]);
50
49
  const answers = Object.assign(await inquirer_1.default.prompt(filteredQuestions), flags);
50
+ const descData = `${manifestData.title} ${answers.componentType}`;
51
51
  const data = {
52
52
  parent: componentNameSelected,
53
53
  name: componentNameSelected,
54
54
  type: answers.componentType,
55
55
  componentVariety: componentVarietySelected,
56
- data: manifestData.title,
56
+ data: descData,
57
57
  title: manifestData.title,
58
58
  };
59
59
  const jsonString = JSON.stringify(data);
@@ -115,9 +115,7 @@ Component.flags = {
115
115
  description: 'component name',
116
116
  }),
117
117
  componentType: core_1.Flags.string({
118
- char: 't',
119
118
  description: 'ingestion | enrichment | remediation',
120
- default: 'ingestion',
121
119
  }),
122
120
  componentVariety: core_1.Flags.string({
123
121
  char: 'v',
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/commands/description/component.ts"],"names":[],"mappings":";;;;AAAA,sCAAiC;AACjC,4CAAsD;AACtD,sCAAsC;AACtC,qCAAgC;AAChC,wCAAsD;AACtD,yCAAqD;AAErD,yCAA0F;AAC1F,gEAA+B;AAC/B,yCAAuC;AACvC,kEAA4B;AAE5B,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QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,4BAA4B;QACzC,OAAO,EAAE,IAAI;KACd,CAAC;IACF,aAAa,EAAE,YAAK,CAAC,MAAM,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,gBAAgB;KAC9B,CAAC;IACF,aAAa,EAAE,YAAK,CAAC,MAAM,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,sCAAsC;QACnD,OAAO,EAAE,WAAW;KACrB,CAAC;IACF,gBAAgB,EAAE,YAAK,CAAC,MAAM,CAAC;QAC7B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,kBAAkB;QAC/B,OAAO,EAAE,SAAS;KACnB,CAAC;IACF,kBAAkB,EAAE,YAAK,CAAC,MAAM,CAAC;QAC/B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,yBAAyB;KACvC,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/commands/description/component.ts"],"names":[],"mappings":";;;;AAAA,sCAAiC;AACjC,4CAAsD;AACtD,sCAAsC;AACtC,qCAAgC;AAChC,wCAAsD;AACtD,yCAAqD;AAErD,yCAA0F;AAC1F,gEAA+B;AAC/B,yCAAuC;AACvC,kEAA4B;AAE5B,qCAAqC;AACrC,MAAa,SAAU,SAAQ,WAAI;IAqCjC,KAAK,CAAC,GAAG;QACP,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;QAC3C,MAAM,EACJ,WAAW,EAAE,QAAQ,GACtB,GAAG,KAAK,CAAA;QACT,IAAI,EAAC,KAAK,EAAC,GAAG,KAAK,CAAA;QAEnB,IAAI,EAAC,SAAS,EAAC,GAAG,KAAK,CAAA;QACvB,SAAS,GAAG,IAAA,mBAAO,EAAC,SAAS,CAAC,CAAA;QAE9B,MAAM,aAAa,GAAG,WAAW,CAAA;QACjC,IAAI,CAAC,KAAK,EAAE;YACV,KA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AE,YAAK,CAAC,MAAM,CAAC;QAC/B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,yBAAyB;KACvC,CAAC;CACH,CAAC"}
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.20.1",
2
+ "version": "2.20.2",
3
3
  "commands": {
4
4
  "action:add": {
5
5
  "id": "action:add",
@@ -894,10 +894,8 @@
894
894
  "componentType": {
895
895
  "name": "componentType",
896
896
  "type": "option",
897
- "char": "t",
898
897
  "description": "ingestion | enrichment | remediation",
899
- "multiple": false,
900
- "default": "ingestion"
898
+ "multiple": false
901
899
  },
902
900
  "componentVariety": {
903
901
  "name": "componentVariety",
package/package.json CHANGED
@@ -6,10 +6,10 @@
6
6
  "dependencies": {
7
7
  "@apidevtools/json-schema-ref-parser": "10.1.0",
8
8
  "@oclif/core": "2.8.5",
9
- "@sw-tsdk/common": "^2.20.1",
10
- "@sw-tsdk/connector": "^2.20.1",
11
- "@sw-tsdk/core": "^2.20.1",
12
- "@sw-tsdk/docker": "^2.20.1",
9
+ "@sw-tsdk/common": "^2.20.2",
10
+ "@sw-tsdk/connector": "^2.20.2",
11
+ "@sw-tsdk/core": "^2.20.2",
12
+ "@sw-tsdk/docker": "^2.20.2",
13
13
  "@swimlane/connector-interfaces": "1.11.0",
14
14
  "@swimlane/cosign": "1.4.1",
15
15
  "@swimlane/docker-reference": "2.0.1",
@@ -95,6 +95,6 @@
95
95
  "posttest": "yarn lint",
96
96
  "dev:setup": "npm link"
97
97
  },
98
- "version": "2.20.1",
99
- "gitHead": "dfc66023ec19995d81a4d30012dd2edc70aaecb9"
98
+ "version": "2.20.2",
99
+ "gitHead": "a499c8367fa71f59c1fc8f05520329aec6ac59ff"
100
100
  }