Icinga / icingaweb2-module-elasticsearch

This module will not be updated by Icinga anymore. Please don't attempt to use it.

Home Page:https://icinga.com/docs/elasticsearch/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[dev.icinga.com #11616] Data-protocol for the HTTP REST API

icinga-migration opened this issue · comments

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11616

Created by jmeyer on 2016-04-19 10:00:27 +00:00

Assignee: jmeyer
Status: Resolved (closed on 2016-04-22 15:25:03 +00:00)
Target Version: 1.0.0
Last Update: 2016-04-22 15:25:03 +00:00 (in Redmine)


Changesets

2016-04-19 10:00:50 +00:00 by jmeyer a643edf

Add base implementation for the REST API protocol

refs #11616

2016-04-19 13:06:12 +00:00 by jmeyer 1818641

RestApiRequest: Add utility method jsonEncode()

refs #11616

2016-04-19 13:07:51 +00:00 by jmeyer 5c566ce

Introduce abstract class DocumentApiRequest

refs #11616

2016-04-19 13:08:09 +00:00 by jmeyer 99c0d50

Introduce class GetApiRequest

refs #11616

2016-04-19 13:08:24 +00:00 by jmeyer 930e723

Introduce class IndexApiRequest

refs #11616

2016-04-19 13:08:38 +00:00 by jmeyer d7038ab

Introduce class UpdateApiRequest

refs #11616

2016-04-19 13:08:50 +00:00 by jmeyer fa9a8e0

Introduce class DeleteApiRequest

refs #11616

2016-04-19 13:09:09 +00:00 by jmeyer d7bbb8f

Introduce class SearchApiRequest

refs #11616

2016-04-19 14:39:30 +00:00 by jmeyer 51664e5

RestApiClient: Introduce method renderErrorMessage()

refs #11616

2016-04-19 14:40:10 +00:00 by jmeyer 9f378c2

RestApiClient: Implement method insert()

refs #11616

2016-04-19 14:40:31 +00:00 by jmeyer 4bad536

RestApiClient: Implement method update()

refs #11616

2016-04-20 07:25:33 +00:00 by jmeyer b4fc628

RestApiClient: Return whether a document has been created or not...

...in method insert()

refs #11616

2016-04-20 07:26:38 +00:00 by jmeyer 1677cf5

RestApiClient: Ignore the filter in method update...

...as noted in the documentation.

refs #11616

2016-04-20 07:27:40 +00:00 by jmeyer 5a8bf01

RestApiClient: Fix StatementException message

refs #11616

2016-04-20 07:28:36 +00:00 by jmeyer ab76076

RestApiClient: Properly prepare payload in method update

refs #11616

2016-04-20 07:29:24 +00:00 by jmeyer 04999ed

RestApiClient: Return the resulting document in method update

refs #11616

2016-04-20 07:30:52 +00:00 by jmeyer 5f1d35a

RestApiClient: Implement method delete

refs #11616

2016-04-20 13:49:37 +00:00 by jmeyer 552c856

RestApiClient: Fix that the host is not part of the url...

refs #11616

2016-04-20 13:50:52 +00:00 by jmeyer 6c4c4eb

Introduce class RestApiException

refs #11616

2016-04-20 13:51:30 +00:00 by jmeyer 63095c5

RestApiClient: Properly use RestApiException

refs #11616

2016-04-20 13:53:39 +00:00 by jmeyer 83c08ad

SearchApiRequest: Introduce constant ENDPOINT

refs #11616

2016-04-20 13:54:14 +00:00 by jmeyer b7b7837

Introduce class CountApiRequest

refs #11616

2016-04-20 13:54:53 +00:00 by jmeyer 4f682b0

RestApiResponse: Properly handle content types

refs #11616

2016-04-20 13:55:41 +00:00 by jmeyer bdcfc2a

RestApiRequest: Don't access $this->payload directly

The payload may be rendered lazily.

refs #11616

2016-04-20 13:57:29 +00:00 by jmeyer 02e11a9

RestApiClient: Introduce method renderFilter [WIP]

refs #11616

2016-04-20 13:58:14 +00:00 by jmeyer bd8c248

RestApiClient: Introduce method fetchPairs() [WIP]

refs #11616

2016-04-20 13:58:46 +00:00 by jmeyer 263abcc

RestApiClient: Introduce method fetchOne() [WIP]

refs #11616

2016-04-20 13:59:15 +00:00 by jmeyer fedf271

RestApiClient: Introduce method fetchColumn() [WIP]

refs #11616

2016-04-20 14:27:36 +00:00 by jmeyer 461fd73

SearchApiRequest: Don't be surprised if only a type filter is given

refs #11616

2016-04-20 14:28:45 +00:00 by jmeyer c65dda6

Introduce class RestApiQuery

refs #11616

2016-04-20 14:29:25 +00:00 by jmeyer 35213fc

RestApiClient: Fix method renderFilter()

refs #11616

2016-04-20 14:30:46 +00:00 by jmeyer 52268b0

RestApiClient: Introduce method count()

refs #11616

2016-04-20 14:32:20 +00:00 by jmeyer 7bc5528

RestApiClient: Introduce method fetchAll()

refs #11616

2016-04-20 14:32:32 +00:00 by jmeyer 45e0ccb

RestApiClient: Introduce method fetchRow()

refs #11616

2016-04-20 14:32:50 +00:00 by jmeyer 4711be5

RestApiClient: Implement method query()

refs #11616

2016-04-20 14:33:09 +00:00 by jmeyer b514d8a

RestApiClient: Implement method select()

refs #11616

2016-04-21 08:42:02 +00:00 by jmeyer a0bd1d7

RestApiClient: Small documentation fix

refs #11616

2016-04-21 09:32:26 +00:00 by jmeyer fe2ec83

DocumentApiRequest: Set attributes directly, there are not setters

refs #11616

2016-04-21 09:34:26 +00:00 by jmeyer 906d7c9

RestApiClient: Introduce method fetchDocument()

refs #11616

2016-04-21 16:24:02 +00:00 by (unknown) 2815ef9

Use FilterRenderer in RestApiClient

refs #11375
refs #11616

2016-04-21 16:29:26 +00:00 by (unknown) 6b73e10

Properly format errors in RestApiClient

Just to not fail on output currently, parsing still pending.

refs #11616

2016-04-22 10:16:50 +00:00 by (unknown) 071b0ea

Add IndicesApiRequest and MappingApiRequest

refs #11616

2016-04-22 12:12:35 +00:00 by (unknown) 77a6f07

Implement fetchColumns in RestApiClient

refs #11616

2016-04-22 12:21:37 +00:00 by (unknown) 2f3f376

Fix type list building in MappingApiRequest

refs #11616

2016-04-22 15:11:18 +00:00 by (unknown) abbfdc6

Only apply indices and types when explicitly set

refs #11616

2016-04-22 15:19:07 +00:00 by (unknown) 442e8e5

Update search template for stdClass output

refs #11616

2016-04-22 15:20:30 +00:00 by (unknown) fe3d9ea

Implement EventBackend for search

refs #11616

2016-04-22 15:20:52 +00:00 by mfrosch 3430cea

Merge branch 'feature/mapping-api-11616' into 'master'

Feature/mapping api 11616

Closes #11616

See merge request !3

2016-04-22 15:24:44 +00:00 by (unknown) c720d86

Don't return every Elasticsearch error as json

~ 1.7 will return a string as error

refs #11616

Updated by mfrosch on 2016-04-22 15:25:03 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 3430cea.