dcdx 1.3.0-next.4 → 1.3.0-next.41

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.
Files changed (34) hide show
  1. package/assets/versions.json +1 -1
  2. package/lib/commands/apt.js +2552 -1663
  3. package/lib/commands/build.js +1203 -1119
  4. package/lib/commands/database.js +1199 -1115
  5. package/lib/commands/debug.js +1209 -1122
  6. package/lib/commands/install.js +1895 -1179
  7. package/lib/commands/reset.js +1201 -1116
  8. package/lib/commands/run.js +1201 -1116
  9. package/lib/commands/stop.js +1201 -1116
  10. package/lib/commands/update.js +1197 -1114
  11. package/lib/index.js +1 -1
  12. package/lib/types/src/apt/helpers/dcapt.d.ts +2 -1
  13. package/lib/types/src/apt/helpers/downloadApp.d.ts +1 -0
  14. package/lib/types/src/apt/helpers/generateDependencyTree.d.ts +2 -0
  15. package/lib/types/src/apt/helpers/generateSCAReport.d.ts +2 -0
  16. package/lib/types/src/apt/helpers/getAppLicense.d.ts +3 -0
  17. package/lib/types/src/apt/helpers/getAptDirectory.d.ts +1 -1
  18. package/lib/types/src/apt/helpers/getClusterURL.d.ts +1 -1
  19. package/lib/types/src/apt/helpers/getHostLicense.d.ts +1 -1
  20. package/lib/types/src/apt/helpers/installApp.d.ts +2 -1
  21. package/lib/types/src/apt/helpers/provisionCluster.d.ts +1 -0
  22. package/lib/types/src/apt/helpers/restartCluster.d.ts +2 -0
  23. package/lib/types/src/apt/helpers/runLuceneTimingTest.d.ts +2 -0
  24. package/lib/types/src/apt/helpers/runPerformanceTest.d.ts +2 -2
  25. package/lib/types/src/apt/helpers/runScalabilityTest.d.ts +2 -2
  26. package/lib/types/src/apt/messages.d.ts +10 -5
  27. package/lib/types/src/helpers/FileWatcher.d.ts +2 -2
  28. package/lib/types/src/helpers/Installer.d.ts +2 -2
  29. package/lib/types/src/helpers/upm.d.ts +2 -2
  30. package/lib/types/src/types/DCAPT.d.ts +293 -90
  31. package/lib/types/src/types/FileWatcher.d.ts +36 -0
  32. package/lib/types/src/types/Install.d.ts +80 -0
  33. package/lib/types/src/types/Installer.d.ts +21 -0
  34. package/package.json +6 -1
package/lib/index.js CHANGED
@@ -3,7 +3,7 @@ import { program } from 'commander';
3
3
  import { realpathSync, existsSync } from 'fs';
4
4
  import { dirname, join } from 'path';
5
5
 
6
- var version = "1.3.0-next.4";
6
+ var version = "1.3.0-next.41";
7
7
 
