From a275f00d110d9b897331092a0377dc3f70a903b6 Mon Sep 17 00:00:00 2001 From: shortcuts Date: Tue, 27 Aug 2024 10:43:15 +0200 Subject: [PATCH] feat(specs): push source type --- specs/ingestion/common/schemas/source.yml | 3 +-- tests/CTS/requests/ingestion/createSource.json | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/specs/ingestion/common/schemas/source.yml b/specs/ingestion/common/schemas/source.yml index 0500376227f..45ecfb5b4ba 100644 --- a/specs/ingestion/common/schemas/source.yml +++ b/specs/ingestion/common/schemas/source.yml @@ -20,7 +20,6 @@ Source: - sourceID - type - name - - input - createdAt SourceCreate: @@ -39,7 +38,6 @@ SourceCreate: required: - type - name - - input SourceCreateResponse: type: object @@ -108,6 +106,7 @@ SourceType: - json - shopify - sfcc + - push SourceCommercetools: type: object diff --git a/tests/CTS/requests/ingestion/createSource.json b/tests/CTS/requests/ingestion/createSource.json index ea01a2b94cc..ec94ead0b2c 100644 --- a/tests/CTS/requests/ingestion/createSource.json +++ b/tests/CTS/requests/ingestion/createSource.json @@ -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" + } + } } ]