Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating 1.x branch with latest from 1.3.x (#403)
* Fix release notes version (#28) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Migrate Reporting Notebooks Integration (#21) Signed-off-by: David Cui <davidcui@amazon.com> * Add Logic to Auto-populate Notebooks from Context Menu (#30) Signed-off-by: David Cui <davidcui@amazon.com> * Change opendistro to opensearch in email template (#31) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix case sensitive directory name for chromium zip (#35) Signed-off-by: David Cui <davidcui@amazon.com> Co-authored-by: Carl Meadows <47793022+CarlMeadows@users.noreply.github.com> Co-authored-by: Zhongnan Su <szhongna@amazon.com> Co-authored-by: Joshua Li <joshuali925@gmail.com> * Use output_only Parameter for notebook reports (#32) Signed-off-by: David Cui <davidcui@amazon.com> * replace osd-version header to remove need for version number matching (#37) Signed-off-by: David Cui <davidcui@amazon.com> * Remove visualization editor in visualization reports (#50) Signed-off-by: Joshua Li <joshuali925@gmail.com> * add condition to fix negative value display (#51) Signed-off-by: David Cui <davidcui@amazon.com> * [Query Builder] Correctly handle match phrases when a single value is specified or when the match phrases is negated (#33) * [Build query] Correctly handle phrases filter that specify only one single value Contrary to the phrase filter type which always specify a meta.params.query, the phrases filter type never specify a meta.params.query even when a single value is selected. This anomaly trigger an error generated by the MonoFieldQueryBase included in the elastic-builder dependency and prevent the generation of the report. Signed-off-by: Kévin Masseix <masseix.kevin@gmail.com> * [Build query] Correctly handle negated phrases filter that specify only one single value Signed-off-by: Kévin Masseix <masseix.kevin@gmail.com> * [Build query] Correctlty handle negated phrases to exclude them from the report instead of including them Signed-off-by: Kévin Masseix <masseix.kevin@gmail.com> * Pass processing if doc[field] == null (#361) Pass processing if doc[field] == null Based on opendistro-for-elasticsearch/kibana-reports#327 (comment) * add test case for commit 368eb03e200b755870f1ad373e67561201ab6f31 (#370) Add missing test case for the fix "pass doc[field] == null" * Unhash page url in case store URLs in session storage is enabled from Kibana advanced setting (#371) * Update Namespaces/APIs/Documentation for OpenSearch (#55) Signed-off-by: David Cui <davidcui@amazon.com> * bump path-parse version to 1.0.7 to address CVE (#59) Signed-off-by: David Cui <davidcui@amazon.com> * increase chromium timeout to 100s (#58) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Fix csv parsing function (#53) * Fix csv parsing function Signed-off-by: Joshua Li <joshuali925@gmail.com> * Flatten nested results for csv Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add test case for nested fields Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add release notes for rc1 (#60) Signed-off-by: David Cui <davidcui@amazon.com> * configure index settings to have default 1 replica and auto-expand upperbound 2 (#62) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Rc1 release note patch (#63) Signed-off-by: David Cui <davidcui@amazon.com> * Bump OpenSearch Dashboards version to 1.0 (#64) Signed-off-by: David Cui <davidcui@amazon.com> * Revert .opensearch_dashboards index references to .kibana (#67) Signed-off-by: David Cui <davidcui@amazon.com> * Add diagrams for integration with Notifications plugin (#75) * add puml diagrams for integration with Notifications plugin Signed-off-by: David Cui <davidcui@amazon.com> * amend Notifications plugin naming in diagram Signed-off-by: David Cui <davidcui@amazon.com> * Add i18n translation support (#362) * PDF report is no more a screenshot, increasing the overall quality Also a issue with chrome font rendering was fixed * Add Notifications to docs (#87) * moved docs to root folder, update readme to include Notifications roadmap Signed-off-by: David Cui <davidcui@amazon.com> * update readme to clarify current status of supported features Signed-off-by: David Cui <davidcui@amazon.com> * Better support sorting for csv report based on saved search (#86) * Change Delivery Request Body for Notifications (#85) * adding opensearch changed api for report definition to save branch Signed-off-by: David Cui <davidcui@amazon.com> * change delivery request body, update test cases Signed-off-by: David Cui <davidcui@amazon.com> * remove console.log statement, fix DeliveryType type members to use snake case Signed-off-by: David Cui <davidcui@amazon.com> * convert all snake case to camel case Signed-off-by: David Cui <davidcui@amazon.com> * make configId required in schema Signed-off-by: David Cui <davidcui@amazon.com> * Remove legacy notifications/delivery related code (#94) * remove legacy notifications/delivery related code Signed-off-by: David Cui <davidcui@amazon.com> * remove commented out reference Signed-off-by: David Cui <davidcui@amazon.com> * Remove dependency on demo.elastic and use local mock html for testing (#100) * Add code cov back (#98) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * update workflow to rename artifact in kebab case (#102) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * bump dependency version (#101) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * level up markdowns and readme (#97) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Bump to version 1.0.0.0 (#103) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Bump test resource(job-scheduler) to 1.0.0.0 (#105) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * fix failed cypress integ-testing (#106) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Bump node version, fix workflow and gradle build (#108) * Bump nodejs version to keep up with upstream Signed-off-by: Zhongnan Su <szhongna@amazon.com> * fix github workflow Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Add release notes for 1.0.0.0 (#104) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Fix notebooks context menu (#109) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix context menu download request body after schema change to add notifiaction (#115) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Exclude time range from report details for Notebooks (#117) * exclude time range check for notebooks reports Signed-off-by: David Cui <davidcui@amazon.com> * use report source identifier over url partial match Signed-off-by: David Cui <davidcui@amazon.com> * add report details fix to release notes Signed-off-by: David Cui <davidcui@amazon.com> * add more bug fixes to release notes Signed-off-by: David Cui <davidcui@amazon.com> * Update regex for notebooks reports (#118) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add integtest script to the repo Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Improve osd bootstrap on dub directory Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Improve osd bootstrap on dub directory Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Exclude Faulty Integration Test (#122) Exclude broken ITs from upstream OpenSearch * Fix cypress reporting (#123) * fix create test Signed-off-by: David Cui <davidcui@amazon.com> * toggle video on for cypress testing (#124) Signed-off-by: David Cui <davidcui@amazon.com> * Update Doc Links (#127) * update doc links in dashboards-reports Signed-off-by: David Cui <davidcui@amazon.com> * Update template to reflect new branding (#128) Signed-off-by: kgcreative <kvngar@amazon.com> * Update UI for Notifications Integration (#126) Update reporting front-end for Notifications integration Signed-off-by: David Cui <davidcui@amazon.com> * Add themed logo to README (#130) Signed-off-by: Miki <mehranb@amazon.com> * Fix url validation (#132) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix url validation for context menu (#134) * Fix url validation for context menu Signed-off-by: Joshua Li <joshuali925@gmail.com> * Fix url validation Signed-off-by: Joshua Li <joshuali925@gmail.com> * Connect Notifications APIs to Reporting (#131) * call notifications APIs from reporting, saving progress Signed-off-by: David Cui <davidcui@amazon.com> * enable notifications integration, update view in details pages, update tests Signed-off-by: David Cui <davidcui@amazon.com> * address comments, add server APIs to call backend notifications APIs to reduce dependency Signed-off-by: David Cui <davidcui@amazon.com> * add get_event API to confirm test messages are sent successfully and throw error if not Signed-off-by: David Cui <davidcui@amazon.com> * add input validation for delivery subject and message, hide notifications section if opensearch notifications is not installed Signed-off-by: David Cui <davidcui@amazon.com> * renamed constant for notifications to follow API_PREFIX convention Signed-off-by: David Cui <davidcui@amazon.com> * rename notifications constant to reporting_notifications Signed-off-by: David Cui <davidcui@amazon.com> * add list of failed channels on test message failure Signed-off-by: David Cui <davidcui@amazon.com> * Fix snapshot build and upgrade to OpenSearch 1.1. (#140) Signed-off-by: dblock <dblock@amazon.com> * Add release notes for 1.0.1 release (#143) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Bump to 1.1 in main (#150) * bump version to 1.1, hide delivery section Signed-off-by: David Cui <davidcui@amazon.com> * Dont hide delivery by default Signed-off-by: David Cui <davidcui@amazon.com> * bump version to 1.1 in dashboards reports workflow Signed-off-by: David Cui <davidcui@amazon.com> * fix OSD branch to use main Signed-off-by: David Cui <davidcui@amazon.com> * change from main to 1.x for dashboards version Signed-off-by: David Cui <davidcui@amazon.com> * Bump opensearch ref to 1.1 in CI (#155) * Removed integtest.sh. (#157) Signed-off-by: dblock <dblock@dblock.org> * Taking RBAC settings from Alerting plugin default to false Other changes: 1. Legacy settings removed because all relavent settings are removed or taken from Alerting plugin 2. Poll API removed as it is not used [Tests] All existing tests passed Signed-off-by: @akbhatta * Bump tmpl from 1.0.4 to 1.0.5 in /dashboards-reports (#164) Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix quoting and url-encoding (#153) * Replace '%2F' with '/' in relative dates Signed-off-by: Konstantin Roussou <konstantin.roussou@syncier.com> * Ensure proper quoting of converted dates in URL Signed-off-by: Konstantin Roussou <konstantin.roussou@syncier.com> * Use generic URL decoding Co-authored-by: Zhongnan Su <szhongna@amazon.com> * Use roundUp for toDate Co-authored-by: Zhongnan Su <szhongna@amazon.com> * Make date transformation same as in context_menu_helpers.js Co-authored-by: Zhongnan Su <szhongna@amazon.com> * Integrate notifications backend (#129) * Remove hard coded localhost when calling API (#172) * rename plugin helper config file name to consistent with OSD (#180) Signed-off-by: Tengda He <tengh@amazon.com> * Add metrics for sending notifications (#173) * Add logic to build report detail page link and send as part of message for non-email channels (#182) * forward origin plus basePath to backend * Add build report link function and forward link as part of message * Update validation for observability notebooks integration (#174) * Build email message from template with reports links (#184) * remove the email tempalte and helpers from dashboards plugin * build email message from template for reporting notifcation Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Support range filters for csv reports (#185) * Forward extra headers while using headless chromium (#194) * Use advanced settings for date format in csv reports (#186) * add check in ReportInstanceActions to fix on demand report creation after report definition creation (#196) Signed-off by: David Cui <davidcui@amazon.com> * Catch Notifications Errors on Details Pages (#197) * add catch statements to notifications get_configs to avoid crashing details pages Signed-off by: David Cui <davidcui@amazon.com> * remove console log statment Signed-off by: David Cui <davidcui@amazon.com> * remove notifications integration from details pages and update snapshots (#210) Signed-off-by: David Cui <davidcui@amazon.com> * fix csv missing metadata fields issue and empty report on all(_source) fields (#206) * remove notifications references from create and edit report definition pages (#212) Signed-off by: David Cui <davidcui@amazon.com> * refactor logic for creating DSL from saved object using buildOpensearchQuery() (#213) * Remove calling notifications in reports scheduler (#211) * Use advanced settings for csv separator and visual report timezone (#209) * Bump to version 1.2 (#203) * Bump to version 1.2 Bump OpenSearch and OpenSearch Dashboards plugins to 1.2 Related issue: #167 Signed-off-by: Kawika Avilla <kavilla414@gmail.com> * Use maven for building reports scheduler Signed-off-by: Joshua Li <joshuali925@gmail.com> Co-authored-by: Joshua Li <joshuali925@gmail.com> * Add dco and release drafter workflows (#217) Signed-off-by: Joshua Li <joshuali925@gmail.com> * update readme notification section (#216) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * revert paths to opendistro to keep cluster permissions same with ODFE (#218) Signed-off-by: David Cui <davidcui@amazon.com> * Create opensearch-dashboards-reports.release-notes-1.2.0.0.md Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Update the copyright notices to reflect OpenSearch Contributors (#220) * update the copyright notices to reflect OpenSearch Contributors Signed-off-by: David Cui <davidcui@amazon.com> * add .txt to NOTICE to resolve linkchecker error Signed-off-by: David Cui <davidcui@amazon.com> * changes Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * changes Signed-off-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> * Remove notifications actions in reports scheduler (#221) Signed-off-by: Joshua Li <joshuali925@gmail.com> * add reporting osd server configurations (#222) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Add suggested font packages in troubleshooting tips (#189) * add suggested font packages in troubleshooting tips Signed-off-by: David Cui <davidcui@amazon.com> * add links to package documentation in README for font packages Signed-off-by: David Cui <davidcui@amazon.com> * add more descriptive title under Troubleshooting Signed-off-by: David Cui <davidcui@amazon.com> * add link to headless-chrome installation and add ipa-gothic-fonts link to centos 7 Signed-off-by: David Cui <davidcui@amazon.com> * Update Copyright Headers (#226) * update copyright header for all files Signed-off-by: David Cui <davidcui@amazon.com> * fix ktlint errors with extra whitespace Signed-off-by: David Cui <davidcui@amazon.com> * Add support for codeowners to repo (#227) Signed-off-by: Ryan Bogan <rbogan@amazon.com> * Fix reporting validation for observability (#231) * Update reporting validation for observability Signed-off-by: Joshua Li <joshuali925@gmail.com> * update tests Signed-off-by: Joshua Li <joshuali925@gmail.com> * remove poller code from frontend plugin (#235) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * bump reports-scheduler to 1.3 (#241) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Fix apt source and link checker for CI (#245) * Update apt source in CI Signed-off-by: Joshua Li <joshuali925@gmail.com> * Try fix link checker Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add Case Coverage tests for Create Report Definition (#239) * add & refactor cypress tests, add css selectors in report settings & report trigger Signed-off-by: David Cui <davidcui@amazon.com> * remove comment and update jest snapshot Signed-off-by: David Cui <davidcui@amazon.com> * add bwc test for reports-scheduler (#244) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * added code summary table (#243) * added code summary table Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * modularized tables, fixed links Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated header, changed bwc link Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * Add Cypress Case Coverage on Details Pages (#250) * add and refactor cypress tests for details pages Signed-off-by: David Cui <davidcui@amazon.com> * update jest snapshots Signed-off-by: David Cui <davidcui@amazon.com> * add utils.js file to store functions used in multiple cypress tests Signed-off-by: David Cui <davidcui@amazon.com> * add gradle task to run integtest against remote cluster (#247) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * added untriaged and nolabel badges Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * bump dashboards-reports version to 1.3 (#265) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * add UT for request/reseponse model (#264) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Add .whitesource configuration file * Address Reporting CVEs (#267) * update vulnerable package versions Signed-off-by: David Cui <davidcui@amazon.com> * change ansi-regex to 5.0.1 to pass bootstrap Signed-off-by: David Cui <davidcui@amazon.com> * update yarn lock for cve fixes (#271) Signed-off-by: David Cui <davidcui@amazon.com> * add release notes for 1.2.4 Signed-off-by: David Cui <davidcui@amazon.com> * remove jcenter repo from gradle build Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * update guava to 31.0.1-jre Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * WS package update (#283) * updated ws version Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * moved ws package to resolutions Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * updated yarn lock Signed-off-by: Shenoy Pratik <sgguruda@amazon.com> * add auto-backport functionality for reporting (#286) Add auto-backport and auto-delete workflows for reporting Signed-off-by: David Cui <davidcui@amazon.com> * Change Default CI version to JDK 11 (#290) * change default CI version to JDK 11, add JDK versions to CI matrix and document changes in developer guide Signed-off-by: David Cui <davidcui@amazon.com> * remove incorrect tag form issue template (#294) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Fix empty or multiple date values in csv (#293) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Update the saved object id matcher regex to match custom id (#295) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Replace Centos links to fix link checker CI (#297) exclude centos links from linkchecker Signed-off-by: David Cui <davidcui@amazon.com> * update regex to match custom saved object id (#298) Signed-off-by: Zhongnan Su <szhongna@amazon.com> * Fix reporting uuid parsing (#300) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Add java 8 support in compile and test (#304) (#305) * add java 8 support in compile and test Signed-off-by: Zhongnan Su <szhongna@amazon.com> (cherry picked from commit e753b07) Co-authored-by: Zhongnan Su <szhongna@amazon.com> * Add 1.3 release notes (#307) (#308) * Add 1.3 release notes Signed-off-by: Zhongnan Su <szhongna@amazon.com> (cherry picked from commit 2e904c5) Co-authored-by: Zhongnan Su <szhongna@amazon.com> * Bump version to 1.3.1 (#324) Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> * Bump reports dashboards to 1.3.1 (#331) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Incremented version to 1.3.2. (#352) Signed-off-by: Zelin Hao <zelinhao@amazon.com> * Version bump 1.3.3 Signed-off-by: pgodithi <pgodithi@amazon.com> * Version bump 1.3.3 Signed-off-by: pgodithi <pgodithi@amazon.com> * Version bump 1.3.3 Signed-off-by: pgodithi <pgodithi@amazon.com> * [1.3] Bump minimist to 1.2.6 (#367) Signed-off-by: Joshua Li <joshuali925@gmail.com> * Move HTML sanitization from client to server side (#382) (#386) Move HTML sanitization to server, store markdown over HTML, remove unused imports Signed-off-by: David Cui <davidcui@amazon.com> Co-authored-by: David Cui <53581635+davidcui1225@users.noreply.github.com> * Incremented version to 1.3.4. (#389) * Incremented version to 1.3.4. Signed-off-by: Zelin Hao <zelinhao@amazon.com> * Add JS snapshot Signed-off-by: Zelin Hao <zelinhao@amazon.com> * Add release notes for 1.3.4.0 (#393) (#394) Signed-off-by: Joshua Li <joshuali925@gmail.com> (cherry picked from commit 8e01eaa) Co-authored-by: Joshua Li <joshuali925@gmail.com> Co-authored-by: Zhongnan Su <szhongna@amazon.com> Co-authored-by: David Cui <53581635+davidcui-amzn@users.noreply.github.com> Co-authored-by: Joshua <joshuali925@gmail.com> Co-authored-by: Carl Meadows <47793022+CarlMeadows@users.noreply.github.com> Co-authored-by: Kevin Masseix <masseix.kevin@gmail.com> Co-authored-by: Uzhinskiy Boris <lspci@mail.ru> Co-authored-by: David Cui <davidcui@amazon.com> Co-authored-by: starcatter <30572485+starcatter@users.noreply.github.com> Co-authored-by: Elias Soares <esoares@iget.com.br> Co-authored-by: Peter Zhu <zhujiaxi@amazon.com> Co-authored-by: Kevin Garcia <hello@kevingarcia.me> Co-authored-by: Miki <mehranb@amazon.com> Co-authored-by: David Cui <53581635+davidcui1225@users.noreply.github.com> Co-authored-by: Daniel Doubrovkine (dB.) <dblock@dblock.org> Co-authored-by: Anantha Krishna Bhatta <banantha@amazon.com> Co-authored-by: Anantha Krishna Bhatta <31894175+akbhatta@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kroussou <58224693+kroussou@users.noreply.github.com> Co-authored-by: Tengda-He <89666799+Tengda-He@users.noreply.github.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com> Co-authored-by: Kavitha Conjeevaram Mohan <kavithamohan0404@gmail.com> Co-authored-by: Kavitha Conjeevaram Mohan <mohakavi@amazon.com> Co-authored-by: Ryan Bogan <10944539+ryanbogan@users.noreply.github.com> Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com> Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Co-authored-by: Zelin Hao <87548827+zelinh@users.noreply.github.com> Co-authored-by: pgodithi <pgodithi@amazon.com> Co-authored-by: Anirudha (Ani) Jadhav <anirudha@nyu.edu>
- Loading branch information