Skip to content

Commit

Permalink
feat(specs): push source type (#3600)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Aug 27, 2024
1 parent c6add44 commit 23a799f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
3 changes: 1 addition & 2 deletions specs/ingestion/common/schemas/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Source:
- sourceID
- type
- name
- input
- createdAt

SourceCreate:
Expand All @@ -39,7 +38,6 @@ SourceCreate:
required:
- type
- name
- input

SourceCreateResponse:
type: object
Expand Down Expand Up @@ -108,6 +106,7 @@ SourceType:
- json
- shopify
- sfcc
- push

SourceCommercetools:
type: object
Expand Down
15 changes: 15 additions & 0 deletions tests/CTS/requests/ingestion/createSource.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,20 @@
"authenticationID": "6c02aeb1-775e-418e-870b-1faccd4b2c0f"
}
}
},
{
"testName": "push",
"parameters": {
"type": "push",
"name": "pushezpourentrer"
},
"request": {
"path": "/1/sources",
"method": "POST",
"body": {
"type": "push",
"name": "pushezpourentrer"
}
}
}
]

0 comments on commit 23a799f

Please sign in to comment.