@flowcore/cli 2.17.0 → 2.18.1

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/CHANGELOG.md CHANGED
@@ -10,6 +10,20 @@
10
10
 
11
11
  * added description to start that includes week ([58687a7](https://github.com/flowcore-io/flowcore-cli/commit/58687a7bbb66aaa5d6da26af88e555cbb1e72467))
12
12
 
13
+ ## [2.18.1](https://github.com/flowcore-io/flowcore-cli/compare/v2.18.0...v2.18.1) (2024-08-06)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * updated scenario plugin ([0240288](https://github.com/flowcore-io/flowcore-cli/commit/0240288cb238a212182728ad17369c80d281846f))
19
+
20
+ ## [2.18.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.17.0...v2.18.0) (2024-08-06)
21
+
22
+
23
+ ### Features
24
+
25
+ * added reset adapter command ([bf3831c](https://github.com/flowcore-io/flowcore-cli/commit/bf3831c01e1356fa64059d82c3be0517840f7e81))
26
+
13
27
  ## [2.17.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.16.1...v2.17.0) (2024-07-15)
14
28
 
15
29
 
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @flowcore/cli
18
18
  $ flowcore COMMAND
19
19
  running command...
20
20
  $ flowcore (--version)
21
- @flowcore/cli/2.17.0 linux-x64 node-v20.15.0
21
+ @flowcore/cli/2.18.1 linux-x64 node-v20.16.0
22
22
  $ flowcore --help [COMMAND]
23
23
  USAGE
24
24
  $ flowcore COMMAND
@@ -36,8 +36,11 @@ USAGE
36
36
  * [`flowcore data-core generate flow-type`](#flowcore-data-core-generate-flow-type)
37
37
  * [`flowcore data-core generate manifest`](#flowcore-data-core-generate-manifest)
38
38
  * [`flowcore generate nestjs-entity NAME`](#flowcore-generate-nestjs-entity-name)
39
+ * [`flowcore get adapter [ADAPTER]`](#flowcore-get-adapter-adapter)
40
+ * [`flowcore get scenario [SCENARIO]`](#flowcore-get-scenario-scenario)
39
41
  * [`flowcore help [COMMANDS]`](#flowcore-help-commands)
40
42
  * [`flowcore login`](#flowcore-login)
43
+ * [`flowcore logs adapter ADAPTER`](#flowcore-logs-adapter-adapter)
41
44
  * [`flowcore new nextjs-app NAME`](#flowcore-new-nextjs-app-name)
42
45
  * [`flowcore plugins`](#flowcore-plugins)
43
46
  * [`flowcore plugins:install PLUGIN...`](#flowcore-pluginsinstall-plugin)
@@ -50,6 +53,7 @@ USAGE
50
53
  * [`flowcore plugins:uninstall PLUGIN...`](#flowcore-pluginsuninstall-plugin-2)
51
54
  * [`flowcore plugins update`](#flowcore-plugins-update)
52
55
  * [`flowcore plugins update check`](#flowcore-plugins-update-check)
56
+ * [`flowcore reset adapter ADAPTER`](#flowcore-reset-adapter-adapter)
53
57
  * [`flowcore scenario apply`](#flowcore-scenario-apply)
54
58
  * [`flowcore scenario generate manifest`](#flowcore-scenario-generate-manifest)
55
59
  * [`flowcore scenario generate transformer`](#flowcore-scenario-generate-transformer)
@@ -78,7 +82,7 @@ EXAMPLES
78
82
  $ flowcore apply -f ./path/to/manifest.yml
79
83
  ```
80
84
 
81
- _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.17.0/src/commands/apply.ts)_
85
+ _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.18.1/src/commands/apply.ts)_
82
86
 
83
87
  ## `flowcore autocomplete [SHELL]`
84
88
 
@@ -299,6 +303,59 @@ EXAMPLES
299
303
 
300
304
  _See code: [@flowcore/cli-plugin-generator](https://github.com/flowcore/flowcore-cli-plugin-generator/blob/v1.0.0/src/commands/generate/nestjs-entity.ts)_
301
305
 
306
+ ## `flowcore get adapter [ADAPTER]`
307
+
308
+ Get adapter
309
+
310
+ ```
311
+ USAGE
312
+ $ flowcore get adapter [ADAPTER] -s <value> -t <value> [--profile <value>]
313
+
314
+ ARGUMENTS
315
+ ADAPTER adapter name or id
316
+
317
+ FLAGS
318
+ -s, --scenario=<value> (required) scenario
319
+ -t, --tenant=<value> (required) tenant
320
+ --profile=<value> Specify the configuration profile to use
321
+
322
+ DESCRIPTION
323
+ Get adapter
324
+
325
+ EXAMPLES
326
+ $ flowcore get adapter -t tenant-name -s scenario-name
327
+
328
+ $ flowcore get adapter adapter-name -t tenant-name -s scenario-name
329
+ ```
330
+
331
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.12.0/src/commands/get/adapter.ts)_
332
+
333
+ ## `flowcore get scenario [SCENARIO]`
334
+
335
+ Get scenario
336
+
337
+ ```
338
+ USAGE
339
+ $ flowcore get scenario [SCENARIO] -t <value> [--profile <value>]
340
+
341
+ ARGUMENTS
342
+ SCENARIO scenario name
343
+
344
+ FLAGS
345
+ -t, --tenant=<value> (required) tenant
346
+ --profile=<value> Specify the configuration profile to use
347
+
348
+ DESCRIPTION
349
+ Get scenario
350
+
351
+ EXAMPLES
352
+ $ flowcore get scenario -t tenant-name
353
+
354
+ $ flowcore get scenario scenario-name -t tenant-name
355
+ ```
356
+
357
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.12.0/src/commands/get/scenario.ts)_
358
+
302
359
  ## `flowcore help [COMMANDS]`
303
360
 
304
361
  Display help for flowcore.
@@ -342,6 +399,41 @@ EXAMPLES
342
399
 
343
400
  _See code: [@flowcore/cli-plugin-config](https://github.com/flowcore/flowcore-cli-plugin-config/blob/v1.1.0/src/commands/login.ts)_
344
401
 
402
+ ## `flowcore logs adapter ADAPTER`
403
+
404
+ Get adapter logs
405
+
406
+ ```
407
+ USAGE
408
+ $ flowcore logs adapter ADAPTER -s <value> -t <value> [--profile <value>] [-a] [-f] [-j] [-l <value>]
409
+
410
+ ARGUMENTS
411
+ ADAPTER adapter name or id
412
+
413
+ FLAGS
414
+ -a, --allComponents display logs for all components of the adapter, including Flowcore components
415
+ -f, --follow follow
416
+ -j, --json json
417
+ -l, --limit=<value> [default: 1000] limit
418
+ -s, --scenario=<value> (required) scenario
419
+ -t, --tenant=<value> (required) tenant
420
+ --profile=<value> Specify the configuration profile to use
421
+
422
+ DESCRIPTION
423
+ Get adapter logs
424
+
425
+ EXAMPLES
426
+ $ flowcore logs adapter adapter-name -t tenant-name -s scenario-name
427
+
428
+ $ flowcore logs adapter adapter-name -t tenant-name -s scenario-name -f
429
+
430
+ $ flowcore logs adapter adapter-name -t tenant-name -s scenario-name -l 100
431
+
432
+ $ flowcore logs adapter adapter-name -t tenant-name -s scenario-name --json
433
+ ```
434
+
435
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.12.0/src/commands/logs/adapter.ts)_
436
+
345
437
  ## `flowcore new nextjs-app NAME`
346
438
 
347
439
  Create a new NestJS application using the Flowcore IDD approach
@@ -658,6 +750,35 @@ DESCRIPTION
658
750
 
659
751
  _See code: [oclif-plugin-update-notifier](https://github.com/jayree/oclif-plugin-update-notifier/blob/v1.5.84/src/commands/plugins/update/check.ts)_
660
752
 
753
+ ## `flowcore reset adapter ADAPTER`
754
+
755
+ Reset a adapter
756
+
757
+ ```
758
+ USAGE
759
+ $ flowcore reset adapter ADAPTER -s <value> -t <value> [--profile <value>] [-b <value>] [-e <value>]
760
+
761
+ ARGUMENTS
762
+ ADAPTER adapter name or id
763
+
764
+ FLAGS
765
+ -b, --bucket=<value> time bucket
766
+ -e, --eventId=<value> time uuid
767
+ -s, --scenario=<value> (required) scenario
768
+ -t, --tenant=<value> (required) tenant
769
+ --profile=<value> Specify the configuration profile to use
770
+
771
+ DESCRIPTION
772
+ Reset a adapter
773
+
774
+ EXAMPLES
775
+ $ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -b 20240718110000
776
+
777
+ $ flowcore reset adapter adapter-name -t tenant-name -s scenario-name -e 9cb35da2-ba64-4bb5-86d6-ef20ebc62ab7
778
+ ```
779
+
780
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.12.0/src/commands/reset/adapter.ts)_
781
+
661
782
  ## `flowcore scenario apply`
662
783
 
663
784
  Apply a manifest configuration for a Scenario to the Flowcore Platform
@@ -686,7 +807,7 @@ EXAMPLES
686
807
  $ cat <<EOF | flowcore scenario apply -f -
687
808
  ```
688
809
 
689
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.10.1/src/commands/scenario/apply.ts)_
810
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.12.0/src/commands/scenario/apply.ts)_
690
811
 
691
812
  ## `flowcore scenario generate manifest`
692
813
 
@@ -718,7 +839,7 @@ EXAMPLES
718
839
  $ flowcore scenario generate manifest -t flowcore -n scenario-name -f example.yaml
719
840
  ```
720
841
 
721
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.10.1/src/commands/scenario/generate/manifest.ts)_
842
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.12.0/src/commands/scenario/generate/manifest.ts)_
722
843
 
723
844
  ## `flowcore scenario generate transformer`
724
845
 
@@ -745,7 +866,7 @@ EXAMPLES
745
866
  $ flowcore scenario generate transformer -n flow-type-name -d "description of the transformer" -f example.yaml
746
867
  ```
747
868
 
748
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.10.1/src/commands/scenario/generate/transformer.ts)_
869
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.12.0/src/commands/scenario/generate/transformer.ts)_
749
870
 
750
871
  ## `flowcore scenario local`
751
872
 
@@ -777,7 +898,7 @@ EXAMPLES
777
898
  $ cat <<EOF | flowcore scenario local -f -
778
899
  ```
779
900
 
780
- _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.10.1/src/commands/scenario/local.ts)_
901
+ _See code: [@flowcore/cli-plugin-scenario](https://github.com/flowcore/flowcore-cli-plugin-scenario/blob/v2.12.0/src/commands/scenario/local.ts)_
781
902
 
782
903
  ## `flowcore stream STREAM`
783
904
 
@@ -48,5 +48,5 @@
48
48
  ]
49
49
  }
50
50
  },
51
- "version": "2.17.0"
51
+ "version": "2.18.1"
52
52
  }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "@flowcore/cli-plugin-core": "^1.6.1",
10
10
  "@flowcore/cli-plugin-data-core": "^2.2.2",
11
11
  "@flowcore/cli-plugin-generator": "^1.0.0",
12
- "@flowcore/cli-plugin-scenario": "^2.10.1",
12
+ "@flowcore/cli-plugin-scenario": "^2.12.0",
13
13
  "@flowcore/time-bucket": "^1.1.0",
14
14
  "@oclif/core": "^3",
15
15
  "@oclif/plugin-autocomplete": "^3.0.2",
@@ -96,7 +96,7 @@
96
96
  "prestart": "npm run build",
97
97
  "update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
98
98
  },
99
- "version": "2.17.0",
99
+ "version": "2.18.1",
100
100
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
101
101
  "keywords": [
102
102
  "flowcore",