Skip to content

Commit 39e9fbd

Browse files
committed
[DOCS] Re-adds all TESTRESPONSE
1 parent 53519f6 commit 39e9fbd

22 files changed

+22
-39
lines changed

docs/build.gradle

-21
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,17 @@ apply plugin: 'elasticsearch.docs-test'
2222
/* List of files that have snippets that will not work until platinum tests can occur ... */
2323
buildRestTests.expectedUnconvertedCandidates = [
2424
'reference/ml/transforms.asciidoc',
25-
'reference/ml/apis/close-job.asciidoc',
2625
'reference/ml/apis/delete-calendar-event.asciidoc',
27-
'reference/ml/apis/delete-calendar-job.asciidoc',
28-
'reference/ml/apis/delete-calendar.asciidoc',
29-
'reference/ml/apis/delete-datafeed.asciidoc',
30-
'reference/ml/apis/delete-filter.asciidoc',
31-
'reference/ml/apis/delete-job.asciidoc',
32-
'reference/ml/apis/delete-snapshot.asciidoc',
33-
'reference/ml/apis/flush-job.asciidoc',
3426
'reference/ml/apis/get-bucket.asciidoc',
35-
'reference/ml/apis/get-calendar.asciidoc',
3627
'reference/ml/apis/get-category.asciidoc',
37-
'reference/ml/apis/get-filter.asciidoc',
3828
'reference/ml/apis/get-influencer.asciidoc',
3929
'reference/ml/apis/get-job-stats.asciidoc',
4030
'reference/ml/apis/get-overall-buckets.asciidoc',
4131
'reference/ml/apis/get-record.asciidoc',
4232
'reference/ml/apis/get-snapshot.asciidoc',
43-
'reference/ml/apis/open-job.asciidoc',
44-
'reference/ml/apis/post-calendar-event.asciidoc',
4533
'reference/ml/apis/post-data.asciidoc',
46-
'reference/ml/apis/preview-datafeed.asciidoc',
47-
'reference/ml/apis/put-calendar-job.asciidoc',
48-
'reference/ml/apis/put-calendar.asciidoc',
49-
'reference/ml/apis/put-filter.asciidoc',
5034
'reference/ml/apis/revert-snapshot.asciidoc',
51-
'reference/ml/apis/start-datafeed.asciidoc',
52-
'reference/ml/apis/stop-datafeed.asciidoc',
53-
'reference/ml/apis/update-filter.asciidoc',
5435
'reference/ml/apis/update-snapshot.asciidoc',
55-
'reference/ml/apis/validate-detector.asciidoc',
56-
'reference/ml/apis/validate-job.asciidoc',
5736
]
5837

5938
integTestCluster {

docs/reference/ml/apis/close-job.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ When the job is closed, you receive the following results:
9090
"closed": true
9191
}
9292
----
93-
93+
// TESTRESPONSE

docs/reference/ml/apis/delete-calendar-job.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ results:
5151
"job_ids": []
5252
}
5353
----
54-
54+
// TESTRESPONSE

docs/reference/ml/apis/delete-calendar.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ When the calendar is deleted, you receive the following results:
5050
"acknowledged": true
5151
}
5252
----
53-
53+
// TESTRESPONSE

docs/reference/ml/apis/delete-datafeed.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ When the {dfeed} is deleted, you receive the following results:
5757
"acknowledged": true
5858
}
5959
----
60-
60+
// TESTRESPONSE

docs/reference/ml/apis/delete-filter.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ When the filter is deleted, you receive the following results:
5151
"acknowledged": true
5252
}
5353
----
54-
54+
// TESTRESPONSE

docs/reference/ml/apis/delete-job.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ When the job is deleted, you receive the following results:
6666
"acknowledged": true
6767
}
6868
----
69+
// TESTRESPONSE

docs/reference/ml/apis/delete-snapshot.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ When the snapshot is deleted, you receive the following results:
5353
"acknowledged": true
5454
}
5555
----
56+
// TESTRESPONSE

docs/reference/ml/apis/flush-job.asciidoc

+2-5
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,7 @@ When the operation succeeds, you receive the following results:
8585
"last_finalized_bucket_end": 1455234900000
8686
}
8787
----
88-
89-
////
90-
TESTRESPONSE[s/"last_finalized_bucket_end": 1455234900000/"last_finalized_bucket_end": $body.last_finalized_bucket_end/]
91-
////
88+
//TESTRESPONSE[s/"last_finalized_bucket_end": 1455234900000/"last_finalized_bucket_end": $body.last_finalized_bucket_end/]
9289

9390
The `last_finalized_bucket_end` provides the timestamp (in
9491
milliseconds-since-the-epoch) of the end of the last bucket that was processed.
@@ -115,4 +112,4 @@ When the operation succeeds, you receive the following results:
115112
"last_finalized_bucket_end": 1514804400000
116113
}
117114
----
118-
115+
// TESTRESPONSE

docs/reference/ml/apis/get-calendar.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ The API returns the following results:
8080
]
8181
}
8282
----
83-
83+
// TESTRESPONSE

docs/reference/ml/apis/get-filter.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ The API returns the following results:
8282
]
8383
}
8484
----
85-
85+
// TESTRESPONSE

docs/reference/ml/apis/open-job.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ When the job opens, you receive the following results:
6666
"opened": true
6767
}
6868
----
69+
// TESTRESPONSE

docs/reference/ml/apis/post-calendar-event.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The API returns the following results:
8282
]
8383
}
8484
----
85-
85+
// TESTRESPONSE
8686

8787
For more information about these properties, see
8888
<<ml-event-resource,Scheduled Event Resources>>.

docs/reference/ml/apis/preview-datafeed.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ The data that is returned for this example is as follows:
8080
}
8181
]
8282
----
83-
83+
// TESTRESPONSE

docs/reference/ml/apis/put-calendar-job.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ The API returns the following results:
5252
]
5353
}
5454
----
55-
55+
// TESTRESPONSE

docs/reference/ml/apis/put-calendar.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ When the calendar is created, you receive the following results:
5555
"job_ids": []
5656
}
5757
----
58-
58+
// TESTRESPONSE

docs/reference/ml/apis/put-filter.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ When the filter is created, you receive the following response:
6767
"items": ["*.google.com", "wikipedia.org"]
6868
}
6969
----
70-
70+
// TESTRESPONSE

docs/reference/ml/apis/start-datafeed.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,4 @@ When the {dfeed} starts, you receive the following results:
110110
"started": true
111111
}
112112
----
113+
// TESTRESPONSE

docs/reference/ml/apis/stop-datafeed.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ When the {dfeed} stops, you receive the following results:
7373
"stopped": true
7474
}
7575
----
76+
// TESTRESPONSE

docs/reference/ml/apis/update-filter.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ The API returns the following results:
6565
"items": ["*.google.com", "*.myorg.com"]
6666
}
6767
----
68-
68+
// TESTRESPONSE

docs/reference/ml/apis/validate-detector.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ When the validation completes, you receive the following results:
5454
"acknowledged": true
5555
}
5656
----
57+
// TESTRESPONSE

docs/reference/ml/apis/validate-job.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,4 @@ When the validation is complete, you receive the following results:
6565
"acknowledged": true
6666
}
6767
----
68+
// TESTRESPONSE

0 commit comments

Comments
 (0)