File tree Expand file tree Collapse file tree 5 files changed +84
-0
lines changed
tests/CTS/methods/requests/ingestion Expand file tree Collapse file tree 5 files changed +84
-0
lines changed Original file line number Diff line number Diff line change @@ -349,3 +349,7 @@ SourceUpdateInput:
349
349
- $ref : ' #/SourceCSV'
350
350
- $ref : ' #/SourceBigQuery'
351
351
- $ref : ' #/SourceUpdateDocker'
352
+
353
+ DockerSourceStream :
354
+ type : object
355
+ description : A stream definition (see Singer specification for details).
Original file line number Diff line number Diff line change
1
+ get :
2
+ tags :
3
+ - sources
4
+ summary : Retrieve a stream listing.
5
+ description : Retrieve a stream listing for a given Singer specification compatible docker type source ID.
6
+ operationId : getDockerSourceStreams
7
+ parameters :
8
+ - $ref : ' ../../common/parameters.yml#/pathSourceID'
9
+ responses :
10
+ ' 200 ' :
11
+ description : OK
12
+ content :
13
+ application/json :
14
+ schema :
15
+ title : dockerSourceStreams
16
+ type : object
17
+ additionalProperties : false
18
+ properties :
19
+ streams :
20
+ type : array
21
+ items :
22
+ $ref : ' ../../common/schemas/source.yml#/DockerSourceStream'
23
+ required :
24
+ - streams
25
+ ' 400 ' :
26
+ $ref : ' ../../../common/responses/BadRequest.yml'
27
+
28
+ post :
29
+ tags :
30
+ - sources
31
+ summary : Trigger a stream listing request.
32
+ description : Trigger a stream listing request for a Singer specification compatible docker type source.
33
+ operationId : triggerDockerSourceDiscover
34
+ parameters :
35
+ - $ref : ' ../../common/parameters.yml#/pathSourceID'
36
+ responses :
37
+ ' 200 ' :
38
+ description : OK
39
+ content :
40
+ application/json :
41
+ schema :
42
+ title : dockerSourceDiscover
43
+ type : object
44
+ additionalProperties : false
45
+ properties :
46
+ runID :
47
+ $ref : ' ../../common/schemas/common.yml#/runID'
48
+ createdAt :
49
+ $ref : ' ../../common/schemas/common.yml#/createdAt'
50
+ required :
51
+ - runID
52
+ - createdAt
53
+ ' 400 ' :
54
+ $ref : ' ../../../common/responses/BadRequest.yml'
Original file line number Diff line number Diff line change 66
66
$ref : ' paths/sources/searchSources.yml'
67
67
/1/sources/{sourceID} :
68
68
$ref : ' paths/sources/sourceID.yml'
69
+ /1/sources/{sourceID}/discover :
70
+ $ref : ' paths/sources/discover.yml'
69
71
70
72
# tasks API.
71
73
/1/tasks :
Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "testName" : " getDockerSourceStreams" ,
4
+ "parameters" : {
5
+ "sourceID" : " 6c02aeb1-775e-418e-870b-1faccd4b2c0f"
6
+ },
7
+ "request" : {
8
+ "path" : " /1/sources/6c02aeb1-775e-418e-870b-1faccd4b2c0f/discover" ,
9
+ "method" : " GET"
10
+ }
11
+ }
12
+ ]
Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "testName" : " triggerDockerSourceDiscover" ,
4
+ "parameters" : {
5
+ "sourceID" : " 6c02aeb1-775e-418e-870b-1faccd4b2c0f"
6
+ },
7
+ "request" : {
8
+ "path" : " /1/sources/6c02aeb1-775e-418e-870b-1faccd4b2c0f/discover" ,
9
+ "method" : " POST"
10
+ }
11
+ }
12
+ ]
You can’t perform that action at this time.
0 commit comments