-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add Bwc test for Observability #310
Conversation
* Bump prismjs from 1.24.1 to 1.25.0 (opensearch-project#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](PrismJS/prism@v1.24.1...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump immer from 9.0.5 to 9.0.6 (opensearch-project#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](immerjs/immer@v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: immer dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Redirect legacy notebooks URL to current observability one (opensearch-project#141) * Move observability frontend to a sub directory (opensearch-project#142) * Add minimal plugin for backend observability (opensearch-project#143) * Add models for objects and requests (opensearch-project#144) * Add CRUD actions and index operations for observability objects (opensearch-project#145) * Update data modal and enable CI (opensearch-project#148) * Panels' visualization design change (opensearch-project#149) * modified common files * modified UI components * modified panel adaptor and router * moved loading to post http call * fixed prettier quotes * Feature timestamp (opensearch-project#152) * timestamp related changes Signed-off-by: Eric Wei <[email protected]> * cleanup Signed-off-by: Eric Wei <[email protected]> * removed loggings and change to console error Signed-off-by: Eric Wei <[email protected]> * remove unused sidebar component Signed-off-by: Eric Wei <[email protected]> * adding cancel button for edit & panel actions (opensearch-project#153) * Feature toasts errors handling (opensearch-project#155) * timestamp related changes Signed-off-by: Eric Wei <[email protected]> * cleanup Signed-off-by: Eric Wei <[email protected]> * removed loggings and change to console error Signed-off-by: Eric Wei <[email protected]> * remove unused sidebar component Signed-off-by: Eric Wei <[email protected]> * added toasts Signed-off-by: Eric Wei <[email protected]> * resolved build failure Signed-off-by: Eric Wei <[email protected]> * couple of error handling changes Signed-off-by: Eric Wei <[email protected]> * added types Signed-off-by: Eric Wei <[email protected]> * Autocomplete only displays current command (opensearch-project#157) * Only show current command in suggestion Signed-off by: Eugene Lee <[email protected]> * Remove console logs Signed-off by: Eugene Lee <[email protected]> * Only display suggestion Signed-off by: Eugene Lee <[email protected]> * Removed commas Signed-off by: Eugene Lee <[email protected]> * Remove import Signed-off by: Eugene Lee <[email protected]> * changed to support query without 'search' prefix (opensearch-project#158) Signed-off-by: Eric Wei <[email protected]> * Remove app analytics (opensearch-project#154) * removing app analytics from sidenav * removed unused headers * added trace analytics as default page * Use JS API to redirect legacy notebooks URL (opensearch-project#162) * Panels bug fix#1 (opensearch-project#159) * fixed UI bugs #1 * folder name typo fix * changes for adopting new sql artifact (opensearch-project#165) * changes for adopting new sql artifact Signed-off-by: Eric Wei <[email protected]> * minor changes Signed-off-by: Eric Wei <[email protected]> * Improve reindex handling for .opensearch-notebooks (opensearch-project#163) * inherited datepicker format from settings (opensearch-project#164) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <[email protected]> Co-authored-by: Shenoy Pratik <[email protected]> Co-authored-by: Eric Wei <[email protected]> Co-authored-by: eugenesk24 <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #310 +/- ##
=========================================
Coverage 71.86% 71.86%
Complexity 269 269
=========================================
Files 81 81
Lines 2804 2804
Branches 334 334
=========================================
Hits 2015 2015
Misses 624 624
Partials 165 165
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
DCO check is failing- also I see commits from a few months ago that don't look related to the BWC testing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you try to remove the resource/bwc/1.2.0-SNAPSHOT/opensearch-observability-1.2.0.0-SNAPSHOT.zip
file and see if it works? trying to reduce git overhead
@@ -165,9 +168,13 @@ abstract class PluginRestTestCase : OpenSearchRestTestCase() { | |||
exception.response | |||
} | |||
if (expectedRestStatus != null) { | |||
// println("response is $response") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you remove these comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah okay. I'll remove them
@@ -165,9 +168,13 @@ abstract class PluginRestTestCase : OpenSearchRestTestCase() { | |||
exception.response | |||
} | |||
if (expectedRestStatus != null) { | |||
// println("response is $response") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove any commented-out lines of they are not necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah okay. I'll remove them
@Throws(IOException::class) | ||
@After | ||
open fun wipeAllOpenSearchIndices() { | ||
if (preserveOpenSearchIndicesAfterTest()) return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When does this if condition trigger?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this condition is set true in the IT created for bwc testing, so whenever BWC IT get's triggered this condition is triggered too
Yeah those commits are not related to bwc and i'm not sure how it was included in this, but i removed those unnecessary files |
Got it - my guess is maybe some leftover local branch that contained those old commits was used at some point. Could you resolve the DCO failure? |
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
Yeah i'm trying that currently |
Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
…lized_api profiler/api: Conform the changes in the WriteRaw API
Description
Issues Resolved
#276
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.