@harnessio/react-rmg-service-client 0.40.0 → 0.42.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.
@@ -12,7 +12,7 @@ export interface GetOrchestrationExecutionActivitiesPaginatedQueryQueryParams {
12
12
  page?: number;
13
13
  size?: number;
14
14
  sort?: string[];
15
- status?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
15
+ status?: Array<'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED'>;
16
16
  type?: Array<'MANUAL' | 'PIPELINE' | 'SUBPROCESS'>;
17
17
  phaseIdentifier?: string;
18
18
  /**
@@ -1,6 +1,6 @@
1
1
  import type { FailureInfo } from '../schemas/FailureInfo';
2
2
  import type { PipelineActivityInfo } from '../schemas/PipelineActivityInfo';
3
- import type { Status } from '../schemas/Status';
3
+ import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
4
4
  import type { SubprocessActivityInfo } from '../schemas/SubprocessActivityInfo';
5
5
  import type { ActivityTriggerInfo } from '../schemas/ActivityTriggerInfo';
6
6
  /**
@@ -58,7 +58,7 @@ export interface ActivityRetryInfo {
58
58
  /**
59
59
  * The status of this retry attempt
60
60
  */
61
- status: Status;
61
+ status: OrchestrationStatus;
62
62
  /**
63
63
  * Subprocess execution information for activities
64
64
  */
@@ -1,6 +1,13 @@
1
+ import type { CreatedByDto } from '../schemas/CreatedByDto';
1
2
  import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
2
3
  import type { CreateOrchestrationActivityRequestType } from '../schemas/CreateOrchestrationActivityRequestType';
3
4
  export interface OrchestrationActivitySummaryDto {
5
+ /**
6
+ * Created timestamp in milliseconds
7
+ * @format int64
8
+ */
9
+ createdAt: number;
10
+ createdBy: CreatedByDto;
4
11
  /**
5
12
  * Description of the orchestration activity
6
13
  */
@@ -3,6 +3,14 @@ export interface OrchestrationActivityYamlDto {
3
3
  * Identifier of the activity
4
4
  */
5
5
  identifier: string;
6
+ /**
7
+ * Organization identifier of the activity
8
+ */
9
+ orgIdentifier?: string;
10
+ /**
11
+ * Project identifier of the activity
12
+ */
13
+ projectIdentifier?: string;
6
14
  /**
7
15
  * YAML configuration of the activity
8
16
  */
@@ -1,6 +1,6 @@
1
1
  import type { FailureInfo } from '../schemas/FailureInfo';
2
2
  import type { PipelineActivityInfo } from '../schemas/PipelineActivityInfo';
3
- import type { Status } from '../schemas/Status';
3
+ import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
4
4
  import type { SubprocessActivityInfo } from '../schemas/SubprocessActivityInfo';
5
5
  /**
6
6
  * Represents an activity in the orchestration execution
@@ -46,7 +46,7 @@ export interface OrchestrationExecutionActivity {
46
46
  * @format int64
47
47
  */
48
48
  start_ts?: number;
49
- status: Status;
49
+ status: OrchestrationStatus;
50
50
  /**
51
51
  * Subprocess execution information for activities
52
52
  */
@@ -1,6 +1,6 @@
1
1
  import type { FailureInfo } from '../schemas/FailureInfo';
2
2
  import type { PipelineActivityInfo } from '../schemas/PipelineActivityInfo';
3
- import type { Status } from '../schemas/Status';
3
+ import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
4
4
  import type { SubprocessActivityInfo } from '../schemas/SubprocessActivityInfo';
5
5
  import type { ActivityTriggerInfo } from '../schemas/ActivityTriggerInfo';
6
6
  /**
@@ -63,7 +63,7 @@ export interface OrchestrationExecutionActivityDetail {
63
63
  * @format int64
64
64
  */
65
65
  start_ts?: number;
66
- status: Status;
66
+ status: OrchestrationStatus;
67
67
  /**
68
68
  * Subprocess execution information for activities
69
69
  */
@@ -1,5 +1,7 @@
1
1
  import type { FailureInfo } from '../schemas/FailureInfo';
2
- import type { Status } from '../schemas/Status';
2
+ import type { PipelineActivityInfo } from '../schemas/PipelineActivityInfo';
3
+ import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
4
+ import type { SubprocessActivityInfo } from '../schemas/SubprocessActivityInfo';
3
5
  import type { ActivityTriggerInfo } from '../schemas/ActivityTriggerInfo';
4
6
  /**
5
7
  * Represents an activity in the paginated orchestration execution activities response
@@ -34,6 +36,14 @@ export interface OrchestrationExecutionActivityPaginated {
34
36
  * Identifier of the phase this activity belongs to
35
37
  */
36
38
  phaseIdentifier: string;
39
+ /**
40
+ * Name of the phase this activity belongs to
41
+ */
42
+ phaseName: string;
43
+ /**
44
+ * Pipeline execution information for activities
45
+ */
46
+ pipeline?: PipelineActivityInfo;
37
47
  /**
38
48
  * Process execution ID
39
49
  */
@@ -47,6 +57,10 @@ export interface OrchestrationExecutionActivityPaginated {
47
57
  * @format int32
48
58
  */
49
59
  retryIndex?: number | null;
60
+ /**
61
+ * Root release ID for this activity (used to group activities from child releases)
62
+ */
63
+ rootReleaseId: string;
50
64
  /**
51
65
  * Start timestamp in milliseconds
52
66
  * @format int64
@@ -55,7 +69,11 @@ export interface OrchestrationExecutionActivityPaginated {
55
69
  /**
56
70
  * Current status of the activity
57
71
  */
58
- status: Status;
72
+ status: OrchestrationStatus;
73
+ /**
74
+ * Subprocess execution information for activities
75
+ */
76
+ subprocess?: SubprocessActivityInfo;
59
77
  /**
60
78
  * Trigger information for the activity
61
79
  */
@@ -1,6 +1,6 @@
1
1
  import type { ActivityCounts } from '../schemas/ActivityCounts';
2
2
  import type { FailureInfo } from '../schemas/FailureInfo';
3
- import type { Status } from '../schemas/Status';
3
+ import type { OrchestrationStatus } from '../schemas/OrchestrationStatus';
4
4
  /**
5
5
  * Represents a phase in the orchestration execution
6
6
  */
@@ -48,7 +48,7 @@ export interface OrchestrationExecutionPhase {
48
48
  * @format int64
49
49
  */
50
50
  start_ts?: number;
51
- status: Status;
51
+ status: OrchestrationStatus;
52
52
  /**
53
53
  * Total number of activities in the phase
54
54
  */
@@ -1,9 +1,16 @@
1
+ import type { CreatedByDto } from '../schemas/CreatedByDto';
1
2
  import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
2
3
  export interface OrchestrationProcessDto {
3
4
  /**
4
5
  * Number of releases attached to the process
5
6
  */
6
7
  attachedReleaseGroupCount: number;
8
+ /**
9
+ * Created timestamp in milliseconds
10
+ * @format int64
11
+ */
12
+ createdAt: number;
13
+ createdBy: CreatedByDto;
7
14
  description?: string;
8
15
  identifier: string;
9
16
  lastUpdatedAt: number;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Status of orchestration execution activities
3
3
  */
4
- export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
4
+ export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-rmg-service-client",
3
- "version": "0.40.0",
3
+ "version": "0.42.0",
4
4
  "description": "Harness Release Management Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",