* fixing issue with doc link paths * dding ccr API endpoints to autocomplet * fixing issue with documentation links * fixing generated specs {indices} -> {index}
This commit is contained in:
parent
500da50a72
commit
09540e3e60
|
@ -67,7 +67,8 @@ module.controller('SenseController', function SenseController(Private, $scope, $
|
|||
if (endpoint
|
||||
&& endpoint.documentation
|
||||
&& endpoint.documentation.indexOf('http') !== -1) {
|
||||
$scope.documentation = endpoint.documentation.replace('master', DOC_LINK_VERSION);
|
||||
$scope.documentation = endpoint.documentation.replace('/master/', `/${DOC_LINK_VERSION}/`);
|
||||
$scope.documentation = $scope.documentation.replace('/current/', `/${DOC_LINK_VERSION}/`);
|
||||
$scope.$apply();
|
||||
} else {
|
||||
$scope.documentation = null;
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.delete_auto_follow_pattern": {
|
||||
"methods": [
|
||||
"DELETE"
|
||||
],
|
||||
"patterns": [
|
||||
"_ccr/auto_follow/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.follow": {
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"{index}/_ccr/follow"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.follow_stats": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"{index}/_ccr/stats"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"ccr.get_auto_follow_pattern": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_ccr/auto_follow",
|
||||
"_ccr/auto_follow/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.pause_follow": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{index}/_ccr/pause_follow"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.put_auto_follow_pattern": {
|
||||
"methods": [
|
||||
"PUT"
|
||||
],
|
||||
"patterns": [
|
||||
"_ccr/auto_follow/{name}"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.resume_follow": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{index}/_ccr/resume_follow"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.stats": {
|
||||
"methods": [
|
||||
"GET"
|
||||
],
|
||||
"patterns": [
|
||||
"_ccr/stats"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-stats.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"ccr.unfollow": {
|
||||
"methods": [
|
||||
"POST"
|
||||
],
|
||||
"patterns": [
|
||||
"{index}/_ccr/unfollow"
|
||||
],
|
||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"ccr.follow": {
|
||||
"data_autocomplete_rules": {
|
||||
"remote_cluster" : "",
|
||||
"leader_index" : "",
|
||||
"max_read_request_operation_count": "",
|
||||
"max_outstanding_read_requests": "",
|
||||
"max_read_request_size": "",
|
||||
"max_write_request_operation_count": "",
|
||||
"max_write_request_size": "",
|
||||
"max_outstanding_write_requests": "",
|
||||
"max_write_buffer_count": "",
|
||||
"max_write_buffer_size": "",
|
||||
"max_retry_delay": "",
|
||||
"read_poll_timeout": ""
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"ccr.put_auto_follow_pattern": {
|
||||
"data_autocomplete_rules": {
|
||||
"remote_cluster" : "",
|
||||
"leader_index_patterns" : "",
|
||||
"follow_index_pattern" : "",
|
||||
"max_read_request_operation_count": "",
|
||||
"max_outstanding_read_requests": "",
|
||||
"max_read_request_size": "",
|
||||
"max_write_request_operation_count": "",
|
||||
"max_write_request_size": "",
|
||||
"max_outstanding_write_requests": "",
|
||||
"max_write_buffer_count": "",
|
||||
"max_write_buffer_size": "",
|
||||
"max_retry_delay": "",
|
||||
"read_poll_timeout": ""
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"ccr.resume_follow": {
|
||||
"data_autocomplete_rules": {
|
||||
"max_read_request_operation_count": "",
|
||||
"max_outstanding_read_requests": "",
|
||||
"max_read_request_size": "",
|
||||
"max_write_request_operation_count": "",
|
||||
"max_write_request_size": "",
|
||||
"max_outstanding_write_requests": "",
|
||||
"max_write_buffer_count": "",
|
||||
"max_write_buffer_size": "",
|
||||
"max_retry_delay": "",
|
||||
"read_poll_timeout": ""
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue