Skip to content
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

Rebase flint #972

Merged
merged 126 commits into from
Sep 6, 2023
Merged

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Sep 6, 2023

Description

Rebase feature branch flint-UI to main

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

TackAdam and others added 30 commits June 13, 2023 15:23
Signed-off-by: TackAdam <navytackett@hotmail.com>
Signed-off-by: TackAdam <navytackett@hotmail.com>
Signed-off-by: TackAdam <navytackett@hotmail.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: TackAdam <navytackett@hotmail.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: TackAdam <navytackett@hotmail.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
Signed-off-by: TackAdam <navytackett@hotmail.com>
Signed-off-by: TackAdam <navytackett@hotmail.com>
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
* add capability to build the plugin and add it into the docker of the Opensearch-Dashboard

update the developer-guid to reflect the correct bootstraping process
add docker-compose support and tutorial

Signed-off-by: YANGDB <yang.db.dev@gmail.com>

* Update Dockerfile

* Update Dockerfile and adding .env

* Update Using-Docker.md

Co-authored-by: Joshua Li <joshuali925@gmail.com>
Signed-off-by: YANGDB <yang.db.dev@gmail.com>

---------

Signed-off-by: YANGDB <yang.db.dev@gmail.com>
Co-authored-by: Joshua Li <joshuali925@gmail.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>

* Fix integrations type

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

---------

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
…e-paths

Copy path sanitization from osints/dev
Signed-off-by: TackAdam <navytackett@hotmail.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
Signed-off-by: Eric Wei <menwe@amazon.com>
* refactor naming

Signed-off-by: Eric Wei <menwe@amazon.com>

* refactor vis workspace

Signed-off-by: Eric Wei <menwe@amazon.com>

* config panel refactoring

Signed-off-by: Eric Wei <menwe@amazon.com>

* refactor workspace

Signed-off-by: Eric Wei <menwe@amazon.com>

---------

Signed-off-by: Eric Wei <menwe@amazon.com>
[BugFix] Application Analytics - Save Visualization Missing Index
Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
Signed-off-by: TackAdam <navytackett@hotmail.com>
Cypress v12.8.1 - Fixes for panels/Toast message fix
Swiddis and others added 14 commits August 15, 2023 14:17
* Update label display on frontend

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Clear type errors in added_integration.tsx

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Remove unused imports

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Add missing labels

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Autoformat the whole repository

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Revert large sample data changes

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Undo _import autoescape

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

---------

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
* Update label display on frontend

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Clear type errors in added_integration.tsx

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Remove unused imports

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Add missing labels

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Autoformat the whole repository

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Revert large sample data changes

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Undo _import autoescape

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Modify snapshots

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Update label handling in table

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

---------

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
* Working multi line viz with new sql

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>
Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>

* Cleanup conflicts and fn. arguments

Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>

* Correct metric check fn.

Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>

* Clean Code

Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>

* Clean Code

Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>

* merge dateTime convert function

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* Update snapshots

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>

* Fix cypress test 8_metrics_analytics.spec.js to match removal of "Recently Created" sidebar section.

Fix Metric search to be case-insensitive.

Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>

* Fix several test snapshots.
Fix metrics_grid.test coreRefs mock

Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>

---------

Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>
Signed-off-by: Peter Fitzgibbons <peter.fitzgibbons@gmail.com>
Co-authored-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com>
Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com>
Co-authored-by: opensearch-ci-bot <opensearch-infra@amazon.com>
…earch-project#943)

* Refactor validation logic with a deeper interface

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Remove redundant test.

This test is unneeded after 12c4bcf

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Add tests for new validators

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Make better failure mode for invalid objects

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Convert validator methods to use result types

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

---------

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
* Apply yarn auto-lints

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Fix equalities

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Fix naming conventions

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Fix non-export issues

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Fix default exports

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Remove unused dependency

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

---------

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
* Update mocha

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Update mocha to 10.2.0

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Revert mocha to 10.1.0 for OSD compat.

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Remove random added yaml dep

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

---------

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
…conventions (opensearch-project#514)

* trace analytics v2 first remove expensive dashboard page

Signed-off-by: Derek Ho <dxho@amazon.com>

* get trace groups request working and mapping correctly

Signed-off-by: Derek Ho <dxho@amazon.com>

* get trace group filter fully working

Signed-off-by: Derek Ho <dxho@amazon.com>

* try some service map adjustments

Signed-off-by: Derek Ho <dxho@amazon.com>

* change to up down to fully show labels

Signed-off-by: Derek Ho <dxho@amazon.com>

* put dashboard in accordian at bottom of services and only make calls if it is open

Signed-off-by: Derek Ho <dxho@amazon.com>

* some changes to support dashboard content in accordian

Signed-off-by: Derek Ho <dxho@amazon.com>

* demo code

Signed-off-by: Derek Ho <dxho@amazon.com>

* fix tests

Signed-off-by: Derek Ho <dxho@amazon.com>

* remove dashboard from app analytics

Signed-off-by: Derek Ho <dxho@amazon.com>

* fix up with tests

Signed-off-by: Derek Ho <dxho@amazon.com>

* fix test

Signed-off-by: Derek Ho <dxho@amazon.com>

* revert only and extract to constant

Signed-off-by: Derek Ho <dxho@amazon.com>

* add auth const

Signed-off-by: Derek Ho <dxho@amazon.com>

* address self-PR review

Signed-off-by: Derek Ho <dxho@amazon.com>

* remove unecessary code

Signed-off-by: Derek Ho <dxho@amazon.com>

* change timeout to 25 seconds

Signed-off-by: Derek Ho <dxho@amazon.com>

* change to row in accordian

Signed-off-by: Derek Ho <dxho@amazon.com>

* update labels and tests

Signed-off-by: Derek Ho <dxho@amazon.com>

* update cypress test

Signed-off-by: Derek Ho <dxho@amazon.com>

* verify cypress tests work with changes

Signed-off-by: Derek Ho <dxho@amazon.com>

* remove accidental only

Signed-off-by: Derek Ho <dxho@amazon.com>

* address PR review comments

Signed-off-by: Derek Ho <dxho@amazon.com>

* make missing configuration more clear

Signed-off-by: Derek Ho <dxho@amazon.com>

* update snapshots

Signed-off-by: Derek Ho <dxho@amazon.com>

* update snapshot

Signed-off-by: Derek Ho <dxho@amazon.com>

---------

Signed-off-by: Derek Ho <dxho@amazon.com>
opensearch-project#928)

* added code for the change of design of the sidebar, fixed overriding spinner bug, changed font size

Signed-off-by: sumukhswamy <sumukhhs@amazon.com>

* addressed PR comments

Signed-off-by: sumukhswamy <sumukhhs@amazon.com>

* code for overriding pattern

Signed-off-by: sumukhswamy <sumukhhs@amazon.com>

* updated snapshots

Signed-off-by: sumukhswamy <sumukhhs@amazon.com>

---------

Signed-off-by: sumukhswamy <sumukhhs@amazon.com>
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #972 (952bab6) into feature/flint-UI (fe66220) will increase coverage by 0.58%.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##           feature/flint-UI     #972      +/-   ##
====================================================
+ Coverage             43.12%   43.71%   +0.58%     
====================================================
  Files                   303      313      +10     
  Lines                 18008    18714     +706     
  Branches               4386     4562     +176     
====================================================
+ Hits                   7766     8180     +414     
- Misses                10201    10492     +291     
- Partials                 41       42       +1     
Flag Coverage Δ
dashboards-observability 43.71% <ø> (+0.58%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 73 files with indirect coverage changes

@derek-ho derek-ho merged commit 6cd716b into opensearch-project:feature/flint-UI Sep 6, 2023
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.