Skip to content

Commit 23a799f

Browse files
authored
feat(specs): push source type (#3600)
1 parent c6add44 commit 23a799f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

specs/ingestion/common/schemas/source.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Source:
2020
- sourceID
2121
- type
2222
- name
23-
- input
2423
- createdAt
2524

2625
SourceCreate:
@@ -39,7 +38,6 @@ SourceCreate:
3938
required:
4039
- type
4140
- name
42-
- input
4341

4442
SourceCreateResponse:
4543
type: object
@@ -108,6 +106,7 @@ SourceType:
108106
- json
109107
- shopify
110108
- sfcc
109+
- push
111110

112111
SourceCommercetools:
113112
type: object

tests/CTS/requests/ingestion/createSource.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,20 @@
3535
"authenticationID": "6c02aeb1-775e-418e-870b-1faccd4b2c0f"
3636
}
3737
}
38+
},
39+
{
40+
"testName": "push",
41+
"parameters": {
42+
"type": "push",
43+
"name": "pushezpourentrer"
44+
},
45+
"request": {
46+
"path": "/1/sources",
47+
"method": "POST",
48+
"body": {
49+
"type": "push",
50+
"name": "pushezpourentrer"
51+
}
52+
}
3853
}
3954
]

0 commit comments

Comments
 (0)