This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): add eventlog listing (#8381)
* Adapt font regexp path for Windows (#8375) * enh(apiv2): add event listing for hosts and services Resolves: MON-4866, MON-4867 * enh(apiv2): add event listing for hosts and services Resolves: MON-4866, MON-4867 * fix(doc): regenerate html for doc * feat(ui): Implement Resources listing (#8371) * fix(tests): update error message on unit test * Fix the search parameter 'IN' (#8380) * fix(doc): fix scrollbar issue in API documentation (#8378) * feat(build): stash git sources for Sonar analysis. * feat(ui): Implement Unified view search (#8382) * feat(build): fail build on front-end style errors. * enh(doc): update docblock in interface * fix: fix ESLint warnings * doc(api): document how to use search parameter with API (#8376) * fix(test): improve unit test SqlRequestParametersTranslatorTest::testTranslateSortParameterToSql * fix(configuration): export hosts geo_coords to remote server (#8390) * fix(ldap): use define user member_attribute var (#8287) * fix(ldap): use define user member_attribute var * fix(code): use PSR2 * feat(ui): Implement Unified view downtime and acknowledge tooltips (#8385) * fix(code): Clean switch case service monitoring (#8285) * fix(code): dedicated meta event console does not exist anymore * fix(code): scheduling queue console does not exist anymore * fix(code): merge some cases Co-authored-by: Colin Gagnaire <cgagnaire@centreon.com> * fix(remote-server): fix import with strict mode (#7944) Refs: MON-7944 * doc(api): document how to generate html api documentation (#8394) * feat(doc): update the API documentation (#8393) * feat(doc): update the API documentation Resolve MON-4887 * fix(doc): apply feedback from PR Resolve MON-4887 * fix(doc): remove again api html documentation * Update src/Centreon/Domain/Monitoring/Entity/DowntimeEventObject.php Co-Authored-By: Kevin Duret <kduret@centreon.com> * Update src/Centreon/Domain/Monitoring/Interfaces/TimelineRepositoryInterface.php Co-Authored-By: Kevin Duret <kduret@centreon.com> * Update src/Centreon/Domain/Monitoring/Interfaces/EventObjectInterface.php Co-Authored-By: Kevin Duret <kduret@centreon.com> * Update package-lock * enh(apiv2): add event listing for hosts and services Resolves: MON-4866, MON-4867 * fix(doc): regenerate html for doc * fix(tests): update error message on unit test * enh(doc): update docblock in interface * Update src/Centreon/Domain/Monitoring/Entity/DowntimeEventObject.php Co-Authored-By: Kevin Duret <kduret@centreon.com> * Update src/Centreon/Domain/Monitoring/Interfaces/TimelineRepositoryInterface.php Co-Authored-By: Kevin Duret <kduret@centreon.com> * Update src/Centreon/Domain/Monitoring/Interfaces/EventObjectInterface.php Co-Authored-By: Kevin Duret <kduret@centreon.com> * resolve conflict with html doc Co-authored-by: Tom Darneix <tomdar87@outlook.com> Co-authored-by: Bruno d'Auria <bdauria@centreon.com> Co-authored-by: Laurent Calvet <lcalvet@centreon.com> Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Matthieu Kermagoret <mkermagoret@centreon.com> Co-authored-by: Valentin Hristov <vhr@users.noreply.github.com> Co-authored-by: Colin Gagnaire <cgagnaire@centreon.com>
- Loading branch information
1 parent
a06651f
commit 2467ebd
Showing
30 changed files
with
2,962 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
config/packages/serializer/Centreon/Monitoring.Entity.AckEventObject.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Centreon\Domain\Monitoring\Entity\AckEventObject: | ||
properties: | ||
id: | ||
type: int | ||
groups: | ||
- 'ack_event_list' | ||
author: | ||
type: string | ||
groups: | ||
- 'ack_event_list' |
7 changes: 7 additions & 0 deletions
7
config/packages/serializer/Centreon/Monitoring.Entity.CommentEventObject.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Centreon\Domain\Monitoring\Entity\CommentEventObject: | ||
properties: | ||
id: | ||
type: int | ||
groups: | ||
- 'comment_event_list' | ||
- 'comment_event_full' |
10 changes: 10 additions & 0 deletions
10
config/packages/serializer/Centreon/Monitoring.Entity.DowntimeEventObject.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Centreon\Domain\Monitoring\Entity\DowntimeEventObject: | ||
properties: | ||
id: | ||
type: int | ||
groups: | ||
- 'downtime_event_list' | ||
author: | ||
type: string | ||
groups: | ||
- 'downtime_event_list' |
7 changes: 7 additions & 0 deletions
7
config/packages/serializer/Centreon/Monitoring.Entity.LogEventObject.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Centreon\Domain\Monitoring\Entity\LogEventObject: | ||
properties: | ||
id: | ||
type: int | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' |
27 changes: 27 additions & 0 deletions
27
config/packages/serializer/Centreon/Monitoring.Model.Comment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Centreon\Domain\Monitoring\Model\Comment: | ||
properties: | ||
id: | ||
type: int | ||
groups: | ||
- 'comment_event_list' | ||
- 'comment_event_full' | ||
entryTime: | ||
type: DateTime<'Y-m-d\TH:i:sP'> | ||
groups: | ||
- 'comment_event_list' | ||
- 'comment_event_full' | ||
data: | ||
type: string | ||
groups: | ||
- 'comment_event_list' | ||
- 'comment_event_full' | ||
author: | ||
type: string | ||
groups: | ||
- 'comment_event_list' | ||
- 'comment_event_full' | ||
persistent: | ||
type: int | ||
groups: | ||
- 'comment_event_list' | ||
- 'comment_event_full' |
46 changes: 46 additions & 0 deletions
46
config/packages/serializer/Centreon/Monitoring.Model.Log.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Centreon\Domain\Monitoring\Model\Log: | ||
properties: | ||
id: | ||
type: int | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' | ||
output: | ||
type: string | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' | ||
createTime: | ||
type: DateTime<'Y-m-d\TH:i:sP'> | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' | ||
status: | ||
type: string | ||
accessor: | ||
getter: getStatusText | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' | ||
type: | ||
type: string | ||
accessor: | ||
getter: getTypeText | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' | ||
retry: | ||
type: int | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' | ||
contact: | ||
type: string | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' | ||
command: | ||
type: string | ||
groups: | ||
- 'log_event_list' | ||
- 'log_event_full' |
18 changes: 18 additions & 0 deletions
18
config/packages/serializer/Centreon/Monitoring.TimelineEvent.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Centreon\Domain\Monitoring\TimelineEvent: | ||
virtual_properties: | ||
getType: | ||
serialized_name: type | ||
groups: | ||
- 'timeline_list' | ||
getId: | ||
serialized_name: id | ||
groups: | ||
- 'timeline_list' | ||
getTimestamp: | ||
serialized_name: date | ||
groups: | ||
- 'timeline_list' | ||
properties: | ||
object: | ||
groups: | ||
- 'timeline_list' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.