@harnessio/react-rmg-service-client 0.70.2-beta.2 → 0.71.1-beta.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/useGetArtifactFacetsQuery.d.ts +26 -0
- package/dist/rmg-service/src/services/hooks/useGetArtifactFacetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetChangesetFacetsQuery.d.ts +27 -0
- package/dist/rmg-service/src/services/hooks/useGetChangesetFacetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionActivitiesPaginatedQuery.d.ts +1 -1
- package/dist/rmg-service/src/services/hooks/useListArtifactsByServiceQuery.d.ts +34 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactsByServiceQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.d.ts +36 -0
- package/dist/rmg-service/src/services/hooks/useListArtifactsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListChangesetCommitsQuery.d.ts +33 -0
- package/dist/rmg-service/src/services/hooks/useListChangesetCommitsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useListChangesetsQuery.d.ts +37 -0
- package/dist/rmg-service/src/services/hooks/useListChangesetsQuery.js +14 -0
- package/dist/rmg-service/src/services/hooks/useRetryChangesetMutation.d.ts +25 -0
- package/dist/rmg-service/src/services/hooks/useRetryChangesetMutation.js +14 -0
- package/dist/rmg-service/src/services/hooks/useUpdateChangesetTagsMutation.d.ts +28 -0
- package/dist/rmg-service/src/services/hooks/useUpdateChangesetTagsMutation.js +14 -0
- package/dist/rmg-service/src/services/index.d.ts +34 -30
- package/dist/rmg-service/src/services/index.js +8 -6
- package/dist/rmg-service/src/services/schemas/ActivityExecutionInputDto.d.ts +0 -7
- package/dist/rmg-service/src/services/schemas/ArtifactBuildPipeline.d.ts +30 -0
- package/dist/rmg-service/src/services/schemas/ArtifactFacets.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ArtifactServiceGroupList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ArtifactServiceItem.d.ts +26 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMapping.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceMapping.js +0 -3
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettings.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerSettings.js +0 -3
- package/dist/rmg-service/src/services/schemas/ArtifactVersion.d.ts +20 -0
- package/dist/rmg-service/src/services/schemas/ArtifactVersionList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/Changeset.d.ts +20 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommit.d.ts +22 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommitList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ChangesetCommitTicket.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ChangesetFacets.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/ChangesetList.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/ChangesetRef.d.ts +8 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.js +0 -3
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerSettingsRequest.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerSettingsRequest.js +0 -3
- package/dist/rmg-service/src/services/schemas/ExecutionOutputDto.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/GitProviderType.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/InputVariable.d.ts +1 -2
- package/dist/rmg-service/src/services/schemas/InputVariableType.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/OrchestrationExecutionPhase.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/OrchestrationPhaseYaml.d.ts +0 -9
- package/dist/rmg-service/src/services/schemas/OrchestrationStatus.d.ts +1 -1
- package/dist/rmg-service/src/services/schemas/OutputVariable.d.ts +3 -20
- package/dist/rmg-service/src/services/schemas/OutputVariable.js +3 -0
- package/dist/rmg-service/src/services/schemas/ReleaseDto.d.ts +12 -0
- package/dist/rmg-service/src/services/schemas/ReleaseDto.js +0 -3
- package/dist/rmg-service/src/services/schemas/ReleaseRef.d.ts +11 -0
- package/dist/rmg-service/src/services/schemas/ReleaseRef.js +4 -0
- package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.js +0 -3
- package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.d.ts +4 -0
- package/dist/rmg-service/src/services/schemas/UpdateChangesetTagsRequest.js +4 -0
- package/dist/rmg-service/src/services/schemas/UpsertArtifactTrackerSettingsRequest.d.ts +6 -0
- package/dist/rmg-service/src/services/schemas/UpsertArtifactTrackerSettingsRequest.js +0 -3
- package/dist/rmg-service/src/services/schemas/WebhookSignalArtifacts.d.ts +16 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalImage.d.ts +9 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalImage.js +4 -0
- package/dist/rmg-service/src/services/schemas/WebhookSignalRequest.d.ts +2 -0
- package/package.json +1 -1
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseInputsQuery.d.ts +0 -27
- package/dist/rmg-service/src/services/hooks/useGetOrchestrationExecutionPhaseInputsQuery.js +0 -19
- package/dist/rmg-service/src/services/hooks/useGetPhaseArtifactUpdatesQuery.d.ts +0 -26
- package/dist/rmg-service/src/services/hooks/useGetPhaseArtifactUpdatesQuery.js +0 -15
- package/dist/rmg-service/src/services/hooks/useGetPhaseRetryHistoryByIdentifiersQuery.d.ts +0 -31
- package/dist/rmg-service/src/services/hooks/useGetPhaseRetryHistoryByIdentifiersQuery.js +0 -19
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerServiceRefsQuery.d.ts +0 -31
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerServiceRefsQuery.js +0 -15
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerTagsByServiceMappingQuery.d.ts +0 -34
- package/dist/rmg-service/src/services/hooks/useListArtifactTrackerTagsByServiceMappingQuery.js +0 -15
- package/dist/rmg-service/src/services/hooks/usePostPhaseActionMutation.d.ts +0 -28
- package/dist/rmg-service/src/services/hooks/usePostPhaseActionMutation.js +0 -14
- package/dist/rmg-service/src/services/requestBodies/PhaseActionRequestRequestBody.d.ts +0 -2
- package/dist/rmg-service/src/services/responses/PhaseActionResponseResponse.d.ts +0 -2
- package/dist/rmg-service/src/services/responses/PhaseArtifactUpdatesResponseResponse.d.ts +0 -2
- package/dist/rmg-service/src/services/schemas/ArtifactTag.d.ts +0 -14
- package/dist/rmg-service/src/services/schemas/ArtifactTagList.d.ts +0 -11
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceRef.d.ts +0 -17
- package/dist/rmg-service/src/services/schemas/ArtifactTrackerServiceRefList.d.ts +0 -8
- package/dist/rmg-service/src/services/schemas/OutputDataType.d.ts +0 -6
- package/dist/rmg-service/src/services/schemas/PhaseActionRequest.d.ts +0 -11
- package/dist/rmg-service/src/services/schemas/PhaseActionResponse.d.ts +0 -10
- package/dist/rmg-service/src/services/schemas/PhaseArtifactUpdateDto.d.ts +0 -21
- package/dist/rmg-service/src/services/schemas/PhaseArtifactUpdatesResponse.d.ts +0 -11
- package/dist/rmg-service/src/services/schemas/PhaseExecutionInputDto.d.ts +0 -19
- package/dist/rmg-service/src/services/schemas/PhaseRetryHistoryResponse.d.ts +0 -19
- package/dist/rmg-service/src/services/schemas/PhaseRetryHistoryResponse.js +0 -1
- package/dist/rmg-service/src/services/schemas/PhaseRetryInfo.d.ts +0 -47
- package/dist/rmg-service/src/services/schemas/PhaseRetryInfo.js +0 -1
- package/dist/rmg-service/src/services/schemas/ReleaseArtifactInputVariable.d.ts +0 -25
- package/dist/rmg-service/src/services/schemas/ReleaseArtifactInputVariable.js +0 -1
- package/dist/rmg-service/src/services/schemas/ReleaseArtifactValue.d.ts +0 -19
- package/dist/rmg-service/src/services/schemas/StatusInfo.d.ts +0 -13
- /package/dist/rmg-service/src/services/schemas/{ArtifactTag.js → ArtifactBuildPipeline.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{ArtifactTrackerServiceRef.js → ArtifactFacets.js} +0 -0
- /package/dist/rmg-service/src/services/{requestBodies/PhaseActionRequestRequestBody.js → schemas/ArtifactServiceGroupList.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/PhaseActionResponseResponse.js → schemas/ArtifactServiceItem.js} +0 -0
- /package/dist/rmg-service/src/services/{responses/PhaseArtifactUpdatesResponseResponse.js → schemas/ArtifactVersion.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{ArtifactTagList.js → ArtifactVersionList.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{OutputDataType.js → Changeset.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{ArtifactTrackerServiceRefList.js → ChangesetCommit.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{PhaseActionRequest.js → ChangesetCommitList.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{PhaseActionResponse.js → ChangesetCommitTicket.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{PhaseArtifactUpdateDto.js → ChangesetFacets.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{PhaseArtifactUpdatesResponse.js → ChangesetList.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{ReleaseArtifactValue.js → ChangesetRef.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{StatusInfo.js → GitProviderType.js} +0 -0
- /package/dist/rmg-service/src/services/schemas/{PhaseExecutionInputDto.js → WebhookSignalArtifacts.js} +0 -0
|
@@ -10,8 +10,10 @@ export { deleteReleaseGroup, useDeleteReleaseGroupMutation, } from './hooks/useD
|
|
|
10
10
|
export { deleteRelease, useDeleteReleaseMutation } from './hooks/useDeleteReleaseMutation';
|
|
11
11
|
export { deleteTaskComment, useDeleteTaskCommentMutation, } from './hooks/useDeleteTaskCommentMutation';
|
|
12
12
|
export { getActivityRetryHistoryByIdentifiers, useGetActivityRetryHistoryByIdentifiersQuery, } from './hooks/useGetActivityRetryHistoryByIdentifiersQuery';
|
|
13
|
+
export { getArtifactFacets, useGetArtifactFacetsQuery } from './hooks/useGetArtifactFacetsQuery';
|
|
13
14
|
export { getArtifactTrackerServiceMapping, useGetArtifactTrackerServiceMappingQuery, } from './hooks/useGetArtifactTrackerServiceMappingQuery';
|
|
14
15
|
export { getArtifactTrackerSettings, useGetArtifactTrackerSettingsQuery, } from './hooks/useGetArtifactTrackerSettingsQuery';
|
|
16
|
+
export { getChangesetFacets, useGetChangesetFacetsQuery } from './hooks/useGetChangesetFacetsQuery';
|
|
15
17
|
export { getEventsByEntityTypeAndId, useGetEventsByEntityTypeAndIdQuery, } from './hooks/useGetEventsByEntityTypeAndIdQuery';
|
|
16
18
|
export { getFreezeDetails, useGetFreezeDetailsQuery } from './hooks/useGetFreezeDetailsQuery';
|
|
17
19
|
export { getFreezeList, useGetFreezeListQuery } from './hooks/useGetFreezeListQuery';
|
|
@@ -27,7 +29,6 @@ export { getOrchestrationExecutionActivityInputs, useGetOrchestrationExecutionAc
|
|
|
27
29
|
export { getOrchestrationExecutionActivityOutputs, useGetOrchestrationExecutionActivityOutputsQuery, } from './hooks/useGetOrchestrationExecutionActivityOutputsQuery';
|
|
28
30
|
export { getOrchestrationExecutionActivityOutputsV2, useGetOrchestrationExecutionActivityOutputsV2Query, } from './hooks/useGetOrchestrationExecutionActivityOutputsV2Query';
|
|
29
31
|
export { getOrchestrationExecutionActivity, useGetOrchestrationExecutionActivityQuery, } from './hooks/useGetOrchestrationExecutionActivityQuery';
|
|
30
|
-
export { getOrchestrationExecutionPhaseInputs, useGetOrchestrationExecutionPhaseInputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseInputsQuery';
|
|
31
32
|
export { getOrchestrationExecutionPhaseOutputs, useGetOrchestrationExecutionPhaseOutputsQuery, } from './hooks/useGetOrchestrationExecutionPhaseOutputsQuery';
|
|
32
33
|
export { getOrchestrationExecutionPhaseOutputsV2, useGetOrchestrationExecutionPhaseOutputsV2Query, } from './hooks/useGetOrchestrationExecutionPhaseOutputsV2Query';
|
|
33
34
|
export { getOrchestrationExecutionPhases, useGetOrchestrationExecutionPhasesQuery, } from './hooks/useGetOrchestrationExecutionPhasesQuery';
|
|
@@ -38,8 +39,6 @@ export { getOrchestrationProcessInput, useGetOrchestrationProcessInputQuery, } f
|
|
|
38
39
|
export { getOrchestrationProcessInputSummary, useGetOrchestrationProcessInputSummaryQuery, } from './hooks/useGetOrchestrationProcessInputSummaryQuery';
|
|
39
40
|
export { getOrchestrationProcess, useGetOrchestrationProcessQuery, } from './hooks/useGetOrchestrationProcessQuery';
|
|
40
41
|
export { getOrchestrationProcessSummary, useGetOrchestrationProcessSummaryQuery, } from './hooks/useGetOrchestrationProcessSummaryQuery';
|
|
41
|
-
export { getPhaseArtifactUpdates, useGetPhaseArtifactUpdatesQuery, } from './hooks/useGetPhaseArtifactUpdatesQuery';
|
|
42
|
-
export { getPhaseRetryHistoryByIdentifiers, useGetPhaseRetryHistoryByIdentifiersQuery, } from './hooks/useGetPhaseRetryHistoryByIdentifiersQuery';
|
|
43
42
|
export { getProcessExecutionActivitiesPaginated, useGetProcessExecutionActivitiesPaginatedQuery, } from './hooks/useGetProcessExecutionActivitiesPaginatedQuery';
|
|
44
43
|
export { getProcessExecutionActivities, useGetProcessExecutionActivitiesQuery, } from './hooks/useGetProcessExecutionActivitiesQuery';
|
|
45
44
|
export { getProcessExecutionInput, useGetProcessExecutionInputQuery, } from './hooks/useGetProcessExecutionInputQuery';
|
|
@@ -64,9 +63,11 @@ export { getWebhookMetadata, useGetWebhookMetadataQuery } from './hooks/useGetWe
|
|
|
64
63
|
export { getYamlSchema, useGetYamlSchemaQuery } from './hooks/useGetYamlSchemaQuery';
|
|
65
64
|
export { ingestWebhookSignal, useIngestWebhookSignalMutation, } from './hooks/useIngestWebhookSignalMutation';
|
|
66
65
|
export { listArtifactTrackerServiceMappings, useListArtifactTrackerServiceMappingsQuery, } from './hooks/useListArtifactTrackerServiceMappingsQuery';
|
|
67
|
-
export { listArtifactTrackerServiceRefs, useListArtifactTrackerServiceRefsQuery, } from './hooks/useListArtifactTrackerServiceRefsQuery';
|
|
68
66
|
export { listArtifactTrackerSettings, useListArtifactTrackerSettingsQuery, } from './hooks/useListArtifactTrackerSettingsQuery';
|
|
69
|
-
export {
|
|
67
|
+
export { listArtifactsByService, useListArtifactsByServiceQuery, } from './hooks/useListArtifactsByServiceQuery';
|
|
68
|
+
export { listArtifacts, useListArtifactsQuery } from './hooks/useListArtifactsQuery';
|
|
69
|
+
export { listChangesetCommits, useListChangesetCommitsQuery, } from './hooks/useListChangesetCommitsQuery';
|
|
70
|
+
export { listChangesets, useListChangesetsQuery } from './hooks/useListChangesetsQuery';
|
|
70
71
|
export { listIntegrationExecutions, useListIntegrationExecutionsQuery, } from './hooks/useListIntegrationExecutionsQuery';
|
|
71
72
|
export { patchReleaseGroup, usePatchReleaseGroupMutation, } from './hooks/usePatchReleaseGroupMutation';
|
|
72
73
|
export { postActivityExecutionOutput, usePostActivityExecutionOutputMutation, } from './hooks/usePostActivityExecutionOutputMutation';
|
|
@@ -77,7 +78,6 @@ export { postOrchestrationProcessExecute, usePostOrchestrationProcessExecuteMuta
|
|
|
77
78
|
export { postOrchestrationProcessInput, usePostOrchestrationProcessInputMutation, } from './hooks/usePostOrchestrationProcessInputMutation';
|
|
78
79
|
export { postOrchestrationProcessInputValidate, usePostOrchestrationProcessInputValidateMutation, } from './hooks/usePostOrchestrationProcessInputValidateMutation';
|
|
79
80
|
export { postOrchestrationProcess, usePostOrchestrationProcessMutation, } from './hooks/usePostOrchestrationProcessMutation';
|
|
80
|
-
export { postPhaseAction, usePostPhaseActionMutation } from './hooks/usePostPhaseActionMutation';
|
|
81
81
|
export { postProcessExecutionAction, usePostProcessExecutionActionMutation, } from './hooks/usePostProcessExecutionActionMutation';
|
|
82
82
|
export { postReleaseAction, usePostReleaseActionMutation, } from './hooks/usePostReleaseActionMutation';
|
|
83
83
|
export { postReleaseAdhoc, usePostReleaseAdhocMutation } from './hooks/usePostReleaseAdhocMutation';
|
|
@@ -93,11 +93,13 @@ export { putOrchestrationProcessInput, usePutOrchestrationProcessInputMutation,
|
|
|
93
93
|
export { putOrchestrationProcess, usePutOrchestrationProcessMutation, } from './hooks/usePutOrchestrationProcessMutation';
|
|
94
94
|
export { putReleaseGroup, usePutReleaseGroupMutation } from './hooks/usePutReleaseGroupMutation';
|
|
95
95
|
export { putReleaseReleaseId, usePutReleaseReleaseIdMutation, } from './hooks/usePutReleaseReleaseIdMutation';
|
|
96
|
+
export { retryChangeset, useRetryChangesetMutation } from './hooks/useRetryChangesetMutation';
|
|
96
97
|
export { serveUpload, useServeUploadQuery } from './hooks/useServeUploadQuery';
|
|
97
98
|
export { startReleaseExecution, useStartReleaseExecutionMutation, } from './hooks/useStartReleaseExecutionMutation';
|
|
98
99
|
export { streamUpload, useStreamUploadMutation } from './hooks/useStreamUploadMutation';
|
|
99
100
|
export { triggerIntegrationExecution, useTriggerIntegrationExecutionMutation, } from './hooks/useTriggerIntegrationExecutionMutation';
|
|
100
101
|
export { updateArtifactTrackerServiceMapping, useUpdateArtifactTrackerServiceMappingMutation, } from './hooks/useUpdateArtifactTrackerServiceMappingMutation';
|
|
102
|
+
export { updateChangesetTags, useUpdateChangesetTagsMutation, } from './hooks/useUpdateChangesetTagsMutation';
|
|
101
103
|
export { updateExecutionTaskMetadata, useUpdateExecutionTaskMetadataMutation, } from './hooks/useUpdateExecutionTaskMetadataMutation';
|
|
102
104
|
export { updateExecutionTaskStatus, useUpdateExecutionTaskStatusMutation, } from './hooks/useUpdateExecutionTaskStatusMutation';
|
|
103
105
|
export { updateReleaseConflict, useUpdateReleaseConflictMutation, } from './hooks/useUpdateReleaseConflictMutation';
|
|
@@ -4,13 +4,6 @@ import type { AnyValue } from '../schemas/AnyValue';
|
|
|
4
4
|
* Input value for an activity execution
|
|
5
5
|
*/
|
|
6
6
|
export interface ActivityExecutionInputDto {
|
|
7
|
-
/**
|
|
8
|
-
* Free-form metadata bag persisted alongside the input value. release-artifact inputs use it to carry commitSha/repoName/branch/registry/artifactPath so the execution view can render them without a second lookup.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
metadata?: {
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
};
|
|
14
7
|
/**
|
|
15
8
|
* Name of the input parameter
|
|
16
9
|
*/
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface ArtifactBuildPipeline {
|
|
2
|
+
/**
|
|
3
|
+
* Branch the artifact was built from
|
|
4
|
+
*/
|
|
5
|
+
branch: string;
|
|
6
|
+
/**
|
|
7
|
+
* Execution ID of the pipeline run that produced this artifact
|
|
8
|
+
*/
|
|
9
|
+
buildPlanExecutionId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Git commit SHA that produced this artifact
|
|
12
|
+
*/
|
|
13
|
+
commitSha: string;
|
|
14
|
+
/**
|
|
15
|
+
* Org the pipeline belongs to
|
|
16
|
+
*/
|
|
17
|
+
orgId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Identifier of the pipeline that built this artifact
|
|
20
|
+
*/
|
|
21
|
+
pipelineIdentifier: string;
|
|
22
|
+
/**
|
|
23
|
+
* Project the pipeline belongs to
|
|
24
|
+
*/
|
|
25
|
+
projectId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Source repository URL or name
|
|
28
|
+
*/
|
|
29
|
+
repoName: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ArtifactVersion } from '../schemas/ArtifactVersion';
|
|
2
|
+
/**
|
|
3
|
+
* A service mapping together with its latest ingested artifact.
|
|
4
|
+
*/
|
|
5
|
+
export interface ArtifactServiceItem {
|
|
6
|
+
/**
|
|
7
|
+
* Artifact path tracked by this mapping
|
|
8
|
+
*/
|
|
9
|
+
artifactPath: string;
|
|
10
|
+
/**
|
|
11
|
+
* Registry tracked by this mapping
|
|
12
|
+
*/
|
|
13
|
+
artifactRegistry: string;
|
|
14
|
+
/**
|
|
15
|
+
* Latest artifact by createdAt for this mapping; absent when the mapping has no ingested artifacts yet
|
|
16
|
+
*/
|
|
17
|
+
latestArtifact?: ArtifactVersion;
|
|
18
|
+
/**
|
|
19
|
+
* Identifier of the service mapping
|
|
20
|
+
*/
|
|
21
|
+
serviceMappingId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Bound service reference; absent when the mapping is not yet bound to a service
|
|
24
|
+
*/
|
|
25
|
+
serviceRef?: string;
|
|
26
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GitProviderType } from '../schemas/GitProviderType';
|
|
1
2
|
export interface ArtifactTrackerServiceMapping {
|
|
2
3
|
artifactPath: string;
|
|
3
4
|
artifactRegistry?: string;
|
|
@@ -10,6 +11,7 @@ export interface ArtifactTrackerServiceMapping {
|
|
|
10
11
|
*/
|
|
11
12
|
dockerConnectorRefOverride?: string;
|
|
12
13
|
gitConnectorRefOverride?: string;
|
|
14
|
+
gitProviderTypeOverride?: GitProviderType;
|
|
13
15
|
identifier: string;
|
|
14
16
|
k8sConnectorRefOverride?: string;
|
|
15
17
|
k8sNamespaceOverride?: string;
|
|
@@ -21,4 +23,8 @@ export interface ArtifactTrackerServiceMapping {
|
|
|
21
23
|
settingsIdentifier: string;
|
|
22
24
|
ticketConnectorRefOverride?: string;
|
|
23
25
|
ticketRegexOverride?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Override the linked settings' default semantic-versioning strategy for this mapping.
|
|
28
|
+
*/
|
|
29
|
+
useSemanticVersionOverride?: boolean;
|
|
24
30
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GitProviderType } from '../schemas/GitProviderType';
|
|
1
2
|
export interface ArtifactTrackerSettings {
|
|
2
3
|
/**
|
|
3
4
|
* @format int64
|
|
@@ -8,10 +9,15 @@ export interface ArtifactTrackerSettings {
|
|
|
8
9
|
*/
|
|
9
10
|
defaultDockerConnectorRef?: string;
|
|
10
11
|
defaultGitConnectorRef?: string;
|
|
12
|
+
defaultGitProviderType?: GitProviderType;
|
|
11
13
|
defaultK8sConnectorRef?: string;
|
|
12
14
|
defaultK8sNamespace?: string;
|
|
13
15
|
defaultTicketConnectorRef?: string;
|
|
14
16
|
defaultTicketRegex?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Enable semantic-version-aware previous-artifact resolution by default for mappings linked to this settings.
|
|
19
|
+
*/
|
|
20
|
+
defaultUseSemanticVersion?: boolean;
|
|
15
21
|
identifier: string;
|
|
16
22
|
/**
|
|
17
23
|
* @format int64
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ArtifactBuildPipeline } from '../schemas/ArtifactBuildPipeline';
|
|
2
|
+
import type { ChangesetRef } from '../schemas/ChangesetRef';
|
|
3
|
+
import type { ReleaseRef } from '../schemas/ReleaseRef';
|
|
4
|
+
export interface ArtifactVersion {
|
|
5
|
+
artifactPath: string;
|
|
6
|
+
/**
|
|
7
|
+
* Pipeline build details; absent when the artifact was ingested from a non-pipeline source
|
|
8
|
+
*/
|
|
9
|
+
buildPipeline?: ArtifactBuildPipeline;
|
|
10
|
+
changesets?: ChangesetRef[];
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
14
|
+
createdAt?: number;
|
|
15
|
+
id: string;
|
|
16
|
+
registry: string;
|
|
17
|
+
releases?: ReleaseRef[];
|
|
18
|
+
serviceRef?: string;
|
|
19
|
+
tag: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface Changeset {
|
|
2
|
+
artifactPath: string;
|
|
3
|
+
commitCount?: number;
|
|
4
|
+
/**
|
|
5
|
+
* @format int64
|
|
6
|
+
*/
|
|
7
|
+
createdAt?: number;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
fromArtifactTag: string;
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* @format int64
|
|
13
|
+
*/
|
|
14
|
+
lastUpdatedAt?: number;
|
|
15
|
+
pipelineExecutionId?: string;
|
|
16
|
+
registry?: string;
|
|
17
|
+
serviceRef?: string;
|
|
18
|
+
status: 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING';
|
|
19
|
+
toArtifactTag: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ChangesetCommitTicket } from '../schemas/ChangesetCommitTicket';
|
|
2
|
+
export interface ChangesetCommit {
|
|
3
|
+
/**
|
|
4
|
+
* @format int64
|
|
5
|
+
*/
|
|
6
|
+
authorDate?: number;
|
|
7
|
+
authorEmail?: string;
|
|
8
|
+
authorName?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
12
|
+
committerDate?: number;
|
|
13
|
+
committerEmail?: string;
|
|
14
|
+
committerName?: string;
|
|
15
|
+
id: string;
|
|
16
|
+
message: string;
|
|
17
|
+
parentShas?: string[];
|
|
18
|
+
repoName?: string;
|
|
19
|
+
sha: string;
|
|
20
|
+
tickets?: ChangesetCommitTicket[];
|
|
21
|
+
url?: string;
|
|
22
|
+
}
|
package/dist/rmg-service/src/services/schemas/CreateArtifactTrackerServiceMappingRequest.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GitProviderType } from '../schemas/GitProviderType';
|
|
1
2
|
export interface CreateArtifactTrackerServiceMappingRequest {
|
|
2
3
|
artifactPath: string;
|
|
3
4
|
artifactRegistry?: string;
|
|
@@ -9,6 +10,7 @@ export interface CreateArtifactTrackerServiceMappingRequest {
|
|
|
9
10
|
* Optional override for the linked settings' default git connector. Required only when the linked settings has no defaultGitConnectorRef.
|
|
10
11
|
*/
|
|
11
12
|
gitConnectorRefOverride?: string;
|
|
13
|
+
gitProviderTypeOverride?: GitProviderType;
|
|
12
14
|
/**
|
|
13
15
|
* Optional human-readable identifier. Auto-generated from serviceRef, registry, and artifactPath if omitted.
|
|
14
16
|
*/
|
|
@@ -22,4 +24,8 @@ export interface CreateArtifactTrackerServiceMappingRequest {
|
|
|
22
24
|
settingsIdentifier: string;
|
|
23
25
|
ticketConnectorRefOverride?: string;
|
|
24
26
|
ticketRegexOverride?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Override the linked settings' default semantic-versioning strategy for this mapping.
|
|
29
|
+
*/
|
|
30
|
+
useSemanticVersionOverride?: boolean;
|
|
25
31
|
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
import type { GitProviderType } from '../schemas/GitProviderType';
|
|
1
2
|
export interface CreateArtifactTrackerSettingsRequest {
|
|
2
3
|
/**
|
|
3
4
|
* Docker/container registry connector reference.
|
|
4
5
|
*/
|
|
5
6
|
defaultDockerConnectorRef?: string;
|
|
6
7
|
defaultGitConnectorRef?: string;
|
|
8
|
+
defaultGitProviderType?: GitProviderType;
|
|
7
9
|
defaultK8sConnectorRef?: string;
|
|
8
10
|
defaultK8sNamespace?: string;
|
|
9
11
|
defaultTicketConnectorRef?: string;
|
|
10
12
|
defaultTicketRegex?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Enable semantic-version-aware previous-artifact resolution by default for mappings linked to this settings.
|
|
15
|
+
*/
|
|
16
|
+
defaultUseSemanticVersion?: boolean;
|
|
11
17
|
identifier: string;
|
|
12
18
|
/**
|
|
13
19
|
* Human-readable name for the settings.
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { OutputDataType } from '../schemas/OutputDataType';
|
|
2
1
|
import type { AnyValue } from '../schemas/AnyValue';
|
|
3
2
|
/**
|
|
4
3
|
* Output value for a phase execution
|
|
@@ -8,18 +7,10 @@ export interface ExecutionOutputDto {
|
|
|
8
7
|
* Description of the output parameter
|
|
9
8
|
*/
|
|
10
9
|
description?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Element type when type is 'list'. Absent for non-list outputs.
|
|
13
|
-
*/
|
|
14
|
-
items?: OutputDataType;
|
|
15
10
|
/**
|
|
16
11
|
* Name of the output parameter
|
|
17
12
|
*/
|
|
18
13
|
name: string;
|
|
19
|
-
/**
|
|
20
|
-
* Declared type of the output. Absent for legacy outputs (implicit string).
|
|
21
|
-
*/
|
|
22
|
-
type?: OutputDataType;
|
|
23
14
|
/**
|
|
24
15
|
* Value of the output parameter (can be string, number, boolean, object, array, etc.)
|
|
25
16
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which git provider the changeset pipeline clones from. HARNESS_CODE clones a Harness Code repository and needs no connector. THIRD_PARTY clones through the configured git connector. Defaults to THIRD_PARTY when unset.
|
|
3
|
+
*/
|
|
4
|
+
export type GitProviderType = 'HARNESS_CODE' | 'THIRD_PARTY';
|
|
@@ -7,7 +7,6 @@ import type { InfrastructureInputVariable } from '../schemas/InfrastructureInput
|
|
|
7
7
|
import type { MultiInfrastructureInputVariable } from '../schemas/MultiInfrastructureInputVariable';
|
|
8
8
|
import type { ConnectorInputVariable } from '../schemas/ConnectorInputVariable';
|
|
9
9
|
import type { ArtifactTagInputVariable } from '../schemas/ArtifactTagInputVariable';
|
|
10
|
-
|
|
11
|
-
export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable | ReleaseArtifactInputVariable) & {
|
|
10
|
+
export type InputVariable = (PrimitiveInputVariable | ServiceInputVariable | MultiServiceInputVariable | EnvironmentInputVariable | MultiEnvironmentInputVariable | InfrastructureInputVariable | MultiInfrastructureInputVariable | ConnectorInputVariable | ArtifactTagInputVariable) & {
|
|
12
11
|
[key: string]: any;
|
|
13
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Type of an input variable for parameters and process inputs.
|
|
3
3
|
*/
|
|
4
|
-
export type InputVariableType = 'artifactTag' | 'boolean' | 'connector' | 'environment' | 'infrastructure' | 'list' | 'multiEnvironment' | 'multiInfrastructure' | 'multiService' | 'number' | 'object' | '
|
|
4
|
+
export type InputVariableType = 'artifactTag' | 'boolean' | 'connector' | 'environment' | 'infrastructure' | 'list' | 'multiEnvironment' | 'multiInfrastructure' | 'multiService' | 'number' | 'object' | 'service' | 'string';
|
|
@@ -31,10 +31,6 @@ export interface OrchestrationExecutionPhase {
|
|
|
31
31
|
* Unique identifier of the phase
|
|
32
32
|
*/
|
|
33
33
|
identifier: string;
|
|
34
|
-
/**
|
|
35
|
-
* Whether the phase is configured as restartable (the `restart` key is present in the phase YAML)
|
|
36
|
-
*/
|
|
37
|
-
is_restartable?: boolean;
|
|
38
34
|
/**
|
|
39
35
|
* Name of the phase
|
|
40
36
|
*/
|
|
@@ -47,11 +43,6 @@ export interface OrchestrationExecutionPhase {
|
|
|
47
43
|
* ID of the phase execution
|
|
48
44
|
*/
|
|
49
45
|
phase_execution_id?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Retry attempt index for the phase execution (0 for the original attempt)
|
|
52
|
-
* @format int32
|
|
53
|
-
*/
|
|
54
|
-
retry_index?: number;
|
|
55
46
|
/**
|
|
56
47
|
* Start timestamp in milliseconds
|
|
57
48
|
* @format int64
|
|
@@ -33,14 +33,5 @@ export interface OrchestrationPhaseYaml {
|
|
|
33
33
|
* List of owner groups for the phase
|
|
34
34
|
*/
|
|
35
35
|
owners?: string[];
|
|
36
|
-
/**
|
|
37
|
-
* Restart configuration for the phase
|
|
38
|
-
*/
|
|
39
|
-
restart?: {
|
|
40
|
-
/**
|
|
41
|
-
* Trigger for restarting the phase. Use 'user_intervention' to pause after successful completion and wait for operator action.
|
|
42
|
-
*/
|
|
43
|
-
on?: 'user_intervention';
|
|
44
|
-
};
|
|
45
36
|
};
|
|
46
37
|
}
|
|
@@ -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' | '
|
|
4
|
+
export type OrchestrationStatus = 'ABORTED' | 'FAILED' | 'IGNORED' | 'ON_HOLD' | 'OUTPUT_WAITING' | 'PIPELINE_WAITING_FOR_USER_ACTION' | 'QUEUED' | 'RETRIED' | 'RUNNING' | 'SCHEDULED' | 'SKIPPED' | 'SUCCEEDED';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type { OutputDataType } from '../schemas/OutputDataType';
|
|
2
|
-
import type { AnyValue } from '../schemas/AnyValue';
|
|
3
1
|
/**
|
|
4
|
-
* Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and optional `
|
|
2
|
+
* Output variable definition. Accepts either a plain string (legacy format) or an object with a `value` field and an optional `description` (new format).
|
|
5
3
|
*
|
|
6
4
|
*/
|
|
7
5
|
export type OutputVariable = string | {
|
|
@@ -10,22 +8,7 @@ export type OutputVariable = string | {
|
|
|
10
8
|
*/
|
|
11
9
|
description?: string;
|
|
12
10
|
/**
|
|
13
|
-
*
|
|
11
|
+
* The output value expression.
|
|
14
12
|
*/
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Additional metadata for the output variable.
|
|
18
|
-
*/
|
|
19
|
-
metadata?: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Declared type of the output. Absent (empty) means the output has no declared type and is treated as 'string' for backward compatibility.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
type?: OutputDataType;
|
|
27
|
-
/**
|
|
28
|
-
* The output value or expression. Shape depends on the declared type.
|
|
29
|
-
*/
|
|
30
|
-
value: AnyValue;
|
|
13
|
+
value: string;
|
|
31
14
|
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { CreatedByDto } from '../schemas/CreatedByDto';
|
|
2
|
+
import type { LastUpdatedByDto } from '../schemas/LastUpdatedByDto';
|
|
1
3
|
export interface ReleaseDto {
|
|
2
4
|
/**
|
|
3
5
|
* Actual end timestamp in milliseconds
|
|
@@ -11,6 +13,11 @@ export interface ReleaseDto {
|
|
|
11
13
|
* Hex color code representing the release
|
|
12
14
|
*/
|
|
13
15
|
color: string;
|
|
16
|
+
/**
|
|
17
|
+
* Created timestamp in milliseconds
|
|
18
|
+
*/
|
|
19
|
+
createdAt?: number;
|
|
20
|
+
createdBy?: CreatedByDto;
|
|
14
21
|
/**
|
|
15
22
|
* Expected end timestamp in milliseconds
|
|
16
23
|
*/
|
|
@@ -31,6 +38,11 @@ export interface ReleaseDto {
|
|
|
31
38
|
* Identifier for the release
|
|
32
39
|
*/
|
|
33
40
|
identifier: string;
|
|
41
|
+
/**
|
|
42
|
+
* Last updated timestamp in milliseconds
|
|
43
|
+
*/
|
|
44
|
+
lastUpdatedAt?: number;
|
|
45
|
+
lastUpdatedBy?: LastUpdatedByDto;
|
|
34
46
|
/**
|
|
35
47
|
* Name of the release
|
|
36
48
|
*/
|
package/dist/rmg-service/src/services/schemas/UpdateArtifactTrackerServiceMappingRequest.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GitProviderType } from '../schemas/GitProviderType';
|
|
1
2
|
export interface UpdateArtifactTrackerServiceMappingRequest {
|
|
2
3
|
artifactPath?: string;
|
|
3
4
|
artifactRegistry?: string;
|
|
@@ -9,6 +10,7 @@ export interface UpdateArtifactTrackerServiceMappingRequest {
|
|
|
9
10
|
* Optional override for the linked settings' default git connector. Required only when the linked settings has no defaultGitConnectorRef.
|
|
10
11
|
*/
|
|
11
12
|
gitConnectorRefOverride?: string;
|
|
13
|
+
gitProviderTypeOverride?: GitProviderType;
|
|
12
14
|
k8sConnectorRefOverride?: string;
|
|
13
15
|
k8sNamespaceOverride?: string;
|
|
14
16
|
serviceRef?: string;
|
|
@@ -18,4 +20,8 @@ export interface UpdateArtifactTrackerServiceMappingRequest {
|
|
|
18
20
|
settingsIdentifier: string;
|
|
19
21
|
ticketConnectorRefOverride?: string;
|
|
20
22
|
ticketRegexOverride?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Override the linked settings' default semantic-versioning strategy for this mapping.
|
|
25
|
+
*/
|
|
26
|
+
useSemanticVersionOverride?: boolean;
|
|
21
27
|
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
import type { GitProviderType } from '../schemas/GitProviderType';
|
|
1
2
|
export interface UpsertArtifactTrackerSettingsRequest {
|
|
2
3
|
/**
|
|
3
4
|
* Docker/container registry connector reference.
|
|
4
5
|
*/
|
|
5
6
|
defaultDockerConnectorRef?: string;
|
|
6
7
|
defaultGitConnectorRef?: string;
|
|
8
|
+
defaultGitProviderType?: GitProviderType;
|
|
7
9
|
defaultK8sConnectorRef?: string;
|
|
8
10
|
defaultK8sNamespace?: string;
|
|
9
11
|
defaultTicketConnectorRef?: string;
|
|
10
12
|
defaultTicketRegex?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Enable semantic-version-aware previous-artifact resolution by default for mappings linked to this settings.
|
|
15
|
+
*/
|
|
16
|
+
defaultUseSemanticVersion?: boolean;
|
|
11
17
|
/**
|
|
12
18
|
* Human-readable name for the settings.
|
|
13
19
|
*/
|