@ibm/zapp-core 1.4.0 → 1.6.0
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/LICENSE.txt +1 -1
- package/NOTICES.txt +3 -3
- package/lib/index.d.ts +518 -70
- package/lib/index.js +2 -2
- package/package.json +8 -5
- package/resources/zapp-schema-1.6.0.json +1208 -0
- package/resources/zapp-schema-1.4.0.json +0 -559
package/lib/index.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ export abstract class SchemaDocumentCache {
|
|
|
126
126
|
protected normalizePath(inputPath: string): string;
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
|
-
* JSON schema for zapp.json and zapp.yaml files. Version 1.
|
|
129
|
+
* JSON schema for zapp.json and zapp.yaml files. Version 1.6.0 -- Licensed Materials - Property of IBM - (c) Copyright IBM Corporation 2022, 2025. All Rights Reserved.
|
|
130
130
|
*/
|
|
131
131
|
export type IBMZappDocument = CoreProperties;
|
|
132
132
|
/**
|
|
@@ -141,25 +141,11 @@ export type Person = {
|
|
|
141
141
|
/**
|
|
142
142
|
* Profiles are additional groups of properties that should only become valid under specific conditions such as running in a build job or as part of a debug session.
|
|
143
143
|
*/
|
|
144
|
-
export type Profile =
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
name: string;
|
|
150
|
-
type: 'rseapi';
|
|
151
|
-
settings: RseapiSettingsItem;
|
|
152
|
-
} | {
|
|
153
|
-
name: string;
|
|
154
|
-
language: string;
|
|
155
|
-
type: 'preprocessor';
|
|
156
|
-
location: string;
|
|
157
|
-
settings: LocalPreprocessorSettingsItem | MvsPreprocessorSettingsItem;
|
|
158
|
-
} | {
|
|
159
|
-
name: string;
|
|
160
|
-
type: 'test';
|
|
161
|
-
settings: TestSettingsItem;
|
|
162
|
-
};
|
|
144
|
+
export type Profile = DependencyBasedBuildProfile | RSEAPIProfile | PreprocessorProfile | TestProfile | GalasaPropertiesProfile;
|
|
145
|
+
/**
|
|
146
|
+
* Specify which application load modules correspond to application source files.
|
|
147
|
+
*/
|
|
148
|
+
export type TestSourceMaps = TestSourceMap[];
|
|
163
149
|
export interface CoreProperties {
|
|
164
150
|
/**
|
|
165
151
|
* The name of the Z Project.
|
|
@@ -241,7 +227,7 @@ export interface LibraryItem {
|
|
|
241
227
|
*/
|
|
242
228
|
name: string;
|
|
243
229
|
/**
|
|
244
|
-
* The type of the property group defining where dependencies should be located. Allowed values are 'local' for using a local workspace and 'mvs' for dependencies located in MVS
|
|
230
|
+
* The type of the property group defining where dependencies should be located. Allowed values are 'local' for using a local workspace and 'mvs' for dependencies located in MVS data sets.
|
|
245
231
|
*/
|
|
246
232
|
type: 'mvs' | 'local';
|
|
247
233
|
/**
|
|
@@ -249,6 +235,11 @@ export interface LibraryItem {
|
|
|
249
235
|
*/
|
|
250
236
|
locations?: string[];
|
|
251
237
|
}
|
|
238
|
+
export interface DependencyBasedBuildProfile {
|
|
239
|
+
name: string;
|
|
240
|
+
type: 'dbb';
|
|
241
|
+
settings: DbbBuilderSettings | DbbGroovySettings;
|
|
242
|
+
}
|
|
252
243
|
/**
|
|
253
244
|
* zBuilder user build properties for running user build on remote host.
|
|
254
245
|
*/
|
|
@@ -303,12 +294,17 @@ export interface DbbGroovySettings {
|
|
|
303
294
|
*/
|
|
304
295
|
logFilePatterns?: string[];
|
|
305
296
|
}
|
|
297
|
+
export interface RSEAPIProfile {
|
|
298
|
+
name: string;
|
|
299
|
+
type: 'rseapi';
|
|
300
|
+
settings: RseapiSettingsItem;
|
|
301
|
+
}
|
|
306
302
|
/**
|
|
307
303
|
* RSE API client settings for interactions with a z/OS remote host running an RSE API server.
|
|
308
304
|
*/
|
|
309
305
|
export interface RseapiSettingsItem {
|
|
310
306
|
/**
|
|
311
|
-
* A list of mapping objects that map local file extensions to transfer modes and encodings to MVS
|
|
307
|
+
* A list of mapping objects that map local file extensions to transfer modes and encodings to MVS data sets that can be specified using wildcards.
|
|
312
308
|
*/
|
|
313
309
|
mappings: RseapiSettingsItemMapping[];
|
|
314
310
|
/**
|
|
@@ -358,6 +354,13 @@ export interface RseapiSettingsItemMapping {
|
|
|
358
354
|
resource?: string;
|
|
359
355
|
}[];
|
|
360
356
|
}
|
|
357
|
+
export interface PreprocessorProfile {
|
|
358
|
+
name: string;
|
|
359
|
+
language: string;
|
|
360
|
+
type: 'preprocessor';
|
|
361
|
+
location: string;
|
|
362
|
+
settings: LocalPreprocessorSettingsItem | MvsPreprocessorSettingsItem;
|
|
363
|
+
}
|
|
361
364
|
/**
|
|
362
365
|
* Preprocessor properties for preprocessing COBOL/PL/I files.
|
|
363
366
|
*/
|
|
@@ -405,66 +408,492 @@ export interface MvsPreprocessorSettingsItem {
|
|
|
405
408
|
* Specifies the high-level qualifier used for data sets created by plug-in requests to export observation files.
|
|
406
409
|
*/
|
|
407
410
|
tempDataHLQ: string;
|
|
411
|
+
/**
|
|
412
|
+
* Specifies the data set where local programs will be uploaded for preprocessing.
|
|
413
|
+
*/
|
|
414
|
+
programDataSet?: string;
|
|
415
|
+
}
|
|
416
|
+
export interface TestProfile {
|
|
417
|
+
name: string;
|
|
418
|
+
type: 'test';
|
|
419
|
+
settings: TestSettingsItem;
|
|
408
420
|
}
|
|
409
421
|
/**
|
|
410
422
|
* Test properties for a test case.
|
|
411
423
|
*/
|
|
412
424
|
export interface TestSettingsItem {
|
|
425
|
+
recording?: TestRecordingSettings;
|
|
426
|
+
unitTest?: UnitTestSettings;
|
|
427
|
+
functionalTest?: FunctionalTestSettings;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Specify settings for the recording application tool.
|
|
431
|
+
*/
|
|
432
|
+
export interface TestRecordingSettings {
|
|
433
|
+
applicationToCapture?: TestApplicationToCapture;
|
|
434
|
+
hostRecordingSettings?: TestHostRecordingSettings;
|
|
435
|
+
sourceMaps?: TestSourceMaps;
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* Specify what to capture in an application.
|
|
439
|
+
*/
|
|
440
|
+
export interface TestApplicationToCapture {
|
|
413
441
|
/**
|
|
414
|
-
*
|
|
442
|
+
* Type of application that will be recorded.
|
|
415
443
|
*/
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
444
|
+
recordingType?: 'CICS' | 'Batch' | 'IMS';
|
|
445
|
+
/**
|
|
446
|
+
* Provide a path to a JCL file that runs the application to be recorded.
|
|
447
|
+
*/
|
|
448
|
+
jclSteps?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Provide name of the program to capture.
|
|
451
|
+
*/
|
|
452
|
+
programs?: string[];
|
|
453
|
+
/**
|
|
454
|
+
* Provide a transaction id to capture in the recording.
|
|
455
|
+
*/
|
|
456
|
+
transactionId?: string;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Specify host settings for the recording tool.
|
|
460
|
+
*/
|
|
461
|
+
export interface TestHostRecordingSettings {
|
|
462
|
+
/**
|
|
463
|
+
* Required if recording and replaying DB2 statements.
|
|
464
|
+
*/
|
|
465
|
+
applicationDbrmLibrary?: string;
|
|
466
|
+
/**
|
|
467
|
+
* If recording a CICS application, specify a CICS region where the application is running.
|
|
468
|
+
*/
|
|
469
|
+
cicsRegion?: string;
|
|
470
|
+
/**
|
|
471
|
+
* If recording a batch application, specify the data set where Debug Test Engine load library is located.
|
|
472
|
+
*/
|
|
473
|
+
dteEngineLocation?: string;
|
|
474
|
+
/**
|
|
475
|
+
* If recording an IMS application, specify the subsystem id.
|
|
476
|
+
*/
|
|
477
|
+
imsSubsystemId?: string;
|
|
478
|
+
}
|
|
479
|
+
export interface TestSourceMap {
|
|
480
|
+
/**
|
|
481
|
+
* The workspace-relative path to an application source file.
|
|
482
|
+
*/
|
|
483
|
+
source?: string;
|
|
484
|
+
/**
|
|
485
|
+
* The z/OS load module name that corresponds to the specified source file.
|
|
486
|
+
*/
|
|
487
|
+
module?: string;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Properties to run a unit test case.
|
|
491
|
+
*/
|
|
492
|
+
export interface UnitTestSettings {
|
|
493
|
+
/**
|
|
494
|
+
* Specifies the list of Procedure libraries.
|
|
495
|
+
*/
|
|
496
|
+
procLib: string[];
|
|
497
|
+
/**
|
|
498
|
+
* If this option is selected, the data set for the working file is allocated automatically with the allocation options.
|
|
499
|
+
*/
|
|
500
|
+
allocateWorkingDs?: boolean;
|
|
501
|
+
/**
|
|
502
|
+
* Options to allocate a working file.
|
|
503
|
+
*/
|
|
504
|
+
ioDataSetAllocation?: {
|
|
451
505
|
/**
|
|
452
|
-
*
|
|
506
|
+
* The unit of primary and secondary space to be allocated.
|
|
453
507
|
*/
|
|
454
|
-
|
|
508
|
+
ioSpaceUnit?: 'TRACKS' | 'BLOCKS' | 'CYLINDERS';
|
|
455
509
|
/**
|
|
456
|
-
* The
|
|
510
|
+
* The amount of DASD space to be used for primary space allocation (PRIMARY).
|
|
457
511
|
*/
|
|
458
|
-
|
|
512
|
+
ioQuant1?: number;
|
|
459
513
|
/**
|
|
460
|
-
* The
|
|
514
|
+
* The amount of DASD space to be used for secondary space allocation (SECONDARY).
|
|
461
515
|
*/
|
|
462
|
-
|
|
516
|
+
ioQuant2?: number;
|
|
463
517
|
/**
|
|
464
|
-
* The
|
|
518
|
+
* The high-level qualifier for the VSAM or QSAM data files for file I/O simulation. These files are allocated when running a Unit test case.
|
|
465
519
|
*/
|
|
466
|
-
|
|
520
|
+
ioHLQ?: string;
|
|
521
|
+
[k: string]: unknown;
|
|
467
522
|
};
|
|
523
|
+
/**
|
|
524
|
+
* Runner configuration destination container.
|
|
525
|
+
*/
|
|
526
|
+
configDS?: string;
|
|
527
|
+
/**
|
|
528
|
+
* Runner result destination container.
|
|
529
|
+
*/
|
|
530
|
+
resultDS?: string;
|
|
531
|
+
/**
|
|
532
|
+
* The datat set of the application under test.
|
|
533
|
+
*/
|
|
534
|
+
userLibraries?: string[];
|
|
535
|
+
/**
|
|
536
|
+
* The default local folder to create the test case artifacts.
|
|
537
|
+
*/
|
|
538
|
+
defaultTestCaseFolder?: string;
|
|
539
|
+
/**
|
|
540
|
+
* The job card to run a unit test.
|
|
541
|
+
*/
|
|
542
|
+
jobcard?: string;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* Specify settings for the functional test.
|
|
546
|
+
*/
|
|
547
|
+
export interface FunctionalTestSettings {
|
|
548
|
+
/**
|
|
549
|
+
* Specify the path to the default test case folder.
|
|
550
|
+
*/
|
|
551
|
+
defaultTestCaseFolder?: string;
|
|
552
|
+
/**
|
|
553
|
+
* Specify the code pages to be used.
|
|
554
|
+
*/
|
|
555
|
+
codePages?: string;
|
|
556
|
+
/**
|
|
557
|
+
* Specify an array of local BMS files.
|
|
558
|
+
*/
|
|
559
|
+
localBmsMapNames?: string[];
|
|
560
|
+
/**
|
|
561
|
+
* Specify an array of local MFS files from the mfs-maps directory to be used for generating accurate test files. Ex: sample.mfs.
|
|
562
|
+
*/
|
|
563
|
+
localMfsFiles?: string[];
|
|
564
|
+
/**
|
|
565
|
+
* Specify an array of local IMS DBD files from the config-files directory to be used for generating accurate test files. Ex: imsDbd.txt.
|
|
566
|
+
*/
|
|
567
|
+
localImsDbdFiles?: string[];
|
|
568
|
+
/**
|
|
569
|
+
* Specify an array of local Db2 Config files.
|
|
570
|
+
*/
|
|
571
|
+
localDb2Config?: string[];
|
|
572
|
+
substitutionMap?: SubstitutionMapSettings;
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* Specify settings for the functional test substitution map.
|
|
576
|
+
*/
|
|
577
|
+
export interface SubstitutionMapSettings {
|
|
578
|
+
/**
|
|
579
|
+
* If recording a CICS application, specify the cicsts.dse.tag from the .galasa/cps.properties file.
|
|
580
|
+
*/
|
|
581
|
+
cicsTag?: string;
|
|
582
|
+
/**
|
|
583
|
+
* If recording a CICS or IMS application, specify the zos.dse.tag from the .galasa/cps.properties file.
|
|
584
|
+
*/
|
|
585
|
+
imageTag?: string;
|
|
586
|
+
/**
|
|
587
|
+
* If recording a CICS application, specify the Db2 DB ID that was established when the Db2 instance was created.
|
|
588
|
+
*/
|
|
589
|
+
dbPrefix?: string;
|
|
590
|
+
/**
|
|
591
|
+
* If recording a CICS application, specify the db2.dse.schema.PRIMARY.name from the .galasa/cps.properties.
|
|
592
|
+
*/
|
|
593
|
+
dbSchema?: string;
|
|
594
|
+
/**
|
|
595
|
+
* If recording a CICS or IMS application, specify the zos.image.x.credentials value from the .galasa/cps.properties.
|
|
596
|
+
*/
|
|
597
|
+
loginCredentialsTag?: string;
|
|
598
|
+
/**
|
|
599
|
+
* If recording an IMS application, specify the imstm.dse.tag from the .galasa/cps.properties.
|
|
600
|
+
*/
|
|
601
|
+
imsTag?: string;
|
|
602
|
+
/**
|
|
603
|
+
* If recording an IMS application, specify the dli.database.tag.{imsTag}.datastore value from the .galasa/cps.properties.
|
|
604
|
+
*/
|
|
605
|
+
dliTag?: string;
|
|
606
|
+
}
|
|
607
|
+
export interface GalasaPropertiesProfile {
|
|
608
|
+
name: string;
|
|
609
|
+
type: 'galasa';
|
|
610
|
+
settings: GalasaSettingsItem;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* Galasa properties for executing a functional test galasa test file
|
|
614
|
+
*/
|
|
615
|
+
export interface GalasaSettingsItem {
|
|
616
|
+
/**
|
|
617
|
+
* Specify the galasa home directory on local machine
|
|
618
|
+
*/
|
|
619
|
+
galasaHome?: string;
|
|
620
|
+
zos?: ZosGalasaSettings;
|
|
621
|
+
cicsts?: CicstsGalasaSettings;
|
|
622
|
+
db2?: Db2GalasaSettings;
|
|
623
|
+
/**
|
|
624
|
+
* Configuration properties used by the IMS TM manager for the DSE provisioner for a specific tag
|
|
625
|
+
*/
|
|
626
|
+
imstmDseTags?: ImstmDseTagItemsGalasaSettings[];
|
|
627
|
+
dli?: DliGalasaSettings;
|
|
628
|
+
/**
|
|
629
|
+
* Configuration properties used by the TOTP Manager for MFA
|
|
630
|
+
*/
|
|
631
|
+
totpMfas?: TotpMfaItemsGalasaSettings[];
|
|
632
|
+
/**
|
|
633
|
+
* Specify additional properties to be added to the cps.properties file
|
|
634
|
+
*/
|
|
635
|
+
additionalProperties?: AdditionalPropertiesItemsGalasaSettings[];
|
|
636
|
+
}
|
|
637
|
+
/**
|
|
638
|
+
* The configuration for a z/OS system
|
|
639
|
+
*/
|
|
640
|
+
export interface ZosGalasaSettings {
|
|
641
|
+
/**
|
|
642
|
+
* The configuration for a z/OS DSE tag
|
|
643
|
+
*/
|
|
644
|
+
dseTags?: ZosDseTagItemsGalasaSettings[];
|
|
645
|
+
/**
|
|
646
|
+
* The configuration for a z/OS image
|
|
647
|
+
*/
|
|
648
|
+
images?: ZosImageItemsGalasaSettings[];
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* The configuration for a z/OS DSE tag
|
|
652
|
+
*/
|
|
653
|
+
export interface ZosDseTagItemsGalasaSettings {
|
|
654
|
+
/**
|
|
655
|
+
* User-defined identifier for the z/OS DSE tag
|
|
656
|
+
*/
|
|
657
|
+
tag?: string;
|
|
658
|
+
/**
|
|
659
|
+
* The z/OS Image ID
|
|
660
|
+
*/
|
|
661
|
+
imageid?: string;
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Specify the characteristics of a particular z/OS environment that your Galasa tests will target
|
|
665
|
+
*/
|
|
666
|
+
export interface ZosImageItemsGalasaSettings {
|
|
667
|
+
/**
|
|
668
|
+
* User-defined identifier for the z/OS Image tag
|
|
669
|
+
*/
|
|
670
|
+
tag?: string;
|
|
671
|
+
/**
|
|
672
|
+
* Hostname of the target z/OS system
|
|
673
|
+
*/
|
|
674
|
+
ipv4Hostname?: string;
|
|
675
|
+
telnet?: ZosImageTelnetGalasaSettings;
|
|
676
|
+
/**
|
|
677
|
+
* Credentials tag for logging onto a z/OS system
|
|
678
|
+
*/
|
|
679
|
+
credentials?: string;
|
|
680
|
+
/**
|
|
681
|
+
* A string representing the VTAM logon command
|
|
682
|
+
*/
|
|
683
|
+
vtamLogon?: string;
|
|
684
|
+
/**
|
|
685
|
+
* This property defines the first input that will be provided to the z/OS system after a connection is established
|
|
686
|
+
*/
|
|
687
|
+
logonInitialText?: string;
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* The telnet details for the target z/OS system
|
|
691
|
+
*/
|
|
692
|
+
export interface ZosImageTelnetGalasaSettings {
|
|
693
|
+
/**
|
|
694
|
+
* Specify the telnet port for the target z/OS system
|
|
695
|
+
*/
|
|
696
|
+
port?: number;
|
|
697
|
+
/**
|
|
698
|
+
* Specify if TLS is enabled on the target z/OS system
|
|
699
|
+
*/
|
|
700
|
+
tls?: boolean;
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* Configuration properties used by the Galasa CICS TS Manager
|
|
704
|
+
*/
|
|
705
|
+
export interface CicstsGalasaSettings {
|
|
706
|
+
/**
|
|
707
|
+
* User-defined identifier for the CICS tag
|
|
708
|
+
*/
|
|
709
|
+
dseTags?: CicstsDseTagItemsGalasaSettings[];
|
|
710
|
+
/**
|
|
711
|
+
* Property specifying text used for testing a specific CICS login good morning screen
|
|
712
|
+
*/
|
|
713
|
+
defaultLogonGmText?: string;
|
|
714
|
+
/**
|
|
715
|
+
* Provides the type of the CICS TS region for the DSE provisioner
|
|
716
|
+
*/
|
|
717
|
+
provisionType?: string;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* Configuration properties used by the Galasa CICS TS Manager for the specific tag
|
|
721
|
+
*/
|
|
722
|
+
export interface CicstsDseTagItemsGalasaSettings {
|
|
723
|
+
/**
|
|
724
|
+
* User-defined identifier for the CICS tag
|
|
725
|
+
*/
|
|
726
|
+
tag?: string;
|
|
727
|
+
/**
|
|
728
|
+
* User-defined identifier for the z/OS Image tag
|
|
729
|
+
*/
|
|
730
|
+
imageid?: string;
|
|
731
|
+
/**
|
|
732
|
+
* Application Identifier of a CICS TS region for the DSE provisioner
|
|
733
|
+
*/
|
|
734
|
+
applid?: string;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* Configuration properties used by the Galasa Db2 Manager
|
|
738
|
+
*/
|
|
739
|
+
export interface Db2GalasaSettings {
|
|
740
|
+
/**
|
|
741
|
+
* Db2 DSE Instance configuration properties used by the Galasa Db2 Manager
|
|
742
|
+
*/
|
|
743
|
+
dseInstances?: Db2DseInstanceItemsGalasaSettings[];
|
|
744
|
+
/**
|
|
745
|
+
* Db2 Schema configuration properties used by the Galasa Db2 Manager
|
|
746
|
+
*/
|
|
747
|
+
schemas?: Db2SchemaItemsGalasaSettings[];
|
|
748
|
+
/**
|
|
749
|
+
* Db2 Instance configuration properties used by the Galasa Db2 Manager
|
|
750
|
+
*/
|
|
751
|
+
instances?: Db2InstanceItemsGalasaSettings[];
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Db2 DSE Instance configuration properties used by the Galasa Db2 Manager
|
|
755
|
+
*/
|
|
756
|
+
export interface Db2DseInstanceItemsGalasaSettings {
|
|
757
|
+
/**
|
|
758
|
+
* User-defined identifier for the z/OS Image tag
|
|
759
|
+
*/
|
|
760
|
+
tag?: string;
|
|
761
|
+
/**
|
|
762
|
+
* User-defined identifier for the Db2 tag
|
|
763
|
+
*/
|
|
764
|
+
name?: string;
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* This property specifies the name of the primary Db2 schema that Galasa will use when interacting with a Db2 database
|
|
768
|
+
*/
|
|
769
|
+
export interface Db2SchemaItemsGalasaSettings {
|
|
770
|
+
/**
|
|
771
|
+
* User-defined identifier for the primary Db2 Schema
|
|
772
|
+
*/
|
|
773
|
+
tag?: string;
|
|
774
|
+
/**
|
|
775
|
+
* User-defined identifier for the Db2 schema tag
|
|
776
|
+
*/
|
|
777
|
+
name?: string;
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* Configuration properties for the Db2 instance for use within Galasa tests
|
|
781
|
+
*/
|
|
782
|
+
export interface Db2InstanceItemsGalasaSettings {
|
|
783
|
+
/**
|
|
784
|
+
* User-defined identifier for the Db2 tag
|
|
785
|
+
*/
|
|
786
|
+
tag?: string;
|
|
787
|
+
/**
|
|
788
|
+
* Specify the JDBC connection URL for a Db2 database instance
|
|
789
|
+
*/
|
|
790
|
+
url?: string;
|
|
791
|
+
/**
|
|
792
|
+
* User-defined identifier for the Db2 credentials tag
|
|
793
|
+
*/
|
|
794
|
+
credentials?: string;
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* Configuration properties used by the IMS TM manager for the DSE provisioner for a specific tag
|
|
798
|
+
*/
|
|
799
|
+
export interface ImstmDseTagItemsGalasaSettings {
|
|
800
|
+
/**
|
|
801
|
+
* User-defined identifier for the IMS tag
|
|
802
|
+
*/
|
|
803
|
+
tag?: string;
|
|
804
|
+
/**
|
|
805
|
+
* Application Identifier of an IMS TM region for the DSE provisioner
|
|
806
|
+
*/
|
|
807
|
+
applid?: string;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Configuration properties used by the Galasa DLI Manager
|
|
811
|
+
*/
|
|
812
|
+
export interface DliGalasaSettings {
|
|
813
|
+
/**
|
|
814
|
+
* User-defined identifier for the DLI Datastore tag
|
|
815
|
+
*/
|
|
816
|
+
datastoreTags?: DliDatastoreTagItemsGalasaSettings[];
|
|
817
|
+
/**
|
|
818
|
+
* User-defined identifier for the DLI Database tag
|
|
819
|
+
*/
|
|
820
|
+
databaseTags?: DliDatabaseTagItemsGalasaSettings[];
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* Configuration properties used by the Galasa DLI Manager for datastore access for a specific tag
|
|
824
|
+
*/
|
|
825
|
+
export interface DliDatastoreTagItemsGalasaSettings {
|
|
826
|
+
/**
|
|
827
|
+
* User-defined identifier for the DLI Datastore tag
|
|
828
|
+
*/
|
|
829
|
+
tag?: string;
|
|
830
|
+
/**
|
|
831
|
+
* Specify the Datastore name
|
|
832
|
+
*/
|
|
833
|
+
name?: string;
|
|
834
|
+
/**
|
|
835
|
+
* Specify the hostname or IP address of the Datastore
|
|
836
|
+
*/
|
|
837
|
+
server?: string;
|
|
838
|
+
/**
|
|
839
|
+
* Specify the port of the Datastore
|
|
840
|
+
*/
|
|
841
|
+
port?: number;
|
|
842
|
+
/**
|
|
843
|
+
* Specify if SSL is enabled on the Datastore
|
|
844
|
+
*/
|
|
845
|
+
ssl?: boolean;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Configuration properties used by the Galasa DLI Manager for database access for a specific tag
|
|
849
|
+
*/
|
|
850
|
+
export interface DliDatabaseTagItemsGalasaSettings {
|
|
851
|
+
/**
|
|
852
|
+
* User-defined identifier for the DLI Database tag
|
|
853
|
+
*/
|
|
854
|
+
tag?: string;
|
|
855
|
+
/**
|
|
856
|
+
* User-defined identifier for the DLI datastore tag
|
|
857
|
+
*/
|
|
858
|
+
datastore?: string;
|
|
859
|
+
/**
|
|
860
|
+
* Provide the name of the database
|
|
861
|
+
*/
|
|
862
|
+
name?: string;
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Configuration properties used by the TOTP Manager for MFA
|
|
866
|
+
*/
|
|
867
|
+
export interface TotpMfaItemsGalasaSettings {
|
|
868
|
+
/**
|
|
869
|
+
* User-defined identifier for the TOTP MFA tag
|
|
870
|
+
*/
|
|
871
|
+
tag?: string;
|
|
872
|
+
/**
|
|
873
|
+
* The number of digits required in each generated one time password
|
|
874
|
+
*/
|
|
875
|
+
digits?: number;
|
|
876
|
+
/**
|
|
877
|
+
* The hash algorithm used when generating each one time password
|
|
878
|
+
*/
|
|
879
|
+
digest?: string;
|
|
880
|
+
/**
|
|
881
|
+
* The number of seconds that each generated one time password will be valid for
|
|
882
|
+
*/
|
|
883
|
+
interval?: number;
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* Additional properties to be used
|
|
887
|
+
*/
|
|
888
|
+
export interface AdditionalPropertiesItemsGalasaSettings {
|
|
889
|
+
/**
|
|
890
|
+
* The key of the additional property
|
|
891
|
+
*/
|
|
892
|
+
name?: string;
|
|
893
|
+
/**
|
|
894
|
+
* The value of the additional property
|
|
895
|
+
*/
|
|
896
|
+
value?: string;
|
|
468
897
|
}
|
|
469
898
|
/**
|
|
470
899
|
* A meta-data representation of a zapp file
|
|
@@ -695,6 +1124,8 @@ export const zappConstants: {
|
|
|
695
1124
|
profileTypeRseApi: string;
|
|
696
1125
|
propertyPropertyGroups: string;
|
|
697
1126
|
profileTypePreprocessor: string;
|
|
1127
|
+
profileTypeTest: string;
|
|
1128
|
+
profileTypeGalasa: string;
|
|
698
1129
|
};
|
|
699
1130
|
/**
|
|
700
1131
|
* A collection of business logic for accessing, manipulating, validating
|
|
@@ -773,7 +1204,7 @@ export class PreprocessorController extends ZappProfilesController {
|
|
|
773
1204
|
*/
|
|
774
1205
|
static getPreprocessorProfileNamesBasedOnLocation(workspacePath: string, location: string, language?: string): string[] | undefined;
|
|
775
1206
|
/**
|
|
776
|
-
* Requires that the ZAPP file was already cached.
|
|
1207
|
+
* Requires that the ZAPP file was already cached.
|
|
777
1208
|
*
|
|
778
1209
|
* @param {string} workspacePath Path to a folder in which a zapp file can be found
|
|
779
1210
|
* @param {string} [language] optional filter by language
|
|
@@ -781,7 +1212,7 @@ export class PreprocessorController extends ZappProfilesController {
|
|
|
781
1212
|
*/
|
|
782
1213
|
static getLocalPreprocessorSettings(workspacePath: string, language?: string): LocalPreprocessorSettingsItem | undefined;
|
|
783
1214
|
/**
|
|
784
|
-
* Requires that the ZAPP file was already cached.
|
|
1215
|
+
* Requires that the ZAPP file was already cached.
|
|
785
1216
|
*
|
|
786
1217
|
* @param {string} workspacePath Path to a folder in which a zapp file can be found
|
|
787
1218
|
* @param {string} [language] optional filter by language
|
|
@@ -789,7 +1220,7 @@ export class PreprocessorController extends ZappProfilesController {
|
|
|
789
1220
|
*/
|
|
790
1221
|
static getMvsPreprocessorSettings(workspacePath: string, language?: string): MvsPreprocessorSettingsItem | undefined;
|
|
791
1222
|
/**
|
|
792
|
-
* Requires that the ZAPP file was already cached.
|
|
1223
|
+
* Requires that the ZAPP file was already cached.
|
|
793
1224
|
*
|
|
794
1225
|
* @param {string} workspacePath Path to a folder in which a zapp file can be found
|
|
795
1226
|
* @param {string} name Name of the preprocessor profile
|
|
@@ -798,7 +1229,7 @@ export class PreprocessorController extends ZappProfilesController {
|
|
|
798
1229
|
*/
|
|
799
1230
|
static getLocalPreprocessorProfileNamesBasedOnName(workspacePath: string, name: string, language?: string): LocalPreprocessorSettingsItem | undefined;
|
|
800
1231
|
/**
|
|
801
|
-
* Requires that the ZAPP file was already cached.
|
|
1232
|
+
* Requires that the ZAPP file was already cached.
|
|
802
1233
|
*
|
|
803
1234
|
* @param {string} workspacePath Path to a folder in which a zapp file can be found
|
|
804
1235
|
* @param {string} name Name of the preprocessor profile
|
|
@@ -806,6 +1237,23 @@ export class PreprocessorController extends ZappProfilesController {
|
|
|
806
1237
|
* @returns {(zapp.MvsPreprocessorSettingsItem | undefined)} Returns the settings specified for Remote Preprocessor
|
|
807
1238
|
*/
|
|
808
1239
|
static getMvsPreprocessorProfileNamesBasedOnName(workspacePath: string, name: string, language?: string): MvsPreprocessorSettingsItem | undefined;
|
|
1240
|
+
/**
|
|
1241
|
+
* Requires that the ZAPP file was already cached.
|
|
1242
|
+
*
|
|
1243
|
+
* @param {string} workspacePath Path to a folder in which a zapp file can be found
|
|
1244
|
+
* @param {string} [language] optional filter by language
|
|
1245
|
+
* @param {string} [location] optional Location for which the preprocessor needs to be run
|
|
1246
|
+
* @returns {(zapp.Profile | undefined)} Returns the preprocessor profile specified on the basis of filter provided
|
|
1247
|
+
*/
|
|
1248
|
+
static getPreprocessorProfile(workspacePath: string, language?: string, location?: string): Profile[] | undefined;
|
|
1249
|
+
}
|
|
1250
|
+
export class TestController extends ZappProfilesController {
|
|
1251
|
+
static getTestProfileNames(workspacePath: string): string[] | undefined;
|
|
1252
|
+
static getTestSettings(workspacePath: string, profileName?: string): TestSettingsItem | undefined;
|
|
1253
|
+
}
|
|
1254
|
+
export class GalasaController extends ZappProfilesController {
|
|
1255
|
+
static getGalasaProfileNames(workspacePath: string): string[] | undefined;
|
|
1256
|
+
static getGalasaSettings(workspacePath: string, profileName?: string): GalasaSettingsItem | undefined;
|
|
809
1257
|
}
|
|
810
1258
|
|
|
811
1259
|
//# sourceMappingURL=index.d.ts.map
|