Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
17e73ab
chore: add abort api key
roicohen326 Jan 15, 2026
ef0480b
fix: correct Job Manager abort endpoint from /jobs/{id}/abort to /tas…
roicohen326 Jan 18, 2026
737b724
fix: address PR comments for abort API
roicohen326 Jan 20, 2026
3290585
refactor: simplify error handling and improve abort validation logic
roicohen326 Jan 20, 2026
d0f99fb
chore: fixed bad request end point
roicohen326 Jan 21, 2026
a3a10de
fix: remove unsupported chartDirs parameter from workflow
roicohen326 Jan 21, 2026
69caf68
style: fix prettier formatting
roicohen326 Jan 26, 2026
95461c8
chore: comment out unsupported chartDirs parameter
roicohen326 Jan 27, 2026
100b277
fix: import IngestionOperation as value, not type
roicohen326 Jan 27, 2026
b5231cc
fix: remove unused BadRequestError import and restore chartDirs
roicohen326 Jan 27, 2026
fe85cea
fix: remove chartDirs parameter - not supported in shared workflow v5
roicohen326 Jan 27, 2026
e2ce0de
chore: revert with chartDirs for test
CL-SHLOMIKONCHA Jan 27, 2026
adef95e
chore: removed chartDirs from pull_request workflow
CL-SHLOMIKONCHA Jan 27, 2026
168593a
feat: abort deployment tests (MAPCO-8328) (#60)
roicohen326 Feb 5, 2026
d99b30b
fix: move abort log before abortJob call and update message
roicohen326 Feb 5, 2026
9d80f76
Merge branch 'alpha' of https://github.com/MapColonies/ingestion-trig…
roicohen326 Feb 5, 2026
efc713e
fix: remove unnecessary blank line in IngestionManager class
roicohen326 Feb 5, 2026
3e6d475
Fix formatting in pull_request.yaml
roicohen326 Feb 5, 2026
13fbe59
fix: abort api description
CL-SHLOMIKONCHA Feb 8, 2026
db717a2
fix: error code description
CL-SHLOMIKONCHA Feb 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ jobs:
pull_request:
uses: MapColonies/shared-workflows/.github/workflows/pull_request.yaml@v5
secrets: inherit
with:
chartDirs: 'helm'

1 change: 1 addition & 0 deletions config/custom-environment-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"jobDomain": "JOB_DOMAIN",
"ingestionNewJobType": "INGESTION_NEW_JOB_TYPE",
"validationTaskType": "VALIDATION_TASK_TYPE",
"finalizeTaskType": "FINALIZE_TASK_TYPE",
"ingestionUpdateJobType": "INGESTION_UPDATE_JOB_TYPE",
"ingestionSwapUpdateJobType": "INGESTION_SWAP_UPDATE_JOB_TYPE",
"supportedIngestionSwapTypes": {
Expand Down
1 change: 1 addition & 0 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"ingestionUpdateJobType": "Ingestion_Update",
"ingestionSwapUpdateJobType": "Ingestion_Swap_Update",
"validationTaskType": "validation",
"finalizeTaskType": "finalize",
"supportedIngestionSwapTypes": [
{
"productType": "RasterVectorBest",
Expand Down
1 change: 1 addition & 0 deletions helm/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ data:
INGESTION_UPDATE_JOB_TYPE: {{ $jobDefinitions.jobs.update.type | quote }}
INGESTION_SWAP_UPDATE_JOB_TYPE: {{ $jobDefinitions.jobs.swapUpdate.type | quote }}
VALIDATION_TASK_TYPE: {{ $jobDefinitions.tasks.validation.type | quote }}
FINALIZE_TASK_TYPE: {{ $jobDefinitions.tasks.finalize.type | quote }}
CRS: {{ .Values.env.validationValuesByInfo.crs | toJson | quote}}
FILE_FORMAT: {{ .Values.env.validationValuesByInfo.fileFormat | toJson | quote}}
TILE_SIZE: {{ .Values.env.validationValuesByInfo.tileSize | quote}}
Expand Down
2 changes: 2 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobDefinitions:
tasks:
validation:
type: ""
finalize:
type: ""

storage:
fs:
Expand Down
72 changes: 67 additions & 5 deletions openapi3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ paths:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
'500':
description: Server error
description: Internal Server Error
content:
application/json:
schema:
Expand Down Expand Up @@ -111,7 +111,7 @@ paths:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
'500':
description: Invalid request
description: Internal Server Error
content:
application/json:
schema:
Expand Down Expand Up @@ -157,8 +157,69 @@ paths:
schema:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
'422':
description: Unprocessable Content
content:
application/json:
schema:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
'500':
description: Internal Server error
description: Internal Server Error
content:
application/json:
schema:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
/ingestion/{jobId}/abort:
put:
operationId: abortIngestion
tags:
- ingestion
summary: abort an active ingestion job
description: >-
Aborts an ingestion job that is currently active or pending, preventing any further processing.
parameters:
- name: jobId
in: path
description: The id of the job to abort
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK - Job aborted successfully
'400':
description: Bad request - Job status does not allow abort (COMPLETED or ABORTED)
content:
application/json:
schema:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
'404':
description: Not Found - Job does not exist
content:
application/json:
schema:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
'409':
description: Conflict - Unable to abort job due to current state (e.g., already completed or in finalization)
content:
application/json:
schema:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
'422':
description: Unprocessable Content
content:
application/json:
schema:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage
'500':
description: Internal Server Error
content:
application/json:
schema:
Expand Down Expand Up @@ -188,7 +249,7 @@ paths:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/validateSourcesResponse
'400':
description: Invalid request
description: Bad Request
content:
application/json:
schema:
Expand Down Expand Up @@ -230,7 +291,7 @@ paths:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/sourcesInfoResponse
'400':
description: Invalid request
description: Bad Request
content:
application/json:
schema:
Expand All @@ -257,6 +318,7 @@ paths:
schema:
$ref: >-
./Schema/ingestionTrigger/responses/ingestionTriggerResponses.yaml#/components/schemas/errorMessage

components:
schemas:
CallbackUrls:
Expand Down
Loading