chore: rebase redfish branch with console v1.21.3#818
Closed
sudhir-intc wants to merge 17 commits intoredfishfrom
Closed
chore: rebase redfish branch with console v1.21.3#818sudhir-intc wants to merge 17 commits intoredfishfrom
sudhir-intc wants to merge 17 commits intoredfishfrom
Conversation
…ges/v2 (#795) Bumps [github.com/device-management-toolkit/go-wsman-messages/v2](https://github.com/device-management-toolkit/go-wsman-messages) from 2.36.1 to 2.36.2. - [Release notes](https://github.com/device-management-toolkit/go-wsman-messages/releases) - [Commits](device-management-toolkit/go-wsman-messages@v2.36.1...v2.36.2) --- updated-dependencies: - dependency-name: github.com/device-management-toolkit/go-wsman-messages/v2 dependency-version: 2.36.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Madhavi Losetty <madhavi.losetty@intel.com>
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.44.3 to 1.45.0. - [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md) - [Commits](https://gitlab.com/cznic/sqlite/compare/v1.44.3...v1.45.0) --- updated-dependencies: - dependency-name: modernc.org/sqlite dependency-version: 1.45.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Madhavi Losetty <madhavi.losetty@intel.com>
and should use configured log level
Prevent EnforceSecureBoot from being disabled when the device is in Client Control Mode (CCM). The bootOptions now checks the provisioning mode and returns a 400 error if EnforceSecureBoot is set to false in CCM.
…ring them (#778) * fix: handle password encryption errors in dtoToEntity functions * fix: handle errors in decrypt and fix UT
* feat: add KVM performance timing metrics and monitoring - Add histograms to track KVM connection setup timing: - Device lookup time from database - TCP connection establishment time - WebSocket upgrade duration - Total connection time - Consent code wait time - API request durations - Add metrics for KVM data flow performance: - Device-to-browser and browser-to-device write/send durations - Payload size distributions - Receive/read block times - Create recording functions for all metrics - Add detailed timing logs with KVM_TIMING prefix - Update tests to handle new timing metrics * refactor: replace manual REST endpoint instrumentation with go-gin-prometheus Replace manual timing instrumentation in individual REST endpoints with go-gin-prometheus middleware for automatic metrics coverage across all HTTP endpoints. Changes: - Add go-gin-prometheus dependency to provide standard HTTP metrics - Integrate Prometheus middleware in router for automatic instrumentation - Remove manual timing code from features, KVM displays, and power endpoints - Remove unused kvmAPIRequestSeconds metric and RecordAPIRequest function - Clean up unused time and devices package imports Benefits: - Automatic metrics for ALL REST endpoints (not just 3) - Standard HTTP metrics (duration, status codes, request/response sizes) - Less repetitive code and improved maintainability - Keeps all custom KVM connection and data flow metrics Addresses reviewer feedback in PR #761 --------- Co-authored-by: Mike <michael.johanson@intel.com>
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.45.0 to 1.46.1. - [Changelog](https://gitlab.com/cznic/sqlite/blob/master/CHANGELOG.md) - [Commits](https://gitlab.com/cznic/sqlite/compare/v1.45.0...v1.46.1) --- updated-dependencies: - dependency-name: modernc.org/sqlite dependency-version: 1.46.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: DevipriyaS17 <devipriya.s@intel.com>
…0.3 (#811) Bumps [github.com/zsais/go-gin-prometheus](https://github.com/zsais/go-gin-prometheus) from 1.0.2 to 1.0.3. - [Release notes](https://github.com/zsais/go-gin-prometheus/releases) - [Commits](zsais/go-gin-prometheus@v1.0.2...v1.0.3) --- updated-dependencies: - dependency-name: github.com/zsais/go-gin-prometheus dependency-version: 1.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… DHCP is false (#799) Co-authored-by: Madhavi Losetty <madhavi.losetty@intel.com>
Co-authored-by: Sudhir Pola <sudhir.pola@intel.com> Co-authored-by: Mike <michael.johanson@intel.com>
also ensure JWT signatures matches expected
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## redfish #818 +/- ##
==========================================
Coverage ? 34.24%
==========================================
Files ? 135
Lines ? 14125
Branches ? 0
==========================================
Hits ? 4837
Misses ? 8854
Partials ? 434 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or 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
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.
This PR rebases a branch created from tag
v1.21.3ontoredfishto preserve commit history while integrating redfish changes.Flow used:
rf-rebase-v1.21.3from tagv1.21.3rf-rebase-v1.21.3ontoredfishrf-rebase-v1.21.3toredfishNote: target branch is
redfish(notmain).