@harnessio/react-dbops-service-client 0.8.0 → 0.10.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.
@@ -9,6 +9,10 @@ export interface PluginStepInputsRequestRequestBody {
9
9
  */
10
10
  Project?: string;
11
11
  command: Command;
12
+ /**
13
+ * when pluginCommand type is Custom, customCommand is considered which is any string provided by the user
14
+ */
15
+ customCommand?: string;
12
16
  /**
13
17
  * db instance identifier
14
18
  * @example "myschema/prod-1-instance"
@@ -19,9 +23,20 @@ export interface PluginStepInputsRequestRequestBody {
19
23
  */
20
24
  dbSchema: string;
21
25
  directory?: string;
22
- metadata?: {
23
- plan_execution?: string;
24
- step_identifier?: string;
26
+ /**
27
+ * if changeLogFile is required or not for LiquibaseCommand step. If true, then dbops-clone will not happen and changeLog is not passed in the settings.
28
+ */
29
+ excludeChangeLogFile?: boolean;
30
+ pipelineExecutionMetadata?: {
31
+ pipeline: string;
32
+ planExecutionId: string;
33
+ stageExecutionId: string;
34
+ };
35
+ /**
36
+ * key value pair for properties which help decide response
37
+ */
38
+ properties?: {
39
+ [key: string]: string;
25
40
  };
26
41
  /**
27
42
  * Key value mapping of user input plugin settings
@@ -12,6 +12,9 @@ export interface PluginInputsResponseResponse {
12
12
  };
13
13
  image?: string;
14
14
  instance?: DbInstanceOut;
15
+ propertiesResult?: {
16
+ [key: string]: string;
17
+ };
15
18
  schema?: DbSchemaOut;
16
19
  settings?: {
17
20
  [key: string]: string;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Type of the plugin command to run
3
3
  */
4
- export type Command = 'Clone' | 'History' | 'Rollback' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
4
+ export type Command = 'Clone' | 'Custom' | 'History' | 'ParentWrapper' | 'Rollback' | 'Tag' | 'Update' | 'UpdateSQL' | 'Validate';
@@ -1 +1 @@
1
- export type CommandExecutionStatus = 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS';
1
+ export type CommandExecutionStatus = 'CANCELLED' | 'FAILURE' | 'IN_PROGRESS' | 'SUCCESS';
@@ -8,6 +8,9 @@ export interface MigrationStateInstance {
8
8
  * Identfier of the instance
9
9
  */
10
10
  instance: string;
11
+ pipeline: string;
12
+ planExecutionId: string;
13
+ stageExecutionId: string;
11
14
  status: ChangeSetDeploymentStatus;
12
15
  /**
13
16
  * Time of last Change Set Deployment/Rollback attempt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-dbops-service-client",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "Harness React DB Devops service client - DB Devops APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",