@harnessio/react-rmg-service-client 0.21.0 → 0.23.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/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.d.ts +2 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesQuery.js +2 -2
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhasesQuery.d.ts +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputQuery.js +19 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.d.ts +29 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputSummaryQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.d.ts +32 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessAttachedReleaseGroupsMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/{usePostOrchestrationProcessInputStoreMutation.js → usePostOrchestrationProcessInputMutation.js} +5 -5
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityMutation.d.ts +2 -1
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputMutation.d.ts +29 -0
- package/dist/rmg-service/src/services/hooks/{usePutOrchestrationProcessInputStoreMutation.js → usePutOrchestrationProcessInputMutation.js} +5 -5
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessMutation.d.ts +2 -1
- package/dist/rmg-service/src/services/index.d.ts +31 -22
- package/dist/rmg-service/src/services/index.js +5 -7
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/CreateReleaseGroupRequestRequestBody.d.ts +9 -1
- package/dist/rmg-service/src/services/requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.d.ts +10 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.d.ts +6 -0
- package/dist/rmg-service/src/services/requestBodies/UpdateReleaseGroupRequestRequestBody.d.ts +9 -1
- package/dist/rmg-service/src/services/requestBodies/UpdateReleaseRequestRequestBody.d.ts +8 -0
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.d.ts +14 -0
- package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessAttachedReleaseGroupsResponseResponse.d.ts} +3 -3
- package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.d.ts → OrchestrationProcessInputSummaryResponseResponse.d.ts} +3 -3
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationActivityResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts +14 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.d.ts +10 -0
- package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessResponseResponse.js +4 -0
- package/dist/rmg-service/src/services/schemas/ActivityInputYaml.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/ActivityInputYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.d.ts +26 -0
- package/dist/rmg-service/src/services/schemas/AttachedReleaseGroupDto.js +4 -0
- package/dist/rmg-service/src/services/schemas/Error.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/GetReleaseGroupResponse.d.ts +9 -1
- package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/GlobalReleaseInputYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +20 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.d.ts +11 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityPipelineYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.d.ts +38 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityProcessYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.d.ts +43 -16
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityYaml.js +0 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionActivity.d.ts +10 -2
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +3 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +15 -3
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessDto.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputYaml.d.ts +17 -0
- package/dist/rmg-service/src/services/schemas/OrchestrationReleaseProcessYaml.d.ts +19 -13
- package/dist/rmg-service/src/services/schemas/PhaseInputYaml.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/PhaseReleaseInputYaml.js +4 -0
- package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.d.ts +21 -0
- package/dist/rmg-service/src/services/schemas/ProcessInputSummaryDto.js +1 -0
- package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +9 -1
- package/dist/rmg-service/src/services/schemas/ReleaseGroupDto.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/ReleaseInputYaml.js +1 -0
- package/package.json +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.d.ts +0 -33
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationActivityInputStoreSummaryQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationProcessInputStoreSummaryQuery.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.d.ts +0 -25
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationActivityInputStoreMutation.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePostOrchestrationProcessInputStoreMutation.d.ts +0 -41
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.d.ts +0 -31
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationActivityInputStoreMutation.js +0 -14
- package/dist/rmg-service/src/services/hooks/usePutOrchestrationProcessInputStoreMutation.d.ts +0 -39
- package/dist/rmg-service/src/services/requestBodies/CreateOrchestrationActivityInputStoreRequestRequestBody.d.ts +0 -6
- package/dist/rmg-service/src/services/responses/CreateOrchestrationActivityInputStoreResponseResponse.d.ts +0 -10
- package/dist/rmg-service/src/services/responses/CreateOrchestrationProcessInputStoreResponseResponse.d.ts +0 -6
- package/dist/rmg-service/src/services/schemas/OrchestrationActivityInputStoreDto.d.ts +0 -8
- package/dist/rmg-service/src/services/schemas/OrchestrationProcessInputStoreDto.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/PipelineOrchestrationActivityYaml.d.ts +0 -62
- /package/dist/rmg-service/src/services/requestBodies/{CreateOrchestrationActivityInputStoreRequestRequestBody.js → CreateOrchestrationProcessInputRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/CreateOrchestrationActivityInputStoreResponseResponse.js → requestBodies/OrchestrationProcessAttachedReleaseGroupsRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/CreateOrchestrationProcessInputStoreResponseResponse.js → requestBodies/UpdateOrchestrationProcessInputRequestRequestBody.js} +0 -0
- /package/dist/rmg-service/src/services/{schemas/PipelineOrchestrationActivityYaml.js → responses/CreateOrchestrationProcessInputResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/responses/{OrchestrationActivityInputStoreSummaryResponseResponse.js → OrchestrationProcessAttachedReleaseGroupsResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/responses/{OrchestrationProcessInputStoreSummaryResponseResponse.js → OrchestrationProcessInputSummaryResponseResponse.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{OrchestrationActivityInputStoreDto.js → OrchestrationProcessInputYaml.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{OrchestrationProcessInputStoreDto.js → PhaseInputYaml.js} +0 -0
package/dist/rmg-service/src/services/responses/GetOrchestrationProcessInputResponseResponse.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface GetOrchestrationProcessInputResponseResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Identifier of the orchestration process input
|
|
4
|
+
*/
|
|
5
|
+
identifier: string;
|
|
6
|
+
/**
|
|
7
|
+
* Identifier of the orchestration process
|
|
8
|
+
*/
|
|
9
|
+
processIdentifier: string;
|
|
10
|
+
/**
|
|
11
|
+
* YAML configuration of the orchestration process input
|
|
12
|
+
*/
|
|
13
|
+
yaml: string;
|
|
14
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AttachedReleaseGroupDto } from '../schemas/AttachedReleaseGroupDto';
|
|
2
2
|
import type { Pageable } from '../schemas/Pageable';
|
|
3
3
|
import type { PageableSort } from '../schemas/PageableSort';
|
|
4
|
-
export interface
|
|
5
|
-
content:
|
|
4
|
+
export interface OrchestrationProcessAttachedReleaseGroupsResponseResponse {
|
|
5
|
+
content: AttachedReleaseGroupDto[];
|
|
6
6
|
empty: boolean;
|
|
7
7
|
first: boolean;
|
|
8
8
|
last: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProcessInputSummaryDto } from '../schemas/ProcessInputSummaryDto';
|
|
2
2
|
import type { Pageable } from '../schemas/Pageable';
|
|
3
3
|
import type { PageableSort } from '../schemas/PageableSort';
|
|
4
|
-
export interface
|
|
5
|
-
content:
|
|
4
|
+
export interface OrchestrationProcessInputSummaryResponseResponse {
|
|
5
|
+
content: ProcessInputSummaryDto[];
|
|
6
6
|
empty: boolean;
|
|
7
7
|
first: boolean;
|
|
8
8
|
last: boolean;
|
package/dist/rmg-service/src/services/responses/UpdateOrchestrationProcessInputResponseResponse.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface UpdateOrchestrationProcessInputResponseResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Identifier of the updated orchestration process input
|
|
4
|
+
*/
|
|
5
|
+
identifier: string;
|
|
6
|
+
/**
|
|
7
|
+
* Identifier of the orchestration process
|
|
8
|
+
*/
|
|
9
|
+
processIdentifier: string;
|
|
10
|
+
/**
|
|
11
|
+
* YAML configuration of the updated orchestration process input
|
|
12
|
+
*/
|
|
13
|
+
yaml: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface AttachedReleaseGroupDto {
|
|
2
|
+
/**
|
|
3
|
+
* Account identifier of the release group
|
|
4
|
+
*/
|
|
5
|
+
accountIdentifier: string;
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier of the release group
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Release group identifier
|
|
12
|
+
*/
|
|
13
|
+
identifier: string;
|
|
14
|
+
/**
|
|
15
|
+
* Name of the release group
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* Organization identifier of the release group
|
|
20
|
+
*/
|
|
21
|
+
orgIdentifier?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Project identifier of the release group
|
|
24
|
+
*/
|
|
25
|
+
projectIdentifier?: string;
|
|
26
|
+
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
export interface GetReleaseGroupResponse {
|
|
2
|
+
/**
|
|
3
|
+
* Identifier for the orchestration process.
|
|
4
|
+
*/
|
|
5
|
+
processIdentifier?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Identifier for the orchestration process input.
|
|
8
|
+
*/
|
|
9
|
+
processInputIdentifier?: string;
|
|
2
10
|
/**
|
|
3
11
|
* YAML representation of the release group.
|
|
4
12
|
*/
|
|
5
|
-
yaml
|
|
13
|
+
yaml: string;
|
|
6
14
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface InputVariable {
|
|
2
|
+
/**
|
|
3
|
+
* Default value for the variable (type depends on the variable type)
|
|
4
|
+
*/
|
|
5
|
+
default?: string | number | boolean | {} | {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Description of the variable
|
|
10
|
+
*/
|
|
11
|
+
description?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Name of the input variable
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* Type of the variable (e.g., string, list, boolean)
|
|
18
|
+
*/
|
|
19
|
+
type: 'boolean' | 'list' | 'number' | 'object' | 'string';
|
|
20
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface OrchestrationActivityProcessYaml {
|
|
2
|
+
/**
|
|
3
|
+
* Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
|
|
4
|
+
*/
|
|
5
|
+
activity: string;
|
|
6
|
+
/**
|
|
7
|
+
* Reference to the activity type (e.g., ReleaseApproval, ReleasePipeline)
|
|
8
|
+
*/
|
|
9
|
+
activity_ref?: string;
|
|
10
|
+
/**
|
|
11
|
+
* List of phase identifiers that this phase depends on
|
|
12
|
+
*/
|
|
13
|
+
'depends-on'?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* List of phase identifiers that this phase depends on
|
|
16
|
+
*/
|
|
17
|
+
depends_on?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* Description of the activity
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique identifier for the activity
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier for the activity
|
|
28
|
+
*/
|
|
29
|
+
identifier: string;
|
|
30
|
+
/**
|
|
31
|
+
* Name of the activity
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Timeout duration for the activity (e.g., "24h", "2h")
|
|
36
|
+
*/
|
|
37
|
+
timeout: string;
|
|
38
|
+
}
|
|
@@ -1,18 +1,45 @@
|
|
|
1
|
+
import type { OrchestrationActivityPipelineYaml } from '../schemas/OrchestrationActivityPipelineYaml';
|
|
1
2
|
export interface OrchestrationActivityYaml {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
activity: {
|
|
4
|
+
/**
|
|
5
|
+
* Description of the activity
|
|
6
|
+
*/
|
|
7
|
+
description: string;
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the activity
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier for the activity
|
|
14
|
+
*/
|
|
15
|
+
identifier?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Input definitions for the activity
|
|
18
|
+
*/
|
|
19
|
+
inputs: {
|
|
20
|
+
[key: string]: {
|
|
21
|
+
/**
|
|
22
|
+
* Description of the input parameter
|
|
23
|
+
*/
|
|
24
|
+
description: string;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the input is required
|
|
27
|
+
*/
|
|
28
|
+
required: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Type of the input parameter
|
|
31
|
+
*/
|
|
32
|
+
type: 'boolean' | 'list' | 'number' | 'object' | 'string';
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Name of the activity
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
pipeline?: OrchestrationActivityPipelineYaml;
|
|
40
|
+
/**
|
|
41
|
+
* Timeout duration for the activity (e.g., "30m", "8h")
|
|
42
|
+
*/
|
|
43
|
+
timeout: string;
|
|
44
|
+
};
|
|
18
45
|
}
|
|
@@ -3,6 +3,10 @@ import type { Status } from '../schemas/Status';
|
|
|
3
3
|
* Represents an activity in the orchestration execution
|
|
4
4
|
*/
|
|
5
5
|
export interface OrchestrationExecutionActivity {
|
|
6
|
+
/**
|
|
7
|
+
* List of activity identifiers this activity depends on
|
|
8
|
+
*/
|
|
9
|
+
depends_on: string[];
|
|
6
10
|
/**
|
|
7
11
|
* Description of the activity
|
|
8
12
|
*/
|
|
@@ -11,7 +15,7 @@ export interface OrchestrationExecutionActivity {
|
|
|
11
15
|
* End timestamp in milliseconds
|
|
12
16
|
* @format int64
|
|
13
17
|
*/
|
|
14
|
-
end_ts
|
|
18
|
+
end_ts?: number;
|
|
15
19
|
/**
|
|
16
20
|
* Identifier of the activity
|
|
17
21
|
*/
|
|
@@ -24,6 +28,10 @@ export interface OrchestrationExecutionActivity {
|
|
|
24
28
|
* Start timestamp in milliseconds
|
|
25
29
|
* @format int64
|
|
26
30
|
*/
|
|
27
|
-
start_ts
|
|
31
|
+
start_ts?: number;
|
|
28
32
|
status: Status;
|
|
33
|
+
/**
|
|
34
|
+
* YAML configuration of the activity
|
|
35
|
+
*/
|
|
36
|
+
yaml: string;
|
|
29
37
|
}
|
|
@@ -19,7 +19,7 @@ export interface OrchestrationExecutionPhase {
|
|
|
19
19
|
* End timestamp in milliseconds
|
|
20
20
|
* @format int64
|
|
21
21
|
*/
|
|
22
|
-
end_ts
|
|
22
|
+
end_ts?: number;
|
|
23
23
|
/**
|
|
24
24
|
* Unique identifier of the phase
|
|
25
25
|
*/
|
|
@@ -35,12 +35,12 @@ export interface OrchestrationExecutionPhase {
|
|
|
35
35
|
/**
|
|
36
36
|
* ID of the phase execution
|
|
37
37
|
*/
|
|
38
|
-
phase_execution_id
|
|
38
|
+
phase_execution_id?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Start timestamp in milliseconds
|
|
41
41
|
* @format int64
|
|
42
42
|
*/
|
|
43
|
-
start_ts
|
|
43
|
+
start_ts?: number;
|
|
44
44
|
status: Status;
|
|
45
45
|
/**
|
|
46
46
|
* Total number of activities in the phase
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OrchestrationActivityProcessYaml } from '../schemas/OrchestrationActivityProcessYaml';
|
|
2
2
|
export interface OrchestrationPhaseYaml {
|
|
3
|
-
activities:
|
|
3
|
+
activities: OrchestrationActivityProcessYaml[];
|
|
4
|
+
/**
|
|
5
|
+
* List of phase identifiers that this phase depends on
|
|
6
|
+
*/
|
|
7
|
+
'depends-on'?: string[];
|
|
4
8
|
/**
|
|
5
9
|
* List of phase identifiers that this phase depends on
|
|
6
10
|
*/
|
|
7
11
|
depends_on?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* Description of the phase
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Unique identifier for the phase
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
8
20
|
/**
|
|
9
21
|
* Unique identifier for the phase
|
|
10
22
|
*/
|
|
11
|
-
identifier
|
|
23
|
+
identifier?: string;
|
|
12
24
|
/**
|
|
13
25
|
* Name of the phase
|
|
14
26
|
*/
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
|
|
2
2
|
export interface OrchestrationProcessDto {
|
|
3
|
+
/**
|
|
4
|
+
* Number of releases attached to the process
|
|
5
|
+
*/
|
|
6
|
+
attachedReleaseGroupCount: number;
|
|
3
7
|
description?: string;
|
|
4
8
|
identifier: string;
|
|
5
9
|
lastUpdatedAt: number;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { InputVariable } from '../schemas/InputVariable';
|
|
2
|
+
import type { PhaseInputYaml } from '../schemas/PhaseInputYaml';
|
|
3
|
+
export interface OrchestrationProcessInputYaml {
|
|
4
|
+
/**
|
|
5
|
+
* Global input configuration
|
|
6
|
+
*/
|
|
7
|
+
global?: {
|
|
8
|
+
/**
|
|
9
|
+
* Global input variables available across all phases
|
|
10
|
+
*/
|
|
11
|
+
variables?: InputVariable[];
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Phase-specific input configurations
|
|
15
|
+
*/
|
|
16
|
+
phases?: PhaseInputYaml[];
|
|
17
|
+
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import type { OrchestrationPhaseYaml } from '../schemas/OrchestrationPhaseYaml';
|
|
2
2
|
export interface OrchestrationReleaseProcessYaml {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
process: {
|
|
4
|
+
/**
|
|
5
|
+
* Description of the orchestration process
|
|
6
|
+
*/
|
|
7
|
+
description: string;
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the orchestration process
|
|
10
|
+
*/
|
|
11
|
+
id?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier for the orchestration process
|
|
14
|
+
*/
|
|
15
|
+
identifier: string;
|
|
16
|
+
/**
|
|
17
|
+
* Name of the orchestration process
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
phases: OrchestrationPhaseYaml[];
|
|
21
|
+
};
|
|
16
22
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ActivityInputYaml } from '../schemas/ActivityInputYaml';
|
|
2
|
+
import type { InputVariable } from '../schemas/InputVariable';
|
|
3
|
+
export interface PhaseInputYaml {
|
|
4
|
+
/**
|
|
5
|
+
* Activities configuration for this phase
|
|
6
|
+
*/
|
|
7
|
+
activities?: ActivityInputYaml[];
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the phase
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Variables specific to this phase
|
|
14
|
+
*/
|
|
15
|
+
variables?: InputVariable[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
|
|
2
|
+
export interface ProcessInputSummaryDto {
|
|
3
|
+
/**
|
|
4
|
+
* Description of the process input
|
|
5
|
+
*/
|
|
6
|
+
description?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Identifier of the process input
|
|
9
|
+
*/
|
|
10
|
+
identifier: string;
|
|
11
|
+
/**
|
|
12
|
+
* Last updated timestamp in milliseconds
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
lastUpdatedAt: number;
|
|
16
|
+
lastUpdatedBy: LastUpdatedByDto;
|
|
17
|
+
/**
|
|
18
|
+
* Name of the process input
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -35,6 +35,14 @@ export interface ReleaseDto {
|
|
|
35
35
|
* Name of the release
|
|
36
36
|
*/
|
|
37
37
|
name: string;
|
|
38
|
+
/**
|
|
39
|
+
* Identifier for the orchestration process.
|
|
40
|
+
*/
|
|
41
|
+
processIdentifier?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Identifier for the orchestration process input.
|
|
44
|
+
*/
|
|
45
|
+
processInputIdentifier?: string;
|
|
38
46
|
/**
|
|
39
47
|
* Identifier for the release group
|
|
40
48
|
*/
|
|
@@ -42,7 +50,7 @@ export interface ReleaseDto {
|
|
|
42
50
|
/**
|
|
43
51
|
* Current status of the release
|
|
44
52
|
*/
|
|
45
|
-
status: 'Failed' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
|
|
53
|
+
status: 'Aborted' | 'Failed' | 'Paused' | 'Running' | 'Scheduled' | 'Success';
|
|
46
54
|
/**
|
|
47
55
|
* Version of the release
|
|
48
56
|
*/
|
|
@@ -10,6 +10,14 @@ export interface ReleaseGroupDto {
|
|
|
10
10
|
lastUpdatedAt: number;
|
|
11
11
|
lastUpdatedBy: LastUpdatedByDto;
|
|
12
12
|
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Process identifier
|
|
15
|
+
*/
|
|
16
|
+
processIdentifier?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Process input identifier
|
|
19
|
+
*/
|
|
20
|
+
processInputIdentifier?: string;
|
|
13
21
|
releaseType: ReleaseType;
|
|
14
22
|
releaseVersion: string;
|
|
15
23
|
tags?: {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { GlobalReleaseInputYaml } from '../schemas/GlobalReleaseInputYaml';
|
|
2
|
+
import type { PhaseReleaseInputYaml } from '../schemas/PhaseReleaseInputYaml';
|
|
3
|
+
export interface ReleaseInputYaml {
|
|
4
|
+
global?: GlobalReleaseInputYaml;
|
|
5
|
+
/**
|
|
6
|
+
* Phase-specific input values
|
|
7
|
+
*/
|
|
8
|
+
phases?: PhaseReleaseInputYaml[];
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|