Skip to content

Commit

Permalink
[DOCS] Re-adds TESTRESPONSE values
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Aug 31, 2018
1 parent 070f85a commit 53519f6
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
8 changes: 0 additions & 8 deletions docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,11 @@ buildRestTests.expectedUnconvertedCandidates = [
'reference/ml/apis/delete-snapshot.asciidoc',
'reference/ml/apis/flush-job.asciidoc',
'reference/ml/apis/get-bucket.asciidoc',
'reference/ml/apis/get-calendar-event.asciidoc',
'reference/ml/apis/get-calendar.asciidoc',
'reference/ml/apis/get-category.asciidoc',
'reference/ml/apis/get-datafeed-stats.asciidoc',
'reference/ml/apis/get-datafeed.asciidoc',
'reference/ml/apis/get-filter.asciidoc',
'reference/ml/apis/get-influencer.asciidoc',
'reference/ml/apis/get-job-stats.asciidoc',
'reference/ml/apis/get-job.asciidoc',
'reference/ml/apis/get-overall-buckets.asciidoc',
'reference/ml/apis/get-record.asciidoc',
'reference/ml/apis/get-snapshot.asciidoc',
Expand All @@ -50,15 +46,11 @@ buildRestTests.expectedUnconvertedCandidates = [
'reference/ml/apis/preview-datafeed.asciidoc',
'reference/ml/apis/put-calendar-job.asciidoc',
'reference/ml/apis/put-calendar.asciidoc',
'reference/ml/apis/put-datafeed.asciidoc',
'reference/ml/apis/put-filter.asciidoc',
'reference/ml/apis/put-job.asciidoc',
'reference/ml/apis/revert-snapshot.asciidoc',
'reference/ml/apis/start-datafeed.asciidoc',
'reference/ml/apis/stop-datafeed.asciidoc',
'reference/ml/apis/update-datafeed.asciidoc',
'reference/ml/apis/update-filter.asciidoc',
'reference/ml/apis/update-job.asciidoc',
'reference/ml/apis/update-snapshot.asciidoc',
'reference/ml/apis/validate-detector.asciidoc',
'reference/ml/apis/validate-job.asciidoc',
Expand Down
4 changes: 3 additions & 1 deletion docs/reference/ml/apis/get-calendar-event.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ The API returns the following results:
]
}
----

// TESTRESPONSE[s/LS8LJGEBMTCMA-qz49st/$body.$_path/]
// TESTRESPONSE[s/Li8LJGEBMTCMA-qz49st/$body.$_path/]
// TESTRESPONSE[s/Ly8LJGEBMTCMA-qz49st/$body.$_path/]

For more information about these properties, see <<ml-event-resource>>.
5 changes: 5 additions & 0 deletions docs/reference/ml/apis/get-datafeed-stats.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,8 @@ The API returns the following results:
]
}
----
// TESTRESPONSE[s/"2spCyo1pRi2Ajo-j-_dnPX"/$body.$_path/]
// TESTRESPONSE[s/"node-0"/$body.$_path/]
// TESTRESPONSE[s/"hoXMLZB0RWKfR9UPPUCxXX"/$body.$_path/]
// TESTRESPONSE[s/"127.0.0.1:9300"/$body.$_path/]
// TESTRESPONSE[s/"17179869184"/$body.datafeeds.0.node.attributes.ml\\.machine_memory/]
1 change: 1 addition & 0 deletions docs/reference/ml/apis/get-datafeed.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ The API returns the following results:
]
}
----
// TESTRESPONSE[s/"query.boost": "1.0"/"query.boost": $body.query.boost/]
2 changes: 2 additions & 0 deletions docs/reference/ml/apis/get-job.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@ The API returns the following results:
]
}
----
// TESTRESPONSE[s/"7.0.0-alpha1"/$body.$_path/]
// TESTRESPONSE[s/1517011406091/$body.$_path/]
2 changes: 2 additions & 0 deletions docs/reference/ml/apis/put-datafeed.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,5 @@ When the {dfeed} is created, you receive the following results:
}
}
----
// TESTRESPONSE[s/"query_delay": "83474ms"/"query_delay": $body.query_delay/]
// TESTRESPONSE[s/"query.boost": "1.0"/"query.boost": $body.query.boost/]
2 changes: 2 additions & 0 deletions docs/reference/ml/apis/put-job.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,5 @@ When the job is created, you receive the following results:
"results_index_name": "shared"
}
----
// TESTRESPONSE[s/"job_version": "7.0.0-alpha1"/"job_version": $body.job_version/]
// TESTRESPONSE[s/"create_time": 1517011406091/"create_time": $body.create_time/]
1 change: 1 addition & 0 deletions docs/reference/ml/apis/update-datafeed.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@ with the updated values:
}
}
----
// TESTRESPONSE[s/"query.boost": "1.0"/"query.boost": $body.query.boost/]
2 changes: 2 additions & 0 deletions docs/reference/ml/apis/update-job.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,5 @@ information, including the updated property values. For example:
"results_index_name": "shared"
}
----
// TESTRESPONSE[s/"job_version": "7.0.0-alpha1"/"job_version": $body.job_version/]
// TESTRESPONSE[s/"create_time": 1518808660505/"create_time": $body.create_time/]

0 comments on commit 53519f6

Please sign in to comment.