-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge in repository classes from osints/dev #552
Merged
Merged
Conversation
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
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Swiddis
requested review from
pjfitzgibbons,
ps48,
kavithacm,
derek-ho,
joshuali925,
dai-chen,
YANG-DB,
rupal-bq,
mengweieric,
vamsi-amazon,
penghuo,
seankao-az,
anirudha and
TackAdam
as code owners
June 19, 2023 21:45
Codecov Report
@@ Coverage Diff @@
## main #552 +/- ##
==========================================
+ Coverage 42.79% 43.12% +0.32%
==========================================
Files 300 303 +3
Lines 17868 18008 +140
Branches 4363 4386 +23
==========================================
+ Hits 7647 7766 +119
- Misses 10180 10201 +21
Partials 41 41
Flags with carried forward coverage won't be shown. Click here to find out more. |
derek-ho
reviewed
Jun 20, 2023
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
6 tasks
derek-ho
approved these changes
Jun 22, 2023
YANG-DB
approved these changes
Jun 22, 2023
6 tasks
mengweieric
added a commit
to mengweieric/dashboards-observability
that referenced
this pull request
Jul 5, 2023
* added new license * Fix release notes links (#62) Signed-off-by: Joshua Li <joshuali925@gmail.com> * added sidebar & home page * code clean up * Feature/visualization (#83) * resloved conflicts for rebasing * added overall layout and render fields * added two types of charts * added config panel for vis * removed unused files and for a quick demo * add intial redux setup * added initial reducer * refactorings for redux * minor code cleanup * adjusted chart styling, added timespan selector * added timestamp flag and checking for charts * fixed sidebar field icon issue * code cleanup * license and minor changes * changes for code review * removed few comments * Feature/observability custom panels (#87) * initial commit adding custom operational panels * added dummy router and moved common/constants * fix breadcrumbs and Link in panel view * removed unnecessary headers and fixed new panel redirect * fixing headers * changed variable type, moved name validator in utilities & formatted document * removed old operational panels page * Feature/visualization (#88) * resloved conflicts for rebasing * added overall layout and render fields * added two types of charts * added config panel for vis * removed unused files and for a quick demo * add intial redux setup * added initial reducer * refactorings for redux * minor code cleanup * adjusted chart styling, added timespan selector * added timestamp flag and checking for charts * fixed sidebar field icon issue * code cleanup * license and minor changes * changes for code review * removed few comments * bar/line visualization * count distribution changes * added save popover * event explorer home * minor changes * added types and removed comments * Feature query regex (#94) * added regex to get index * file renaming to unify naming converntions * file renaming * a minor refactoring * regex changes * minor fix for regex * Move documents and repo setups Signed-off-by: Joshua Li <joshuali925@gmail.com> * Remove manual sidenav index Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add placeholders pages for trace analytics Signed-off-by: Joshua Li <joshuali925@gmail.com> * Move TA to subdirectory Signed-off-by: Joshua Li <joshuali925@gmail.com> * Move TA to subdirectory Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update maintainers Signed-off-by: Joshua Li <joshuali925@gmail.com> * Disable workflows Signed-off-by: Joshua Li <joshuali925@gmail.com> * Set up repo to prepare merging trace analytics (#97) * Move observability to trace analytics position in dashboards side nav Signed-off-by: Joshua Li <joshuali925@gmail.com> * Organize trace analytics project structure Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature/custom panel add viz (#98) * added new visualization window * added react-grid-layout, plotly and UI changes * merged plotly & react-grid-layout component, added popover for viz, added sample panels * added PPL service * added new visualization module, changed name to Ops panels * changed name to operational panels * moved custom panels inside panels Home route * adding rename and delete functions in panel view * changed back the ppl endpoint * added new visualization window * added react-grid-layout, plotly and UI changes * merged plotly & react-grid-layout component, added popover for viz, added sample panels * added PPL service * added new visualization module, changed name to Ops panels * changed name to operational panels * moved custom panels inside panels Home route * adding rename and delete functions in panel view * changed back the ppl endpoint * saved visualization layout states & replaced data with ppl query * added time filter and code cleanup * moved constants->shared commmons, ontimechange()->utils and resolved comments * resued Plot component and renamed popOver variables * reverted the react-grid-layout dependency version * removed dependency react-grid-layout * Migrate trace analytics components to observability Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix corner cases for side nav when finding selected id (#101) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Refactor constants and remove unused trace analytics components Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature/field search and sorting (#103) * left align th text * fixed row detail expanding issue * add fields sorting * added more types and few changes * Add security support and auto dump test data for cypress (#104) * Bump version for opensearch 1.1.0 release (#105) * Update UT and IT for trace analytics Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update CI workflow file for observability Signed-off-by: Joshua Li <joshuali925@gmail.com> * Added ppl query filter, added router placeholder for panels (#108) * added actions menu items duplicate, remove * added license to forms, added support for ppl filter query * changed common constants * added router placeholders, added panel opensearch API calls * commnt fixes * header fix * Added Algolia Autocomplete Bar (#110) * Implemented drop-down autocomplete using EuiSuggest * Addressed comments in PR Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Query bar slows down after request Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Query bar slows down after request Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Implemented suggestions based on previous inputs, (pipes, available indices after source) Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Changed str to const Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Improved grammar and accounted for no spaces between pipes/= Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Fixed issue where query[RAW_QUERY] was undefined which caused Event Analytics page to crash Signed-off-by: Sean Li <lnse@88665a2fa6f9.ant.amazon.com> * Implemented drop-down autocomplete using EuiSuggest * Addressed comments in PR Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Query bar slows down after request Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Query bar slows down after request Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Implemented suggestions based on previous inputs, (pipes, available indices after source) Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Changed str to const Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Improved grammar and accounted for no spaces between pipes/= Signed-off-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Fixed issue where query[RAW_QUERY] was undefined which caused Event Analytics page to crash Signed-off-by: Sean Li <lnse@88665a2fa6f9.ant.amazon.com> * For debugging Signed-off-by: Sean Li <lnse@88665a2fa6f9.ant.amazon.com> * Changed to algolia autocomplete Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding package.json Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Fix query disappearing on enter Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Removing old files Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Adding license Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Adding license Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Added stats commands Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Switched to Algolia autocomplete, cleaned up styling Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Updated fields comma loop Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Removing redundant file, addressing CR Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Fixing directory name typo Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding changed files for DSL endpoint Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * DSL plugin added Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * fixing conflicts Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * fixing conflicts Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding files Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * progress on DSL endpoint Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * incorporating backend endpoints Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * backend implemented Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding changes Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * checking console Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * handleQueryChange() fixed Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * forgot this one conflicts Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * switched to using plugin for autocomplete logic Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * fixed issue with where pipe command Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * Some refactoring and formatting Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * addressing issues, cleaning up code Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * change to snake_case Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> * adding comments Signed-off-by: sejli <lnse@88665a2fa6f9.ant.amazon.com> Co-authored-by: Li <lnse@88665a2fa6f9.ant.amazon.com> * Merge notebooks frontend to observability (#109) * Adding plugin backend adaptor (#126) * adding plugin backed adaptor * resolved comments and beautification * Update notebooks to use observability backend (#129) * Event Analytics - Add index picker to explorer page (#125) * Add index picker to explorer page * Update explorer.tsx * Feature/operational panels backend (#130) * added panel router, viz router and panel types * removed let->const * minor fix * replaced console log->error, removed index_not_found error check * Feature/p1 release (#133) * removed live button Signed-off-by: Eric Wei <menwe@amazon.com> * refresh button Signed-off-by: Eric Wei <menwe@amazon.com> * removed live button from home Signed-off-by: Eric Wei <menwe@amazon.com> * xaxis range selectable Signed-off-by: Eric Wei <menwe@amazon.com> * added new charts Signed-off-by: Eric Wei <menwe@amazon.com> * added sidebar to vis, hided vis setting panel Signed-off-by: Eric Wei <menwe@amazon.com> * fixed a bar issue Signed-off-by: Eric Wei <menwe@amazon.com> * modified run/refresh button Signed-off-by: Eric Wei <menwe@amazon.com> * hided surrounding docs Signed-off-by: Eric Wei <menwe@amazon.com> * disabled insights Signed-off-by: Eric Wei <menwe@amazon.com> * disable reset button and remove s/ms options Signed-off-by: Eric Wei <menwe@amazon.com> * breadcrumb/route changes Signed-off-by: Eric Wei <menwe@amazon.com> * add date range to query & added runtime fields Signed-off-by: Eric Wei <menwe@amazon.com> * disabled toggle button for queried fields Signed-off-by: Eric Wei <menwe@amazon.com> * modified text Signed-off-by: Eric Wei <menwe@amazon.com> * added couple of configs to autocomplete * added saved objects and few bug fixes Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused reference/files, modified few loggings Signed-off-by: Eric Wei <menwe@amazon.com> * removed missed comments/usused code, fixed one sidebar issue Signed-off-by: Eric Wei <menwe@amazon.com> * modified files for code review Signed-off-by: Eric Wei <menwe@amazon.com> * Feature/operational panel UI (#132) * modified panels home, table and view * added new panel modules * moved modules to folders with css * css edits and removed time regex check * removed time and fields regex checks * minor doc changes * adding visualization charts * added delete panelList functionality * edited delete custom panel function, beautified * changed console log to error * removed time/fields regex * removed length check, combined optionalArgs in custom modal, prettier fix * Bump prismjs from 1.24.1 to 1.25.0 (#137) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump immer from 9.0.5 to 9.0.6 (#136) Bumps [immer](https://github.com/immerjs/immer) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/immerjs/immer/releases) - [Commits](https://github.com/immerjs/immer/compare/v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: immer dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Redirect legacy notebooks URL to current observability one (#141) * Move observability frontend to a sub directory (#142) * Add minimal plugin for backend observability (#143) * Add models for objects and requests (#144) * Add CRUD actions and index operations for observability objects (#145) * Update data modal and enable CI (#148) * Panels' visualization design change (#149) * modified common files * modified UI components * modified panel adaptor and router * moved loading to post http call * fixed prettier quotes * Feature timestamp (#152) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * adding cancel button for edit & panel actions (#153) * Feature toasts errors handling (#155) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * added toasts Signed-off-by: Eric Wei <menwe@amazon.com> * resolved build failure Signed-off-by: Eric Wei <menwe@amazon.com> * couple of error handling changes Signed-off-by: Eric Wei <menwe@amazon.com> * added types Signed-off-by: Eric Wei <menwe@amazon.com> * Autocomplete only displays current command (#157) * Only show current command in suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove console logs Signed-off by: Eugene Lee <eugenesk@amazon.com> * Only display suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Removed commas Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove import Signed-off by: Eugene Lee <eugenesk@amazon.com> * changed to support query without 'search' prefix (#158) Signed-off-by: Eric Wei <menwe@amazon.com> * Remove app analytics (#154) * removing app analytics from sidenav * removed unused headers * added trace analytics as default page * Use JS API to redirect legacy notebooks URL (#162) * Panels bug fix#1 (#159) * fixed UI bugs #1 * folder name typo fix * changes for adopting new sql artifact (#165) * changes for adopting new sql artifact Signed-off-by: Eric Wei <menwe@amazon.com> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> * Improve reindex handling for .opensearch-notebooks (#163) * inherited datepicker format from settings (#164) * Feature query bar (#166) * refactorings to integrate textarea * few improvements Signed-off-by: Eric Wei <menwe@amazon.com> * refactorings to integrate textarea * few improvements Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused dependencies and types Signed-off-by: Eric Wei <menwe@amazon.com> * Feature bug fixes (#168) * removed editable title and displaybar Signed-off-by: Eric Wei <menwe@amazon.com> * count distribution number Signed-off-by: Eric Wei <menwe@amazon.com> * Home table (#169) * Create history_table.tsx * Update history_table.tsx * Update home.tsx * Update history_table.tsx * Update history_table.tsx * Update home.tsx * Update home.tsx * Delete home.tsx * merge (#3) * Bump prismjs from 1.24.1 to 1.25.0 (#137) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump immer from 9.0.5 to 9.0.6 (#136) Bumps [immer](https://github.com/immerjs/immer) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/immerjs/immer/releases) - [Commits](https://github.com/immerjs/immer/compare/v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: immer dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Redirect legacy notebooks URL to current observability one (#141) * Move observability frontend to a sub directory (#142) * Add minimal plugin for backend observability (#143) * Add models for objects and requests (#144) * Add CRUD actions and index operations for observability objects (#145) * Update data modal and enable CI (#148) * Panels' visualization design change (#149) * modified common files * modified UI components * modified panel adaptor and router * moved loading to post http call * fixed prettier quotes * Feature timestamp (#152) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * adding cancel button for edit & panel actions (#153) * Feature toasts errors handling (#155) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * added toasts Signed-off-by: Eric Wei <menwe@amazon.com> * resolved build failure Signed-off-by: Eric Wei <menwe@amazon.com> * couple of error handling changes Signed-off-by: Eric Wei <menwe@amazon.com> * added types Signed-off-by: Eric Wei <menwe@amazon.com> * Autocomplete only displays current command (#157) * Only show current command in suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove console logs Signed-off by: Eugene Lee <eugenesk@amazon.com> * Only display suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Removed commas Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove import Signed-off by: Eugene Lee <eugenesk@amazon.com> * changed to support query without 'search' prefix (#158) Signed-off-by: Eric Wei <menwe@amazon.com> * Remove app analytics (#154) * removing app analytics from sidenav * removed unused headers * added trace analytics as default page * Use JS API to redirect legacy notebooks URL (#162) * Panels bug fix#1 (#159) * fixed UI bugs #1 * folder name typo fix * changes for adopting new sql artifact (#165) * changes for adopting new sql artifact Signed-off-by: Eric Wei <menwe@amazon.com> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> * Improve reindex handling for .opensearch-notebooks (#163) * inherited datepicker format from settings (#164) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Shenoy Pratik <pshenoy36@gmail.com> Co-authored-by: Eric Wei <80358241+mengweieric@users.noreply.github.com> Co-authored-by: eugenesk24 <92330893+eugenesk24@users.noreply.github.com> * Create history_table.tsx * Update home.tsx * Update home.tsx * Delete history_table.tsx * Update history_table.tsx * Update history_table.tsx * Update home.tsx * Update history_table.tsx * Update history_table.tsx Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Shenoy Pratik <pshenoy36@gmail.com> Co-authored-by: Eric Wei <80358241+mengweieric@users.noreply.github.com> Co-authored-by: eugenesk24 <92330893+eugenesk24@users.noreply.github.com> * Panels bug fix2 (#170) * fixed import bug and datepicker width * added refresh panel button & removed flyout preview button * changed maxitems for home page * fixing styling and margin * add new vizualization bug fix * Feature vis fix override button (#172) * add toast for no visualization to save Signed-off-by: Eric Wei <menwe@amazon.com> * added loading/disable for timestamp button and one related fix Signed-off-by: Eric Wei <menwe@amazon.com> * replaced override button with icon Signed-off-by: Eric Wei <menwe@amazon.com> * adjusted override icon Signed-off-by: Eric Wei <menwe@amazon.com> * Visualizations theming (#171) * added basic theming * added dark theme layout, unicolor mode for bar chart * changed plotly paper to match panel color * timestamp fix (#175) Signed-off-by: Eric Wei <menwe@amazon.com> * added find auto interval (#167) * added find auto interval * changed console.log to error Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * merge conflict resoled Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add integration tests for observability backend plugin (#180) * added refresh datepicker button (#182) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Field suggestions update for changed index in query (#176) The fields are updated after the first retrieval if the index selection changes. Signed-off by: Eugene Lee <eugenesk@amazon.com> * adding colorsv2 (#181) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Home table update (#174) * Create history_table.tsx * Update history_table.tsx * Update home.tsx * Update history_table.tsx * Update history_table.tsx * Update home.tsx * Update home.tsx * Delete home.tsx * merge (#3) * Bump prismjs from 1.24.1 to 1.25.0 (#137) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump immer from 9.0.5 to 9.0.6 (#136) Bumps [immer](https://github.com/immerjs/immer) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/immerjs/immer/releases) - [Commits](https://github.com/immerjs/immer/compare/v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: immer dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Redirect legacy notebooks URL to current observability one (#141) * Move observability frontend to a sub directory (#142) * Add minimal plugin for backend observability (#143) * Add models for objects and requests (#144) * Add CRUD actions and index operations for observability objects (#145) * Update data modal and enable CI (#148) * Panels' visualization design change (#149) * modified common files * modified UI components * modified panel adaptor and router * moved loading to post http call * fixed prettier quotes * Feature timestamp (#152) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * adding cancel button for edit & panel actions (#153) * Feature toasts errors handling (#155) * timestamp related changes Signed-off-by: Eric Wei <menwe@amazon.com> * cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * removed loggings and change to console error Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused sidebar component Signed-off-by: Eric Wei <menwe@amazon.com> * added toasts Signed-off-by: Eric Wei <menwe@amazon.com> * resolved build failure Signed-off-by: Eric Wei <menwe@amazon.com> * couple of error handling changes Signed-off-by: Eric Wei <menwe@amazon.com> * added types Signed-off-by: Eric Wei <menwe@amazon.com> * Autocomplete only displays current command (#157) * Only show current command in suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove console logs Signed-off by: Eugene Lee <eugenesk@amazon.com> * Only display suggestion Signed-off by: Eugene Lee <eugenesk@amazon.com> * Removed commas Signed-off by: Eugene Lee <eugenesk@amazon.com> * Remove import Signed-off by: Eugene Lee <eugenesk@amazon.com> * changed to support query without 'search' prefix (#158) Signed-off-by: Eric Wei <menwe@amazon.com> * Remove app analytics (#154) * removing app analytics from sidenav * removed unused headers * added trace analytics as default page * Use JS API to redirect legacy notebooks URL (#162) * Panels bug fix#1 (#159) * fixed UI bugs #1 * folder name typo fix * changes for adopting new sql artifact (#165) * changes for adopting new sql artifact Signed-off-by: Eric Wei <menwe@amazon.com> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> * Improve reindex handling for .opensearch-notebooks (#163) * inherited datepicker format from settings (#164) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Shenoy Pratik <pshenoy36@gmail.com> Co-authored-by: Eric Wei <80358241+mengweieric@users.noreply.github.com> Co-authored-by: eugenesk24 <92330893+eugenesk24@users.noreply.github.com> * Update history_table.tsx * Update home.tsx * Delete public/components/explorer/home_table directory * Update explorer.ts * Update history_table.tsx * Update history_table.tsx Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Shenoy Pratik <pshenoy36@gmail.com> Co-authored-by: Eric Wei <80358241+mengweieric@users.noreply.github.com> Co-authored-by: eugenesk24 <92330893+eugenesk24@users.noreply.github.com> * Use observability specific permissions instead of notebooks (#177) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix deleting all paragraphs for notebooks (#184) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature available fields timestamp (#179) * added available fields when no hits because of timestamp Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused code Signed-off-by: Eric Wei <menwe@amazon.com> * Icon that redirects to PPL Documentation next to Search Bar (#183) * Added link to PPL Documentation next to search bar Signed-off by: Eugene Lee <eugenesk@amazon.com> * Corrected icon type Signed-off by: Eugene Lee <eugenesk@amazon.com> * Added aggregate functions to Autocomplete (#185) Signed-off by: Eugene Lee <eugenesk@amazon.com> * Suggestions are shown in dark mode (#187) Signed-off by: Eugene Lee <eugenesk@amazon.com> * Update docs for observability (#188) * Bump observability version for OpenSearch 1.2 release (#189) * added panels modifications and bug fix (#194) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Update plugin ID and bug fixes (#195) * Feature event analytics imporovements and fixes (#199) * redo signoff Signed-off-by: Eric Wei <menwe@amazon.com> * removed comments Signed-off-by: Eric Wei <menwe@amazon.com> * signoff amendment Signed-off-by: Eric Wei <menwe@amazon.com> * added support for sample panels (#200) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add error handler when fetching ppl (#204) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix for duplicate indices in suggestion (#190) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Feature couple of features and fixes (#202) * event sample data Signed-off-by: Eric Wei <menwe@amazon.com> * home delete and sample data Signed-off-by: Eric Wei <menwe@amazon.com> * removed one missed Signed-off-by: Eric Wei <menwe@amazon.com> * separate container Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused code and some ehchancements Signed-off-by: Eric Wei <menwe@amazon.com> * Add toggle dark mode in observability side bar (#209) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature autocomplete fix (#208) * event sample data Signed-off-by: Eric Wei <menwe@amazon.com> * home delete and sample data Signed-off-by: Eric Wei <menwe@amazon.com> * removed one missed Signed-off-by: Eric Wei <menwe@amazon.com> * separate container Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused code and some ehchancements Signed-off-by: Eric Wei <menwe@amazon.com> * autocomplete related fixes Signed-off-by: Eric Wei <menwe@amazon.com> * home search fix and few cleanups Signed-off-by: Eric Wei <menwe@amazon.com> * removed comments Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused reference Signed-off-by: Eric Wei <menwe@amazon.com> * Support dark mode for notebooks and other style improvements (#206) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Adjust wording and margin for toggle button (#210) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Panel bug fixes4 and PPL Reference Manual (#211) * fixed panel bugs, added help flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * remove unused file Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed log statements Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * remove unused flyout_container Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Case insensitive Autocomplete (#207) * Case insensitive autocomplete with less type errors Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Lowercase word variable and assign fitlered item list Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Variable for lowercase prefix Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Use parent height instead of view port height for nav bar (#212) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add match command to AutoComplete (#203) * Added match command suggestion Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add missing bracket Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Space after field for more balanced looking query (#213) * Case insensitive autocomplete with less type errors Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Lowercase word variable and assign fitlered item list Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Variable for lowercase prefix Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Another merge conflict Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add space after field for balance Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add border around suggestions (#214) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Correct suggestions after count command (#215) * Suggest by and | Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix count bug Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add release notes for 1.2 (#192) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Explorer fixes (#216) * changed to query fields Signed-off-by: Eric Wei <menwe@amazon.com> * select/available fields duplicate issue fix and reformatting Signed-off-by: Eric Wei <menwe@amazon.com> * fixed issue - updating saved search not updating existing tab Signed-off-by: Eric Wei <menwe@amazon.com> * added refresh to datepicker Signed-off-by: Eric Wei <menwe@amazon.com> * updated saving Signed-off-by: Eric Wei <menwe@amazon.com> * saved objects new changes Signed-off-by: Eric Wei <menwe@amazon.com> * Added Samples, help text, standardized tables (#217) * added new samples and modified workspace height Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated documentation links and help text Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * standardized empty table buttons Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * merged add samples logic Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated panel tests, added sample modal Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add missing itemName properties (#218) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Tab issue and run button (#219) * changed to query fields Signed-off-by: Eric Wei <menwe@amazon.com> * select/available fields duplicate issue fix and reformatting Signed-off-by: Eric Wei <menwe@amazon.com> * fixed issue - updating saved search not updating existing tab Signed-off-by: Eric Wei <menwe@amazon.com> * added refresh to datepicker Signed-off-by: Eric Wei <menwe@amazon.com> * updated saving Signed-off-by: Eric Wei <menwe@amazon.com> * saved objects new changes Signed-off-by: Eric Wei <menwe@amazon.com> * tab issue fix and remove run button Signed-off-by: Eric Wei <menwe@amazon.com> * resolved conflicts Signed-off-by: Eric Wei <menwe@amazon.com> * search bar related changes (#222) Signed-off-by: Eric Wei <menwe@amazon.com> * fixed emoji renders for in PPL manual (#221) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Suggestions width match search bar (#220) * Wrapped in flex Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Extend suggestion bar to match search bar Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove unnecessary imports Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove parent autocomplete-root Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Throw exception if object type is inconsistent in update request (#224) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add some space between last paragraph and action button (#225) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add event analytics permission toast (#226) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add copyright to all files (#231) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Suggestions loaded after selection (#228) * Do not add space Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Suggest all nuber types for fields Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Suggest on selection Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Re add auto space after selection Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove unnecessary imports Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Suggest first commands on click Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Auto-select first suggestion Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Homepage moved to event analytics (#227) * changed homepage to event analytics Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added events page with default hash Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * resolved conflicts and fixes (#233) Signed-off-by: Eric Wei <menwe@amazon.com> * moved loading viz after panel update (#232) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Remove resetting query for autocomplete (#234) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Source as the only first command (#235) * Source as first command Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove logic for search and index Signed-off-by: Eugene Lee <eugenesk@amazon.com> * ppl manual update (#236) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Run query with shift enter (#239) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Update notebooks url redirect to use plugin id (#242) Signed-off-by: Joshua Li <joshuali925@gmail.com> * tab close issue (#243) Signed-off-by: Eric Wei <menwe@amazon.com> * switching tab tirgger unnecessary requests fix (#247) Signed-off-by: Eric Wei <menwe@amazon.com> * Autocomplete for data values (#245) * Autocomplete for data values Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fetch data values earlier and save them Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fetch dataValues for match early Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Bump ansi-regex to 5.0.1 (#241) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add support for codeowners to repo (#244) Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Panels bug fix4 (#249) * minor bug fix and updated unit tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * fixed date change issue Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * renamed relevance function to full text search Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * duplicate search text removed Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Fix undefined field error and where suggestions (#246) * Add check for properties Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Change logic order to support switching between match and other where fields Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add Correct Erroring in Event Analytics (#248) * Add check for properties Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Change logic order to support switching between match and other where fields Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Autocomplete for data values Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fetch data values earlier and save them Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Update to current status Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fetch dataValues for match early Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Try addError Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix error messaging on Event Explorer Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove fielddata Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Assign string to fields with fields property Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Remove possible double toast and add console log back in Signed-off-by: Eugene Lee <eugenesk@amazon.com> * changed error message (#257) Signed-off-by: Eric Wei <menwe@amazon.com> * Panels cypress test (#256) * adding panels cypress tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added more visualization tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Feature ppl link (#258) * changed error message Signed-off-by: Eric Wei <menwe@amazon.com> * help icon changes Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added PPL button and one panel snap Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused reference Signed-off-by: Eric Wei <menwe@amazon.com> * fixed one issue Signed-off-by: Eric Wei <menwe@amazon.com> Co-authored-by: Shenoy Pratik <sgguruda@amazon.com> * Update release notes for 1.2 release (#261) Signed-off-by: Joshua Li <joshuali925@gmail.com> * fixed vis saving issue (#262) Signed-off-by: Eric Wei <menwe@amazon.com> * fixed tab close issue (#265) Signed-off-by: Eric Wei <menwe@amazon.com> * Update codecov and enable for backend plugin (#268) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add unit tests for notebook helpers (#269) * Add UT for notebook helpers and remove panel wrapper Signed-off-by: Joshua Li <joshuali925@gmail.com> * Use visualization from mock notebook for UT Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update cypress timezone environment (#270) * Update cypress timezon environment Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update notebooks cypress Signed-off-by: Joshua Li <joshuali925@gmail.com> * Support bulk delete operations for notebooks (#273) * Update notebooks cypress Signed-off-by: Joshua Li <joshuali925@gmail.com> * Remove unused files Signed-off-by: Joshua Li <joshuali925@gmail.com> * Autocomplete Unit Tests (#274) * Add test for search bar Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Re-organize autocomplete Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Trying to test return value of getSuggestions Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Need to keep algolia import Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Separate out autocomplete logic Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Make id optional Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Snub out aloglia import Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add broken logic test Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add type to fullSuggestions Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Test coverage up to 95 for logic Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add new line to end of js config file Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add new line to autocomplete logic file Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add unit tests for notebooks (#277) * WIP add unit tests to notebooks Signed-off-by: Joshua Li <joshuali925@gmail.com> * WIP add unit tests to notebooks Signed-off-by: Joshua Li <joshuali925@gmail.com> * WIP Signed-off-by: Joshua Li <joshuali925@gmail.com> * WIP Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update snapshots Signed-off-by: Joshua Li <joshuali925@gmail.com> * Added more cypress tests, updated constants (#282) * added more tests, updated constants Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed timeout for on clone Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add unit tests for backend models (#283) * add notebooks unit tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add more unit tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add unit tests for backend requests and responses (#284) * Refactor requests and responses from model to action Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix transport action for create object request Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add unit test for create object Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix transport action for update object request Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add unit test for more requests and responses Signed-off-by: Joshua Li <joshuali925@gmail.com> * Format code Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * Adding code summary to the repo (#287) * adding panel tests in workflows Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * adding cypress tests doc Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added table in readme, changed doc link Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added more doc and changed BWC link Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added variables for hyperlinks Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added badge for plugin IT tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * fixing typos, removed duplicate lines Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * moved TA up similar to side nav Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * alt text name change Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add back onclick handler for plotly component (#285) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Use dateFormat from advanced settings for notebook visualizations (#297) closes #250 Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix link checker (#300) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Code summary edits (#298) * changed table headers in code summary Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed observability name from modules Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * fixed more links Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * modularized the table and fixed links Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * fixed ppl doc link and IT badge name Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * changed headers to plugin names (#306) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Explorer cypress tests (#302) * signoff Signed-off-by: Eric Wei <menwe@amazon.com> * added missed resolved lines Signed-off-by: Eric Wei <menwe@amazon.com> * Add BWC test for Observability (#314) * commit Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * delete 1.2 snapshot and update gradle Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * add bwc to workflow (#316) Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Update tests, builds and doc (#318) * rebased with bwc tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated bwc tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added release notes Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Rename trace-analytics to observability (#341) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Event analytics unit tests (#342) * tests Signed-off-by: Eric Wei <menwe@amazon.com> * updated some snapshots Signed-off-by: Eric Wei <menwe@amazon.com> * resolved few failing tests Signed-off-by: Eric Wei <menwe@amazon.com> * few modifications Signed-off-by: Eric Wei <menwe@amazon.com> * Update service map parsing results for testing (#345) Signed-off-by: Joshua Li <joshuali925@gmail.com> * bumping version to 1.2.2 (#346) * bumping version to 1.2.2 Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * update PR in release notes Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updating readme and badges (#352) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Update Workflow (#360) * updated snapshot in workflow to 1.2.3 Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * replaced variable with 1.2.3-snapshot Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * revert string to variable Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * bumping main to 1.3 (#361) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add observability visualization to notebooks (#351) * added observability viz support to notes Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated tests, clone para, zeppelin parser Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated observability viz links & cypress Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed inputType, merged both viz options Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * resolved merge conflict Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated links, adaptors, tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed unused files, updated workflow Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated UI dateformat for observability viz Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated jest timeout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated notebook tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add .whitesource configuration file (#365) Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com> * CVE fix:json-schema, gson & glob-parent (#368) * CVE fix:json-schema, gson & glob-parent Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated yarn.lock Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Update Release Notes 1.2.4 (#370) * CVE fix:json-schema, gson & glob-parent Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated yarn.lock Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Update Release Notes 1.2.4 Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * jcenter removed from gradle.build (#374) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Guava package update (#404) * updating guava to 31.0.1 Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * revise version name Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Support lazy scroll and auto complete for PPL parse command (#421) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Merge Application Analytics into main (#454) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix queries being filtered out (#472) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Saving time for individual applications (#473) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Separate appConfigs and extra filters (#474) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix create/edit page bug (#475) * Fix create/edit page bug Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Update create test to pass correct existingAppId Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add date_nanos to valid time fields (#426) Signed-off-by: Joshua Li <joshuali925@gmail.com> * UI changes to Metrics Tab (#476) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Finish after source autocomplete logic (#480) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Redirect to trace tab, updateMappings once, etc (#481) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * add auto backporting functionality (#491) Signed-off-by: David Cui <davidcui@amazon.com> * Add Events Flyout and Correlate Traces with logs (#493) * adding events flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * adding traces to events flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * adding surroundings events flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed metrics from events flyout Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated events tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed unused flyout scss Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * update backport workflow and add auto-delete workflow (#496) Signed-off-by: David Cui <davidcui@amazon.com> * Revert query pre-processing for parse command (#497) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Live tail - Event analytics (#494) * rebase Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * revert ObsIndex changes to main Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * remove comments Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * change timestamp variable Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * remove live_tail.ts and modify explorer Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * query_tils Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Make base query immutable (#500) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Feature latest observability (#509) * resolve signoff issue Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused code Signed-off-by: Eric Wei <menwe@amazon.com> * adjust insights Signed-off-by: Eric Wei <menwe@amazon.com> * panel options Signed-off-by: Eric Wei <menwe@amazon.com> * remove candlestick Signed-off-by: Eric Wei <menwe@amazon.com> * remove yarn-error.log from commits Signed-off-by: Eric Wei <menwe@amazon.com> * Enchanced visualization and resolved signoff issue (#483) * resolve signoff issue Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused code Signed-off-by: Eric Wei <menwe@amazon.com> * gauge changes Signed-off-by: Eric Wei <menwe@amazon.com> * line mode selector Signed-off-by: Eric Wei <menwe@amazon.com> * add title Signed-off-by: Eric Wei <menwe@amazon.com> * expanded section by default and minor guage changes Signed-off-by: Eric Wei <menwe@amazon.com> * gauge changes Signed-off-by: Eric Wei <menwe@amazon.com> * 1 dependency change Signed-off-by: Eric Wei <menwe@amazon.com> * redux support including all types of viz data for any tab Signed-off-by: Eric Wei <menwe@amazon.com> * layout config and related cleanup Signed-off-by: Eric Wei <menwe@amazon.com> * Add availability levels (#498) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * updated panels with latest visualizations (#502) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * thresholds and styling Signed-off-by: Eric Wei <menwe@amazon.com> * state sync for config panels Signed-off-by: Eric Wei <menwe@amazon.com> * remove conflicts Signed-off-by: Eric Wei <menwe@amazon.com> * add more data validations Signed-off-by: Eric Wei <menwe@amazon.com> * pie mode selector Signed-off-by: Eric Wei <menwe@amazon.com> * moved contants Signed-off-by: Eric Wei <menwe@amazon.com> * add some types Signed-off-by: Eric Wei <menwe@amazon.com> * fix panel viz issue and update tests Signed-off-by: Eric Wei <menwe@amazon.com> * remove logging' Signed-off-by: Eric Wei <menwe@amazon.com> Co-authored-by: Eugene Lee <eugenesk@amazon.com> Co-authored-by: Shenoy Pratik <sgguruda@amazon.com> * updated panels flaky jest tests (#505) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add autocomplete enhancements (#507) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix events flyout bugs and Styling (#510) * updated eents flyout styling, added back button Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * disabled surroundings events w/o time, updated PPL time format Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated docViewer jest snapshot Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removed repeated function Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Feature viz saving on missing fields (#511) * vis issues Signed-off-by: Eric Wei <menwe@amazon.com> * minor changes Signed-off-by: Eric Wei <menwe@amazon.com> * bar mode Signed-off-by: Eric Wei <menwe@amazon.com> * fix lint issue Signed-off-by: Eric Wei <menwe@amazon.com> * fix issue of clicking query caused crash (#515) Signed-off-by: Eric Wei <menwe@amazon.com> * Fix lower margin of autocomplete being cut off (#512) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix empty userConfigs stringify (#513) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add parse command back in autocompletion (#517) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Visualizations �to follow set timerange (#516) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Change Default CI java version to 11 (#504) Change default CI java version to 11, add java versions to CI matrix and update developer guide Signed-off-by: David Cui <davidcui@amazon.com> * Issue/darkmode support viz config (#521) * fix dark mode issue Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused component and tests Signed-off-by: Eric Wei <menwe@amazon.com> * Edit visualization in Application Analytics (#519) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Add service map to services and trace view page (#518) * Add more information on service map hover tooltip Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add service map to trace view Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * Feature/sort only datatable in flyout (#522) * fix dark mode issue Signed-off-by: Eric Wei <menwe@amazon.com> * removed unused component and tests Signed-off-by: Eric Wei <menwe@amazon.com> * case insensitive sort Signed-off-by: Eric Wei <menwe@amazon.com> * turn null to empty string Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused lodash Signed-off-by: Eric Wei <menwe@amazon.com> * update snapshot Signed-off-by: Eric Wei <menwe@amazon.com> * Change availability level to have expression (#525) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Cypress fix for panels and events (#531) * updated cypress for panels and events Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * removing comments Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * detete request and response changes for event and panels (#530) Signed-off-by: Eric Wei <menwe@amazon.com> * Include related services node under service filter (#527) * Add parse command docs (#535) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Update cypress for trace analytics (#536) Signed-off-by: Joshua Li <joshuali925@gmail.com> * changes panel requests & date, traces link in events (#533) * changes panel requests & date, traces link in events Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated docViewer jest snapshot Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add autocomplete to panels, add parse command to app analytics (#529) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fixed documentation links (#534) Signed-off-by: keithhc2 <keithhc2@users.noreply.github.com> Signed-off-by: Joshua Li <joshuali925@gmail.com> Co-authored-by: keithhc2 <keithhc2@users.noreply.github.com> Co-authored-by: Joshua Li <joshuali925@gmail.com> * Flyout bugs (#540) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix multiple flyouts issue in explorer (#538) * removed multiple flyouts open bug Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * memoised flyouts, updated tests Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add availability metrics to app table (#539) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fix page flicker for live tail (#541) Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * replace viz icon (#543) Signed-off-by: Eric Wei <menwe@amazon.com> * Update panels cypress (#545) * update panels cypress with new dimensions Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * increased time delay Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add cypress tests for application analytics (#544) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Feature convert browser time to utc time (#542) * use utc for timerange Signed-off-by: Eric Wei <menwe@amazon.com> * fixed time and source not aligned issue Signed-off-by: Eric Wei <menwe@amazon.com> * convert selected timefield from utc time to local time Signed-off-by: Eric Wei <menwe@amazon.com> * changed toast text for closing last tab Signed-off-by: Eric Wei <menwe@amazon.com> * remove unused code Signed-off-by: Eric Wei <menwe@amazon.com> * Feature/remove timestamp saving (#546) * support getting default timestamp from multipe indexes Signed-off-by: Eric Wei <menwe@amazon.com> * timestamp and minor refactoring Signed-off-by: Eric Wei <menwe@amazon.com> * multi indexes Signed-off-by: Eric Wei <menwe@amazon.com> * timestamp reset for different indexes Signed-off-by: Eric Wei <menwe@amazon.com> * add tests for new fields Signed-off-by: Eric Wei <menwe@amazon.com> * update cypress tests Signed-off-by: Eric Wei <menwe@amazon.com> * updated snapshot Signed-off-by: Eric Wei <menwe@amazon.com> * converting datetime to utc from picker (#551) * converting datetime to utc from picker Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated type check Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added common visualization parser (#550) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Sync PPL commands doc with main repo (#549) Signed-off-by: Peng Huo <penghuo@gmail.com> * Feature flyout tests (#553) * utc for flyout Signed-off-by: Eric Wei <menwe@amazon.com> * flyout utc, cypress tests Signed-off-by: Eric Wei <menwe@amazon.com> * Add ability to choose visualization for availability (#552) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * final live fixes (#558) Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Issue horizontal bar (#556) * backward compatibility for horizontal chart Signed-off-by: Eric Wei <menwe@amazon.com> * disable gauge Signed-off-by: Eric Wei <menwe@amazon.com> * line bug fixes and some adjustments Signed-off-by: Eric Wei <menwe@amazon.com> * add color palette for heatmap Signed-off-by: Eric Wei <menwe@amazon.com> * fix for not able to edit saved viz Signed-off-by: Eric Wei <menwe@amazon.com> * increase margin Signed-off-by: Eric Wei <menwe@amazon.com> * remove bold letter and extra pranthesis (#559) Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Allow app creation with one composition (#557) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fix interval selector issue, revert interval function changes (#563) Signed-off-by: Eric Wei <menwe@amazon.com> * Disable duplicate visualization and enable edit panel (#554) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fixed flaky panel test (#565) Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * added fix for threshold (#568) Signed-off-by: Eric Wei <menwe@amazon.com> * Pass in prop curSelectedTabId for live tail (#567) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Fix field fetch not being waited for (#566) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * Update cypress test: (#564) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fix query clicking issue (#569) Signed-off-by: Eric Wei <menwe@amazon.com> * Update time to saved visualizations time when redirect to edit view (#570) Signed-off-by: Eugene Lee <eugenesk@amazon.com> * fix for datepicker issue (#571) Signed-off-by: Eric Wei <menwe@amazon.com> * Bump prismjs from 1.25.0 to 1.27.0 in /dashboards-observability (#508) (#574) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.25.0 to 1.27.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.25.0...v1.27.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cherry picked from commit f85aecf303f0d3f549339752feb9738e5cd42a7f) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * change to support java 8 in compile and runtime (#575) (#576) Signed-off-by: Zhongnan Su <szhongna@amazon.com> (cherry picked from commit a123560cbca…
Swiddis
added a commit
to Swiddis/dashboards-observability
that referenced
this pull request
Jul 11, 2023
Merge in repository classes from osints/dev
Swiddis
added a commit
to Swiddis/dashboards-observability
that referenced
this pull request
Jul 11, 2023
Merge in repository classes from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Swiddis
added a commit
that referenced
this pull request
Jul 11, 2023
* Merge pull request #547 from Swiddis/osints/main Stub router for integrations project Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request #552 from Swiddis/osints/main Merge in repository classes from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request #559 from Swiddis/copy-repository Copy integrations repository content Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request #583 from Swiddis/osints/sanitize-paths Copy path sanitization from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request #615 from Swiddis/osints/main Merge sample data endpoint from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request #618 from Swiddis/osints/frontend Merge Frontend for OpenSearch Integrations Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge frontend from osints/dev (#636) * Remove unused NDJson parsing code Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove unused instance store Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Move repository logic to own class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add tests for IntegrationsRepository Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add tests for kibana backend Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Clear repository between runs in testing Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix tests and import Signed-off-by: Derek Ho <dxho@amazon.com> * add sanity test cypress test Signed-off-by: Derek Ho <dxho@amazon.com> * clean up code Signed-off-by: Derek Ho <dxho@amazon.com> * Add tests for integration builder Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Swap jest test to it Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * { "attributes": { "description": "Nginx dashboard with basic Observability on access / error logs", "hits": 0, "kibanaSavedObjectMeta": { "searchSourceJSON": "{\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"filter\":[]}" }, "optionsJSON": "{\"hidePanelTitles\":false,\"useMargins\":true}", "panelsJSON": "[{\"version\":\"2.5.0\",\"gridData\":{\"h\":8,\"i\":\"1f31e50b-06e3-41e6-972e-e4e5fe1a9872\",\"w\":48,\"x\":0,\"y\":0},\"panelIndex\":\"1f31e50b-06e3-41e6-972e-e4e5fe1a9872\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"version\":\"2.5.0\",\"gridData\":{\"h\":9,\"i\":\"d91a8da4-b34b-470a-aca6-9c76b47cd6fb\",\"w\":24,\"x\":0,\"y\":8},\"panelIndex\":\"d91a8da4-b34b-470a-aca6-9c76b47cd6fb\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"},{\"version\":\"2.5.0\",\"gridData\":{\"h\":15,\"i\":\"27149e5a-3a77-4f3c-800e-8a160c3765f4\",\"w\":24,\"x\":24,\"y\":8},\"panelIndex\":\"27149e5a-3a77-4f3c-800e-8a160c3765f4\",\"embeddableConfig\":{},\"panelRefName\":\"panel_2\"},{\"version\":\"2.5.0\",\"gridData\":{\"x\":0,\"y\":17,\"w\":24,\"h\":15,\"i\":\"4d8c2aa7-159c-4a1a-80ff-00a9299056ce\"},\"panelIndex\":\"4d8c2aa7-159c-4a1a-80ff-00a9299056ce\",\"embeddableConfig\":{},\"panelRefName\":\"panel_3\"},{\"version\":\"2.5.0\",\"gridData\":{\"x\":24,\"y\":23,\"w\":24,\"h\":15,\"i\":\"800b7f19-f50c-417f-8987-21b930531cbe\"},\"panelIndex\":\"800b7f19-f50c-417f-8987-21b930531cbe\",\"embeddableConfig\":{},\"panelRefName\":\"panel_4\"}]", "timeRestore": false, "title": "[NGINX Core Logs 1.0] Overview", "version": 1 }, "id": "96847220-5261-44d0-89b4-65f3a659f13a", "migrationVersion": { "dashboard": "7.9.3" }, "references": [ { "id": "3b49a65d-54d8-483d-a8f0-3d7c855e1ecf", "name": "panel_0", "type": "visualization" }, { "id": "865e577b-634b-4a65-b9d6-7e324c395d18", "name": "panel_1", "type": "visualization" }, { "id": "dc1803f0-b478-11ed-9063-ebe46f9ac203", "name": "panel_2", "type": "visualization" }, { "id": "99acc580-b47a-11ed-9063-ebe46f9ac203", "name": "panel_3", "type": "visualization" }, { "id": "01ea64d0-b62f-11ed-a677-43d7aa86763b", "name": "panel_4", "type": "visualization" } ], "type": "dashboard", "updated_at": "2023-02-26T23:44:09.855Z", "version": "WzczLDdd" } Signed-off-by: Derek Ho <dxho@amazon.com> * Stub out sample integration data for front-end Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Use more realistic integration sample Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add full traversal to fields list Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add license to integration template Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * add some unit testing framework Signed-off-by: Derek Ho <dxho@amazon.com> * fix up the testing name Signed-off-by: Derek Ho <dxho@amazon.com> * fix up table view and add a test Signed-off-by: Derek Ho <dxho@amazon.com> * add an added integration table test using dummy data Signed-off-by: Derek Ho <dxho@amazon.com> * add integration specific types and clean up code Signed-off-by: Derek Ho <dxho@amazon.com> * clean up code and use integration specific types Signed-off-by: Derek Ho <dxho@amazon.com> * Route integrations page to actual repository Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove unused import Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Use loading spinner Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * add some changes to UI according to figma Signed-off-by: Derek Ho <dxho@amazon.com> * add license headers and hook up get to specific instance for added page Signed-off-by: Derek Ho <dxho@amazon.com> * add screenshots and fix up mappings and breadcrumbs Signed-off-by: Derek Ho <dxho@amazon.com> * Add failing test case for empty object Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Make template test pass Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * use flyout according to figma and connect flyout input to backend creation Signed-off-by: Derek Ho <dxho@amazon.com> * implement delete Signed-off-by: Derek Ho <dxho@amazon.com> * fix up tests for changes Signed-off-by: Derek Ho <dxho@amazon.com> * get added page to working order Signed-off-by: Derek Ho <dxho@amazon.com> * Add template validator via Ajv Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix builder tests for new validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * add unit test coverage Signed-off-by: Derek Ho <dxho@amazon.com> * update page and tests to remove added by for integration instances Signed-off-by: Derek Ho <dxho@amazon.com> * deleting an instance also deletes its children saved objects Signed-off-by: Derek Ho <dxho@amazon.com> * Add integration instance validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * update components and snapshots with data-test-subj for cypress tests and add more comprehensive cypress test suite Signed-off-by: Derek Ho <dxho@amazon.com> * remove unecessary console logging Signed-off-by: Derek Ho <dxho@amazon.com> * Hotfix: Minor code cleanup Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * dynamically handle id generation to allow for multiple instances of the same template to be created Signed-off-by: Derek Ho <dxho@amazon.com> * Update integration with fixed panels Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Apply minor behavior tweaks Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Refactor repository for new format Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix empty assets bug Signed-off-by: Derek Ho <dxho@amazon.com> * Write basic FS latest integration queries Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Update integration template type and validator Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add template retrieval to repository fs Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add copyright notice to repository_fs Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix escape Signed-off-by: Derek Ho <dxho@amazon.com> * revert file Signed-off-by: Derek Ho <dxho@amazon.com> * fix test Signed-off-by: Derek Ho <dxho@amazon.com> * Stub composite repository class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Apply minor condition refactor Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fill in basic implementation for integration class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add tests for integration class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix type errors on repository tests Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Patch: Handle files with invalid version formats Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Refactor displayAssets to assets Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add basic getAssets implementation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add handling for invalid config error case Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add handling for failed saved object loading Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add basic getStatic method Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix handling for missing statics Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove outdated repository classes Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add docs for the integration class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hook up router to new static loading Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Clarify content-type docs Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix details page crashes due to outdated schema Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Infer mime type for statics Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix screenshot loading on integrations details page Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove mimetypes from nginx 1.0.0 Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add getSchemas method with tests Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Make minor modifications to integration typing Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add integration deep check Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Refactor integration builder Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix remap ID method Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix loading process Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Refactor tests for new integrations backend Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix type errors in test suite Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * hook up datasource creation from flyout to backend Signed-off-by: Derek Ho <dxho@amazon.com> * remove nullable Signed-off-by: Derek Ho <dxho@amazon.com> * Add schema route to router Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix frontend request routing for new API Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Fix added integration errors Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Add an actual screenshot Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove unused assets folder Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Use Oui images Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Make integration instance deletion more robust Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove asset map (again Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix remap data source Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Correct deletion for actual 404 behavior Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add display name field to integrations Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Apply display name through frontend Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Use display name on table view Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove unused code in flyout Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Stub mapping validation on frontend Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add error message for failed validation result Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix request to proxy Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add more detailed handling for missing schemas Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Apply integration type in validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add full schema validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add unit tests for mapping validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix type checking in unit tests Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * create dataSource UI option Signed-off-by: Derek Ho <dxho@amazon.com> * Hotfix: Update route for listing added integrations Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Fix component tests Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add basic status querying Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add unit tests for availability queries Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * create ss4o index from ui Signed-off-by: Derek Ho <dxho@amazon.com> * code cleanup Signed-off-by: Derek Ho <dxho@amazon.com> * use user input Signed-off-by: Derek Ho <dxho@amazon.com> * Hotfix: Sync package versions with osd Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix path-dependent tests on windows Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Repair template naming on index autocreation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Allow wildcards in index pattern specification Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove redundant integrationType field Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove unused schema files Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Add sample data Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * move integrations under core (pending ux) Signed-off-by: Derek Ho <dxho@amazon.com> * Fix handling for templates on create Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge in kibana backend from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add integration type to .kibana from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Re-add license header Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * hook up toast Signed-off-by: Derek Ho <dxho@amazon.com> * Update integration-instance type Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Fix types again Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Fix cypress Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add sample data endpoint Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add license checking to eslint Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Created elb integration Signed-off-by: Daniel Dong <danieldong51@amazon.com> * successfully hook up toast and block until done with for loop Signed-off-by: Derek Ho <dxho@amazon.com> * fix and fix test Signed-off-by: Derek Ho <dxho@amazon.com> * Added screenshot of elb integration` Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Updated aws_elb descriptions and logos Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Deleted .DS_Store Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Added container in components Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Merged markers Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Hotfix: Rename installed integrations to added integrations Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Revert Nginx sample prettifying Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * remove console.log Signed-off-by: Derek Ho <dxho@amazon.com> * updates cypress test to test create data source flow with toast Signed-off-by: Derek Ho <dxho@amazon.com> * update snapshot based on cypress changes Signed-off-by: Derek Ho <dxho@amazon.com> * get rid of extra line Signed-off-by: Derek Ho <dxho@amazon.com> * update according to figma Signed-off-by: Derek Ho <dxho@amazon.com> * Fix integrations type Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Sanitize file path for getting integration statics Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Update tests for merge Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * make some UX improvements Signed-off-by: Derek Ho <dxho@amazon.com> * Add basic sample data loading Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * moves integration on left nav, removes unused create flow Signed-off-by: Derek Ho <dxho@amazon.com> * hook up sample data to a standalone button Signed-off-by: Derek Ho <dxho@amazon.com> * fix tests Signed-off-by: Derek Ho <dxho@amazon.com> * implement length validation and update tests accordingly Signed-off-by: Derek Ho <dxho@amazon.com> * disable buttons while adding Signed-off-by: Derek Ho <dxho@amazon.com> * fix breadcrumbs and tests Signed-off-by: Derek Ho <dxho@amazon.com> * update according to figma Signed-off-by: Derek Ho <dxho@amazon.com> * maek some changes according to figma Signed-off-by: Derek Ho <dxho@amazon.com> * implement tabbing for both added/available and fields/assets Signed-off-by: Derek Ho <dxho@amazon.com> * remove status on template, change status to badge on instance and hook up type filtering for added Signed-off-by: Derek Ho <dxho@amazon.com> * remove actions Signed-off-by: Derek Ho <dxho@amazon.com> * convert to badges Signed-off-by: Derek Ho <dxho@amazon.com> * fix tests Signed-off-by: Derek Ho <dxho@amazon.com> * remove columns from table Signed-off-by: Derek Ho <dxho@amazon.com> * add linking to all assets Signed-off-by: Derek Ho <dxho@amazon.com> * fix unit and integration tests Signed-off-by: Derek Ho <dxho@amazon.com> * final fix up Signed-off-by: Derek Ho <dxho@amazon.com> * fix filtering Signed-off-by: Derek Ho <dxho@amazon.com> * final fix up Signed-off-by: Derek Ho <dxho@amazon.com> * fix tests Signed-off-by: Derek Ho <dxho@amazon.com> * add cateogry filter and fix tests Signed-off-by: Derek Ho <dxho@amazon.com> * fix cypress and unit tests Signed-off-by: Derek Ho <dxho@amazon.com> * Fix broken index template naming in sample creation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add priority to logs mapping and fix index pattern Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix various UI and add validation Signed-off-by: Derek Ho <dxho@amazon.com> * add request metrics Signed-off-by: Derek Ho <dxho@amazon.com> * fix tests, remove console log Signed-off-by: Derek Ho <dxho@amazon.com> * add metrics to links and final UX fix up, test fixes Signed-off-by: Derek Ho <dxho@amazon.com> * add back installed Signed-off-by: Derek Ho <dxho@amazon.com> * Fix broken nginx panels Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * address pr comments Signed-off-by: Derek Ho <dxho@amazon.com> * address pr comments Signed-off-by: Derek Ho <dxho@amazon.com> * Hotfix: Fix constants Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add learn more link to index field Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove unused AWS ELB integration Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove unused ELB constants Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove redundant EUI spacing Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix snapshots Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix relative path Signed-off-by: Derek Ho <dxho@amazon.com> --------- Signed-off-by: Simeon Widdis <sawiddis@amazon.com> Signed-off-by: Derek Ho <dxho@amazon.com> Signed-off-by: Derek Ho <derek01778@gmail.com> Signed-off-by: Daniel Dong <danieldong51@amazon.com> Co-authored-by: Derek Ho <dxho@amazon.com> Co-authored-by: Derek Ho <derek01778@gmail.com> Co-authored-by: Daniel Dong <danieldong51@amazon.com> Signed-off-by: Simeon Widdis <sawiddis@amazon.com> --------- Signed-off-by: Simeon Widdis <sawiddis@amazon.com> Signed-off-by: Derek Ho <dxho@amazon.com> Signed-off-by: Derek Ho <derek01778@gmail.com> Signed-off-by: Daniel Dong <danieldong51@amazon.com> Co-authored-by: Derek Ho <dxho@amazon.com> Co-authored-by: Derek Ho <derek01778@gmail.com> Co-authored-by: Daniel Dong <danieldong51@amazon.com>
amsiglan
pushed a commit
to amsiglan/dashboards-observability
that referenced
this pull request
Jun 7, 2024
* Merge pull request opensearch-project#547 from Swiddis/osints/main Stub router for integrations project Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request opensearch-project#552 from Swiddis/osints/main Merge in repository classes from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request opensearch-project#559 from Swiddis/copy-repository Copy integrations repository content Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request opensearch-project#583 from Swiddis/osints/sanitize-paths Copy path sanitization from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request opensearch-project#615 from Swiddis/osints/main Merge sample data endpoint from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge pull request opensearch-project#618 from Swiddis/osints/frontend Merge Frontend for OpenSearch Integrations Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge frontend from osints/dev (opensearch-project#636) * Remove unused NDJson parsing code Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove unused instance store Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Move repository logic to own class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add tests for IntegrationsRepository Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add tests for kibana backend Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Clear repository between runs in testing Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix tests and import Signed-off-by: Derek Ho <dxho@amazon.com> * add sanity test cypress test Signed-off-by: Derek Ho <dxho@amazon.com> * clean up code Signed-off-by: Derek Ho <dxho@amazon.com> * Add tests for integration builder Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Swap jest test to it Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * { "attributes": { "description": "Nginx dashboard with basic Observability on access / error logs", "hits": 0, "kibanaSavedObjectMeta": { "searchSourceJSON": "{\"query\":{\"language\":\"kuery\",\"query\":\"\"},\"filter\":[]}" }, "optionsJSON": "{\"hidePanelTitles\":false,\"useMargins\":true}", "panelsJSON": "[{\"version\":\"2.5.0\",\"gridData\":{\"h\":8,\"i\":\"1f31e50b-06e3-41e6-972e-e4e5fe1a9872\",\"w\":48,\"x\":0,\"y\":0},\"panelIndex\":\"1f31e50b-06e3-41e6-972e-e4e5fe1a9872\",\"embeddableConfig\":{},\"panelRefName\":\"panel_0\"},{\"version\":\"2.5.0\",\"gridData\":{\"h\":9,\"i\":\"d91a8da4-b34b-470a-aca6-9c76b47cd6fb\",\"w\":24,\"x\":0,\"y\":8},\"panelIndex\":\"d91a8da4-b34b-470a-aca6-9c76b47cd6fb\",\"embeddableConfig\":{},\"panelRefName\":\"panel_1\"},{\"version\":\"2.5.0\",\"gridData\":{\"h\":15,\"i\":\"27149e5a-3a77-4f3c-800e-8a160c3765f4\",\"w\":24,\"x\":24,\"y\":8},\"panelIndex\":\"27149e5a-3a77-4f3c-800e-8a160c3765f4\",\"embeddableConfig\":{},\"panelRefName\":\"panel_2\"},{\"version\":\"2.5.0\",\"gridData\":{\"x\":0,\"y\":17,\"w\":24,\"h\":15,\"i\":\"4d8c2aa7-159c-4a1a-80ff-00a9299056ce\"},\"panelIndex\":\"4d8c2aa7-159c-4a1a-80ff-00a9299056ce\",\"embeddableConfig\":{},\"panelRefName\":\"panel_3\"},{\"version\":\"2.5.0\",\"gridData\":{\"x\":24,\"y\":23,\"w\":24,\"h\":15,\"i\":\"800b7f19-f50c-417f-8987-21b930531cbe\"},\"panelIndex\":\"800b7f19-f50c-417f-8987-21b930531cbe\",\"embeddableConfig\":{},\"panelRefName\":\"panel_4\"}]", "timeRestore": false, "title": "[NGINX Core Logs 1.0] Overview", "version": 1 }, "id": "96847220-5261-44d0-89b4-65f3a659f13a", "migrationVersion": { "dashboard": "7.9.3" }, "references": [ { "id": "3b49a65d-54d8-483d-a8f0-3d7c855e1ecf", "name": "panel_0", "type": "visualization" }, { "id": "865e577b-634b-4a65-b9d6-7e324c395d18", "name": "panel_1", "type": "visualization" }, { "id": "dc1803f0-b478-11ed-9063-ebe46f9ac203", "name": "panel_2", "type": "visualization" }, { "id": "99acc580-b47a-11ed-9063-ebe46f9ac203", "name": "panel_3", "type": "visualization" }, { "id": "01ea64d0-b62f-11ed-a677-43d7aa86763b", "name": "panel_4", "type": "visualization" } ], "type": "dashboard", "updated_at": "2023-02-26T23:44:09.855Z", "version": "WzczLDdd" } Signed-off-by: Derek Ho <dxho@amazon.com> * Stub out sample integration data for front-end Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Use more realistic integration sample Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add full traversal to fields list Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add license to integration template Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * add some unit testing framework Signed-off-by: Derek Ho <dxho@amazon.com> * fix up the testing name Signed-off-by: Derek Ho <dxho@amazon.com> * fix up table view and add a test Signed-off-by: Derek Ho <dxho@amazon.com> * add an added integration table test using dummy data Signed-off-by: Derek Ho <dxho@amazon.com> * add integration specific types and clean up code Signed-off-by: Derek Ho <dxho@amazon.com> * clean up code and use integration specific types Signed-off-by: Derek Ho <dxho@amazon.com> * Route integrations page to actual repository Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove unused import Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Use loading spinner Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * add some changes to UI according to figma Signed-off-by: Derek Ho <dxho@amazon.com> * add license headers and hook up get to specific instance for added page Signed-off-by: Derek Ho <dxho@amazon.com> * add screenshots and fix up mappings and breadcrumbs Signed-off-by: Derek Ho <dxho@amazon.com> * Add failing test case for empty object Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Make template test pass Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * use flyout according to figma and connect flyout input to backend creation Signed-off-by: Derek Ho <dxho@amazon.com> * implement delete Signed-off-by: Derek Ho <dxho@amazon.com> * fix up tests for changes Signed-off-by: Derek Ho <dxho@amazon.com> * get added page to working order Signed-off-by: Derek Ho <dxho@amazon.com> * Add template validator via Ajv Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix builder tests for new validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * add unit test coverage Signed-off-by: Derek Ho <dxho@amazon.com> * update page and tests to remove added by for integration instances Signed-off-by: Derek Ho <dxho@amazon.com> * deleting an instance also deletes its children saved objects Signed-off-by: Derek Ho <dxho@amazon.com> * Add integration instance validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * update components and snapshots with data-test-subj for cypress tests and add more comprehensive cypress test suite Signed-off-by: Derek Ho <dxho@amazon.com> * remove unecessary console logging Signed-off-by: Derek Ho <dxho@amazon.com> * Hotfix: Minor code cleanup Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * dynamically handle id generation to allow for multiple instances of the same template to be created Signed-off-by: Derek Ho <dxho@amazon.com> * Update integration with fixed panels Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Apply minor behavior tweaks Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Refactor repository for new format Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix empty assets bug Signed-off-by: Derek Ho <dxho@amazon.com> * Write basic FS latest integration queries Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Update integration template type and validator Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add template retrieval to repository fs Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add copyright notice to repository_fs Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix escape Signed-off-by: Derek Ho <dxho@amazon.com> * revert file Signed-off-by: Derek Ho <dxho@amazon.com> * fix test Signed-off-by: Derek Ho <dxho@amazon.com> * Stub composite repository class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Apply minor condition refactor Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fill in basic implementation for integration class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add tests for integration class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix type errors on repository tests Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Patch: Handle files with invalid version formats Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Refactor displayAssets to assets Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add basic getAssets implementation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add handling for invalid config error case Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add handling for failed saved object loading Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add basic getStatic method Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix handling for missing statics Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove outdated repository classes Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add docs for the integration class Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hook up router to new static loading Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Clarify content-type docs Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix details page crashes due to outdated schema Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Infer mime type for statics Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix screenshot loading on integrations details page Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove mimetypes from nginx 1.0.0 Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add getSchemas method with tests Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Make minor modifications to integration typing Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add integration deep check Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Refactor integration builder Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix remap ID method Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix loading process Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Refactor tests for new integrations backend Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix type errors in test suite Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * hook up datasource creation from flyout to backend Signed-off-by: Derek Ho <dxho@amazon.com> * remove nullable Signed-off-by: Derek Ho <dxho@amazon.com> * Add schema route to router Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix frontend request routing for new API Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Fix added integration errors Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Add an actual screenshot Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove unused assets folder Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Use Oui images Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Make integration instance deletion more robust Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove asset map (again Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix remap data source Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Correct deletion for actual 404 behavior Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add display name field to integrations Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Apply display name through frontend Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Use display name on table view Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove unused code in flyout Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Stub mapping validation on frontend Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add error message for failed validation result Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix request to proxy Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add more detailed handling for missing schemas Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Apply integration type in validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add full schema validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add unit tests for mapping validation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix type checking in unit tests Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * create dataSource UI option Signed-off-by: Derek Ho <dxho@amazon.com> * Hotfix: Update route for listing added integrations Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Fix component tests Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add basic status querying Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add unit tests for availability queries Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * create ss4o index from ui Signed-off-by: Derek Ho <dxho@amazon.com> * code cleanup Signed-off-by: Derek Ho <dxho@amazon.com> * use user input Signed-off-by: Derek Ho <dxho@amazon.com> * Hotfix: Sync package versions with osd Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix path-dependent tests on windows Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Repair template naming on index autocreation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Allow wildcards in index pattern specification Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove redundant integrationType field Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Remove unused schema files Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Add sample data Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * move integrations under core (pending ux) Signed-off-by: Derek Ho <dxho@amazon.com> * Fix handling for templates on create Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Merge in kibana backend from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add integration type to .kibana from osints/dev Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Re-add license header Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * hook up toast Signed-off-by: Derek Ho <dxho@amazon.com> * Update integration-instance type Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Fix types again Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Fix cypress Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add sample data endpoint Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add license checking to eslint Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Created elb integration Signed-off-by: Daniel Dong <danieldong51@amazon.com> * successfully hook up toast and block until done with for loop Signed-off-by: Derek Ho <dxho@amazon.com> * fix and fix test Signed-off-by: Derek Ho <dxho@amazon.com> * Added screenshot of elb integration` Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Updated aws_elb descriptions and logos Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Deleted .DS_Store Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Added container in components Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Merged markers Signed-off-by: Daniel Dong <danieldong51@amazon.com> * Hotfix: Rename installed integrations to added integrations Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Hotfix: Revert Nginx sample prettifying Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * remove console.log Signed-off-by: Derek Ho <dxho@amazon.com> * updates cypress test to test create data source flow with toast Signed-off-by: Derek Ho <dxho@amazon.com> * update snapshot based on cypress changes Signed-off-by: Derek Ho <dxho@amazon.com> * get rid of extra line Signed-off-by: Derek Ho <dxho@amazon.com> * update according to figma Signed-off-by: Derek Ho <dxho@amazon.com> * Fix integrations type Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Sanitize file path for getting integration statics Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Update tests for merge Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * make some UX improvements Signed-off-by: Derek Ho <dxho@amazon.com> * Add basic sample data loading Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * moves integration on left nav, removes unused create flow Signed-off-by: Derek Ho <dxho@amazon.com> * hook up sample data to a standalone button Signed-off-by: Derek Ho <dxho@amazon.com> * fix tests Signed-off-by: Derek Ho <dxho@amazon.com> * implement length validation and update tests accordingly Signed-off-by: Derek Ho <dxho@amazon.com> * disable buttons while adding Signed-off-by: Derek Ho <dxho@amazon.com> * fix breadcrumbs and tests Signed-off-by: Derek Ho <dxho@amazon.com> * update according to figma Signed-off-by: Derek Ho <dxho@amazon.com> * maek some changes according to figma Signed-off-by: Derek Ho <dxho@amazon.com> * implement tabbing for both added/available and fields/assets Signed-off-by: Derek Ho <dxho@amazon.com> * remove status on template, change status to badge on instance and hook up type filtering for added Signed-off-by: Derek Ho <dxho@amazon.com> * remove actions Signed-off-by: Derek Ho <dxho@amazon.com> * convert to badges Signed-off-by: Derek Ho <dxho@amazon.com> * fix tests Signed-off-by: Derek Ho <dxho@amazon.com> * remove columns from table Signed-off-by: Derek Ho <dxho@amazon.com> * add linking to all assets Signed-off-by: Derek Ho <dxho@amazon.com> * fix unit and integration tests Signed-off-by: Derek Ho <dxho@amazon.com> * final fix up Signed-off-by: Derek Ho <dxho@amazon.com> * fix filtering Signed-off-by: Derek Ho <dxho@amazon.com> * final fix up Signed-off-by: Derek Ho <dxho@amazon.com> * fix tests Signed-off-by: Derek Ho <dxho@amazon.com> * add cateogry filter and fix tests Signed-off-by: Derek Ho <dxho@amazon.com> * fix cypress and unit tests Signed-off-by: Derek Ho <dxho@amazon.com> * Fix broken index template naming in sample creation Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add priority to logs mapping and fix index pattern Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix various UI and add validation Signed-off-by: Derek Ho <dxho@amazon.com> * add request metrics Signed-off-by: Derek Ho <dxho@amazon.com> * fix tests, remove console log Signed-off-by: Derek Ho <dxho@amazon.com> * add metrics to links and final UX fix up, test fixes Signed-off-by: Derek Ho <dxho@amazon.com> * add back installed Signed-off-by: Derek Ho <dxho@amazon.com> * Fix broken nginx panels Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * address pr comments Signed-off-by: Derek Ho <dxho@amazon.com> * address pr comments Signed-off-by: Derek Ho <dxho@amazon.com> * Hotfix: Fix constants Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Add learn more link to index field Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove unused AWS ELB integration Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove unused ELB constants Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Remove redundant EUI spacing Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * Fix snapshots Signed-off-by: Simeon Widdis <sawiddis@amazon.com> * fix relative path Signed-off-by: Derek Ho <dxho@amazon.com> --------- Signed-off-by: Simeon Widdis <sawiddis@amazon.com> Signed-off-by: Derek Ho <dxho@amazon.com> Signed-off-by: Derek Ho <derek01778@gmail.com> Signed-off-by: Daniel Dong <danieldong51@amazon.com> Co-authored-by: Derek Ho <dxho@amazon.com> Co-authored-by: Derek Ho <derek01778@gmail.com> Co-authored-by: Daniel Dong <danieldong51@amazon.com> Signed-off-by: Simeon Widdis <sawiddis@amazon.com> --------- Signed-off-by: Simeon Widdis <sawiddis@amazon.com> Signed-off-by: Derek Ho <dxho@amazon.com> Signed-off-by: Derek Ho <derek01778@gmail.com> Signed-off-by: Daniel Dong <danieldong51@amazon.com> Co-authored-by: Derek Ho <dxho@amazon.com> Co-authored-by: Derek Ho <derek01778@gmail.com> Co-authored-by: Daniel Dong <danieldong51@amazon.com> (cherry picked from commit 55d9954)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Followup from #547 and part of breaking down #476, this PR pulls in the repository class, as well as some recent type system updates. The bulk of the logic is in
integration.ts
, with a light wrapper fromrepository.ts
. Merging in the actual integrations content will be a separate PR, so for now this code will always return empty lists or null respectively when asked to list or retrieve integrations.The next step will be implementing the integrations backend, which connects the Repository class to the integrations router.
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.