8
8
  const toAbsolutePath = (relativePath) => {
9
9
  const [, filePath] = process.argv;
@@ -2,5 +2,6 @@ import { TSupportedApplications } from '../../types/Application';
2
2
  export declare const install: (cwd: string) => Promise<void>;
3
3
  export declare const runTest: (cwd: string, environment: string, product: TSupportedApplications) => Promise<void>;
4
4
  export declare const regressionReport: (cwd: string, run1Dir: string, run2Dir: string) => Promise<void>;
5
- export declare const scalabilityReport: (cwd: string, run3Dir: string, run4Dir: string, run5Dir: string) => Promise<void>;
5
+ export declare const scalabilityReport: (cwd: string, resultsDir1: string, resultsDir2: string, resultsDir3: string) => Promise<void>;
6
+ export declare const restart: (cwd: string, environment: string, product: TSupportedApplications) => Promise<void>;
6
7
  export declare const terminate: (cwd: string, environment: string) => Promise<void>;
@@ -0,0 +1 @@
1
+ export declare const downloadApp: (addonKey: string) => Promise<string>;
@@ -0,0 +1,2 @@
1
+ import { TAPTDependencyTreeOptions } from '../../types/DCAPT';
2
+ export declare const generateDependencyTree: (options: TAPTDependencyTreeOptions) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { TAPTSCAOptions } from '../../types/DCAPT';
2
+ export declare const generateSCAReport: (options: TAPTSCAOptions) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ export declare const getAppLicense: (license?: string, force?: boolean) => string | (Promise<string> & {
2
+ cancel: () => void;
3
+ });
@@ -1 +1 @@
1
- export declare const getAptDictory: (cwd: string, mustUseDefaultConfiguration: boolean, force?: boolean) => Promise<string>;
1
+ export declare const getAptDictory: (cwd?: string, mustUseDefaultConfiguration?: boolean, force?: boolean) => Promise<string>;
@@ -1,2 +1,2 @@
1
1
  import { TSupportedApplications } from '../../types/Application';
2
- export declare const getClusterURL: (cwd: string, product: TSupportedApplications) => Promise<any>;
2
+ export declare const getClusterURL: (cwd: string, product: TSupportedApplications) => Promise<string>;
@@ -1,4 +1,4 @@
1
1
  import { TSupportedApplications } from '../../types/Application';
2
- export declare const getHostLicense: (product: TSupportedApplications, force?: boolean) => string | (Promise<string> & {
2
+ export declare const getHostLicense: (product: TSupportedApplications, license?: string, force?: boolean) => string | (Promise<string> & {
3
3
  cancel: () => void;
4
4
  });
@@ -1 +1,2 @@
1
- export declare const installApp: (baseUrl: string, appKey?: string, license?: string, force?: boolean) => Promise<void>;
1
+ import { TInstallOptions } from '../../types/Install';
2
+ export declare const installApp: (options: TInstallOptions) => Promise<void>;
@@ -4,5 +4,6 @@ export declare const provisionCluster: (options: TAPTProvisionOptions, mustUseDe
4
4
  environment: string;
5
5
  aws_access_key_id: string;
6
6
  aws_secret_access_key: string;
7
+ baseUrl: string;
7
8
  license: string;
8
9
  }>;
@@ -0,0 +1,2 @@
1
+ import { TAPTRestartOptions } from '../../types/DCAPT';
2
+ export declare const restartCluster: (options: TAPTRestartOptions) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { TAPTPerformanceTestOptions, TAPTTestMessages, TPerformanceTestTypes } from '../../types/DCAPT';
2
+ export declare const runLuceneTimingTest: (stage: TPerformanceTestTypes, options: TAPTPerformanceTestOptions, messages: TAPTTestMessages) => Promise<void>;
@@ -1,2 +1,2 @@
1
- import { TAPTPerformanceTestMessages, TAPTPerformanceTestOptions, TPerformanceTestTypes } from '../../types/DCAPT';
2
- export declare const runPerformanceTest: (stage: TPerformanceTestTypes, options: TAPTPerformanceTestOptions, messages: TAPTPerformanceTestMessages) => Promise<void>;
1
+ import { TAPTPerformanceTestOptions, TAPTTestMessages, TPerformanceTestTypes } from '../../types/DCAPT';
2
+ export declare const runPerformanceTest: (stage: TPerformanceTestTypes, options: TAPTPerformanceTestOptions, messages: TAPTTestMessages) => Promise<void>;
@@ -1,2 +1,2 @@
1
- import { TAPTScalabilityTestOptions, TScalabilityTestTypes } from '../../types/DCAPT';
2
- export declare const runScalabilityTest: (stage: TScalabilityTestTypes, options: TAPTScalabilityTestOptions) => Promise<void>;
1
+ import { TAPTScalabilityTestOptions, TAPTTestMessages, TScalabilityTestTypes } from '../../types/DCAPT';
2
+ export declare const runScalabilityTest: (stage: TScalabilityTestTypes, options: TAPTScalabilityTestOptions, messages: TAPTTestMessages) => Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import { TSupportedApplications } from '../types/Application';
2
- import { TAPTPerformanceTestMessages, TAPTScalabilityTestMessages } from '../types/DCAPT';
2
+ import { TAPTTestMessages } from '../types/DCAPT';
3
3
  export declare const emptyLine: () => void;
4
4
  export declare const generic: {
5
5
  header: string;
@@ -11,20 +11,25 @@ export declare const provisioning: {
11
11
  header: string;
12
12
  askForAWSCredentials: (product: TSupportedApplications) => string;
13
13
  askForEnvironment: string;
14
- askForLicense: string;
14
+ askForHostLicense: string;
15
+ askForAppLicense: string;
15
16
  ready: string;
16
17
  awsCredentialsPersisted: string;
17
18
  terraformConfigurationPersisted: string;
18
19
  };
19
- export declare const Run1: TAPTPerformanceTestMessages;
20
- export declare const Run2: TAPTPerformanceTestMessages;
20
+ export declare const Run1: TAPTTestMessages;
21
+ export declare const Run2: TAPTTestMessages;
22
+ export declare const LuceneTimingTest: TAPTTestMessages;
21
23
  export declare const PerformanceReportMessages: {
22
24
  header: string;
23
25
  };
24
- export declare const ScalabilityTestMessages: TAPTScalabilityTestMessages;
26
+ export declare const ScalabilityTestMessages: TAPTTestMessages;
25
27
  export declare const ScalabilityReportMessages: {
26
28
  header: string;
27
29
  };
30
+ export declare const Restart: {
31
+ header: string;
32
+ };
28
33
  export declare const Teardown: {
29
34
  header: string;
30
35
  };
@@ -1,3 +1,3 @@
1
- import { TBuildOptions, TDebugOptions } from '../types/AMPS';
2
1
  import { TSupportedApplications } from '../types/Application';
3
- export declare const FileWatcher: (name: TSupportedApplications, options: TBuildOptions | TDebugOptions, mavenOpts: Array<string>, installOnly?: boolean) => import("chokidar").FSWatcher;
2
+ import { TFileWatcherOptions } from '../types/FileWatcher';
3
+ export declare const FileWatcher: (name: TSupportedApplications, options: TFileWatcherOptions, mavenOpts: Array<string>, installOnly?: boolean) => import("chokidar").FSWatcher;
@@ -1,3 +1,3 @@
1
- import { TBuildOptions, TDebugOptions } from '../types/AMPS';
2
1
  import { TSupportedApplications } from '../types/Application';
3
- export declare const Installer: (name: TSupportedApplications, path: string, options: TBuildOptions | TDebugOptions) => Promise<void>;
2
+ import { TInstallerOptions } from '../types/Installer';
3
+ export declare const Installer: (name: TSupportedApplications, path: string, options: TInstallerOptions) => Promise<void>;
@@ -1,3 +1,3 @@
1
- export declare const uploadToUPM: (baseUrl: string, path: string, username?: string, password?: string, verbose?: boolean) => Promise<void>;
1
+ export declare const uploadToUPM: (baseUrl: string, path: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;
2
2
  export declare const waitForPluginToBeEnabled: (appKey: string, baseUrl: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;
3
- export declare const registerLicense: (appKey: string, license: string, baseUrl: string, username?: string, password?: string, verbose?: boolean) => Promise<void>;
3
+ export declare const registerLicense: (appKey: string, license: string, baseUrl: string, username?: string, password?: string, verbose?: boolean) => Promise<boolean>;