Changelog 1.1.0+
UI
Changelog v1.1.0
[#1189] fix query graphql
Bug fixes
Fix query graphQL, rename policy in governance_entity
Related issue
Closes #1189
[#1189] Fix query graphQL
Bug fixes
Fix query graphQL, rename policy in governance_entity
Related issue
Closes #1189
[#1172] Control panel is not displaying the correct label
New features and improvements
- Fix bug on threshold control panel component
- Add label field on control panel drawer
- Add tooltip to show value entirely on control panel drawer
- Fix bug on default color for threshold result component
- Fix bug on metric/policy wizard review to display resource preprocessing
Related issue
Closes #1172
[#1183] Hidden field resource preprocessing in metrics wizard
Bug fixes
Set to hidden strategy field and set default values based on form
Related issue
Closes #1183
[#1186] No label metrics are not visualized in the marketplace
Bug fixes
- Fixed "No label" metrics that are not displayed in the Marketplace
- Added the first error in the toast when creating/updating a metric/policy
Related issue
Closes #1186
[#1184] Resolve architectural docs links are broken
Bug fixes
- Fixed broken links in docs pointing to CGP docs
Related issue
Closes #1184
[#1169] In overview of metric and policy insert all field
New features and improvements
Added missing fields to policy and metric overview page
Related issue
Closes #1169
[#1174] Multiple metrics displayed in the marketplace
Bug fixes
- Fixed bug
Related issues
Closes #1174
[#1176] the name in the url does not match the menu item
Bug fixes
Edit wrong url root label
Related issue
Closes #1176
[#1180] Resolve "Change breakingChange to previousVsCurrent"
New features and improvements
Renamed the strategy breaking_change
to previous_vs_current
. This allows the user to understand what this preprocessing does, i.e. place the current version side by side with the latest one in the system
Related issue
Closes #1180
[#1178] Flag and Score Dialog displays incorrect links
Bug fixes
- Fixed incorrect index referred to links
Related issue
Closes #1178
[#1175] Fix UI docs broken
Bug fixes
Removed <br>
from docs.
Related issue
Closes #1175
[#1168] Ordering field in wizard metric and policy
New features and improvements
- Change order of fields inside metric/policy wizard
- Rename strategy field to Resource preprocessing
Related issue
Closes #1168
[#1171] More precise CTA in CGP create button
New features and improvements
- Made call to action for creating policy/metric in CGP clearer and matched the verbs used in documentation ("add" vs "create")
Related issue
Closes #1171
[#1170] Fix top failed policies time range
Bug fixes
Top failed policies time range
Related issue
Closes #1170
[#1167] Fix wizard metric
Bug fixes
Fix bug on metric wizard engine field.
Related issue
Closes #1167
[#1161] Resolve blueprint usage for component adding
Bug fixes
fix entity picker check on fetched entities
Related issue
Closes #1161
[#1148] improve metric wizard
Bug fixes
- Hidden field engine
- Hidden field interaction type, we put always 'User to Platform'
Related issue
Closes #1148
[#1140] Search Results Filters visibility
Bug fixes
Added filters on navigation from policies overview to search page
Related issue
Closes #1140
[#1166] Create a generic component to render the result of metric
New features and improvements
- Create new
ThresholdResult
component - Share default colors and types for thresholds
- Delete previous useless components
- Add new component on each of specified pages
Related issue
Closes #1166
[#1161] Resolve blueprint usage bug when adding a component
Bug fixes
Add the domain value after selecting a data product in the blueprint
Related issue
Closes #1161
[#1158] Switch Policy Overview page endpoints
New features and improvements
- Extended the
GovernanceApi
with stats endpoints - Top Failed and Inspector statistics (Policy Overview page) are now computed by calling the new CGP endpoints
- Added tooltips on the Inspector Table in the Policy Overview page
Related issue
Closes #1158, #982
[#1164] Insert a wrapper when visualize a metric/policy
Bug fixes
- Fix metric/policy overview
- Fix descriptor visualisation
- Fix long names
Related issue
Closes #1164 #1165
[#1163] Rename graphQL query with 'governance_entity'
New features and improvements
Rename graphQL query, table and field with 'governance_entity' concept.
Related issue
Closes #1163
[#1123] Add metric result in marketplace CGP results dialog
New features and improvements
Added metrics result in marketplace flag modal
Bug
Fixed bug on policies overview page when clicking on tags ellipsis on top 10 failed table, after opening the modal there was a wrong navigation on click event.
Related issue
Closes #1123
[#1153] Add metric test page/result
New features and improvements
- Add metric test page
- Add metric result page and related components
Related issue
Closes #1153
[#1162] Add event for new metric
New features and improvements
Add new event when we create new metric in CGP component
Related issue
Closes #1162
[#1116] Resolve bad rendering on Safari
Bug fixes
fix header logo rendering on Safari
Related issue
Closes #1116
[#1126] Threshold definition
New features and improvements
-
Transform environment input on editing from multiselect to select
-
Add new custom component to visualize thresholds and domain
-
Add resize observer to calculate the dimension of the thresholds line dynamically
-
Thresholds and domain inputs have following validation:
- Domain max and min value are required
- Domain max value cannot be higher than min
- Label is required
- Color is required
- Value is required
- Is not possible to insert two equal values
- If expression is (Above/Below)OrEqual
- If expression is Above/Below
- Label cannot have more than 64 chars
- Update app-config.yaml to include custom colors on
metrics:
thresholds:
colors:
- label: << String >>
value: << HexColor or StringColor >>
- Handle different type of threshold expression and update accordingly the chart based on following values:
- Above
- AboveOrEqual
- Below
- BelowOrEqual
- Add number formatter library to allow user to insert decimal and negative numbers
Breaking changes
- Update types to handle new thresholds schema
Related issue #1126
[#1099] Scaffolding errors more visible
New features and improvements
- Fixed the
DismissablePanel
component style to match the one of the errorAlertDisplay
- Fixed the nested Backstage error visualization for the affected actions of the scaffolder (e.g. the Backstage register action)
- Refactor the publish actions.
- Removed unused configuration variable
already_initialized_repository_enabled
. Updated documentation accordingly. - Fixed BitbucketServerRepositoryManager
getProjectSlug
,isRepoEmpty
methods.
Related issue
Closes #1099
[#1157] Restore governance config.d.ts
Bug fixes
- Restored config.d.ts in wb-governance
Related issue
Closes #1157
[#1144] Governance section breadcrumbs
Bug fixes
Fix Wrong name in breadcrumb in specific result page
Related issue
Closes #1144
[#1143] Menu and pages naming
New features and improvements
Change the name of menu item in Governance
Related issue
Closes #1143
[#1156] Add a configuration to disable blueprints
New features and improvements
Added a boolean configuration mesh.builder.scaffolder.blueprints.enabled
to enable/disable the blueprints.
Related issue
Closes #1156
[#1149] Adjust CGP policy and metric testing endpoints
New features and improvements
- Added test endpoint for metrics
- Improved configuration reading for the governance proxy plugin
Breaking changes
mesh.governance
section inapp-config
has been restructured
Migration
We must update the helm charts accordingly with the new app-config
structure for the mesh.governance
section
Bug fixes
- Fixed a bug that made metrics endpoints to be mandatory even if CGP metrics are disabled
Related issue
Closes #1149
[Closes #1147] feature: CI Simplification
New features and improvements
Removed build_vars job
Related issue
Closes #1147
[#1128] Strengthening the test suite for CGP
New features and improvements
- Added a new test to check the policy life circle. Here is a brief description of the steps of the test:
- Create a new cue policy
- Check "Draft" stance. Open the policy menu (three dots) and check available buttons, check that policy is editable
- Check "Grace" stance. Go from "Draft" to "Grace", again check the available buttons and check that policy is not editable
- Check "Disable" stance after "Grace", "New Version" function in that position. Go from "Grace" to "Disable". Check available buttons, create a new version, and check that it is not editable ("Disable"), but the new version has "Draft" status.
- Check "Enable" stance, "Publish" function. Go from "Disable" to "Enable", check available buttons, try to publish the policy, check the published policy button again, check that it is not editable.
- Check "Disable" stance after "Enable", "New Version" function in that position. Check available buttons, check that policy is not editable.
- Check "Deprecated" stance, and available buttons, and that policy is not editable.
- Clean all steps and results.
- Added fixes to existing tests
- Update chromedriver to version 113
Related issue
Closes #1128
[#1109] Refactor page Overview and Results
New features and improvements
Refactor page Overview|Results|Control Panel
Related issue
Closes #1109
[#1078] Auto-logout
New features and improvements
- Added Autologout to automatically logout users on idle after a certain amount of time
Related issue
Closes #1078
[#1145] Change the metric model
Bug fixes
- Fixed metric creation
Related issue
Closes #1145
[#1076] User headers
New features and improvements
- Introduced the
sensitive
flag on user configurations - Now the value of sensitive configurations can be redacted on-demand
- New
wb-user-headers
plugin (api and client to interact with the new user headers functionality) - User headers section in the Advanced Settings page
- User headers configurations under
mesh.userHeaders
- User headers forwarding functionality (toward the Coordinator)
- User headers documentation
- JWT token forwarding documentation
- Refactoring of the user settings section (Advanced Settings page) in order to make it aligned with the user headers one
Impacts
The user headers functionality is disabled by default (config mesh.userHeaders.enabled
to false
). The headers section will not be visible to the user and no headers will be forwarded to the coordinator until that configuration is enabled.
Related issue
Closes #1076, #1077, #1084
[#1135] Problems related to environmental change
New features and improvements
- Added
SelectEnvironmentRadio
component to select just one policy
Bug fixes
- Fixed the fact that updating the policy environment has not a consistent visualization
Related issue
Closes #1135
Default value of the cueScript field must be an empty string
Bug fixes
- Made the cue script to assume empty string as default value
Related issue
Closes #1136
[#590] Improve control panel features discovery
New features and improvements
Introduced some tooltips to better explain the functionalities of the control panel buttons.
Related issue
Closes #590
[Closes #1131] feature: [CGP] Runtime breaking change policies don't make sense
New features and improvements
Both in the new/update policy/metric forms is not possibile anymore to select strategy Breaking Change
when the selected timing is Runtime
Related issue
Closes #1131
[#1139] Resolve the test policy that is not working
Bug fixes
- Added a missing token in the request for the Test policy
Related issue
Closes #1139
[#1137] Selectors are not accepted in the create and update requests
Bug fixes
- Fixed a bug that prevented the creation/update of a policy or metric with selectors
Related issue
Closes #1137
[#1134] Policies Overview top 10 table is not fetching all the failed policies
Bug fixes
- Added
warning
,info
,bot_blocking_error
to the graphql query that fetches the top 10 fail policies. - Changed
Type
intoStrategy
in the top 10 table header
Related issue
Closes #1134
[#1108] Restore html and json fields in informative notification
New features and improvements
- Restore html and json fields in informative notifications and add parameters in notifications/by-event
- Make entity query parameter optional in notifications/by-event
Related issue
Closes #1108
[#979] New CGP policies results' search page
New features and improvements
Add the search policy page with filters and results' table.
Related issues
Closes #979
[#1129] Improve definition of done for issues
New features and improvements
Introduced the Definition of Done for all the Merge Requests.
This is a checklist of things to always check before putting the MR in review.
Since there is an open MR in Gitlab which is 5 years old to add a variable to reference the issue in the MR template, and no one seems to solve it, I decided to make the MR template the default, so the "Closes #{issue}" is automatically added.
Related issue
Closes #1129
[#1132] Resolve a missing validation entity in BlueprintProcessor
Bug fixes
- Added
validateEntityKind
method toBlueprintProcessor
to validate blueprint templates. - Added validation schema for blueprints.
Related issue
Closes #1132
[#1124] View, Test, and Delete buttons visibility in the metrics menu
Bug fixes
- With
cgp.entity.view
permission only set, the Test and Delete buttons are now not visible in each menu of the metrics. - With
cgp.entity.edit
permission set, the View button is now visible in each menu of the metrics.
Related issue
Closes #1124
[#1095] Documentation of change management helper center is very limited
New features and improvements
- Added 2 tables in
Notifications
:- Table to summarize all the events that trigger a notification.
- Table to describe recipients of each event.
- Fixed section in
Witboost configuration
.
Related issue
Closes #1095
[#1110] Introduce field trigger
New features and improvements
- Add new trigger field on policies/metrics
- Update queries to retrieve new field
- Update add/edit wizards to handle new constraints
Breaking changes
- Update types adding new Trigger enum ("Active", "Passive")
- Remove "Passive" from timing
- Update proxy requests to handle new endpoints about metrics
- Update proxy requests to adapt change on new version endpoint (from POST to PATCH)
Related issue
Closes #1110
[#1102] Autotests for CGP module
New features and improvements
- policy life circle up to the "grace"/"disable"/"publish" steps
- test to verify that the edit policy is only in the draft step
- got optimized way of tests (while creating dp or op) to save a LOT of time pipeline running.
- reworked test with negative deploy check (3-5)
- updated tests that check notifications (suit 6)
- fixed existing tests to check CGP module according to the current position
Related issue
Closes #1102
[#1013] Fix EntityPickers that show the internal ids of the entities
New features and improvements
Introduced a lot of classes that define how entities inside witboost are structured (as extensions of the basic Backstage ones). To enforce the definition, we added also the JSON schema for each of them, so methods that need to make validations can leverage the associated validators.
The EntityPicker
, EntitySelectionPicker
, and EntityComponentsPicker
classes have been updated, in order to display the human-friendly names of entities instead of the entities' identifiers.
Breaking changes
The allowArbitraryValues
flag was removed from all the aforementioned pickers since it would increase the possibility for users to make mistakes.
Related issue
Closes #1013
[#1118] Test and Delete buttons not visible in PoliciesRowMenu
New features and improvements
Made buttons visible when the user has the right permissions.
Related issue
Closes #1118
[#1117] hotfix: Errors in policy creation
Bug fixes
- Fixed resultType
- Fixed graphQL query
Related issue
Closes #1117
[#1113] Fix Policies Refactor
Bug fixes
- Fix policies filter ui
- Fix Cron field in create/edit
Related issue
Closes #1113
[#1101] CGP backend must send a request for each environment
New features and improvements
- Modified message toast when creating and updating a policy
- Modified the way the request is sent to the coordinator for policy creation and update
Bug fixes
- Fixed a mismatching between the coordinator response and PolicyValidateResult
Related issue
Closes #1101
[#1114] Update the EvaluationReport DTO
New features and improvements
- Aligned Evaluation Result DTO with the one contained in the coordinator
- Fixed some bugs
Related issue
Closes #1114
[#1083] Update the images in the official doc
New features and improvements
Changed the following images for the documentation:
- blueprint selecting
- selecting new DP while using a blueprint
- DP graph ("getting starting" and "dp details" pages)
- Updated the information about blueprint usage
Related issue
Closes #1083
[#1072] CGP permissions review
Breaking changes
- The governance menu is now visible only if the user has either
cgp.entity.view
orcgp.entity.edit
permissions. - with
cgp.entity.view
the user can only view the policies/metrics from the Registry. - with
cgp.entity.edit
the user can do all on policies/metrics from the Registry (view, create, edit, delete). - in the
Flag and Score
dialog, results are clickable only if either one of the 2 new permissions are set. - Backend blocks actions on policies/metrics (create, edit, delete) if user do not have
cgp.entity.edit
permission. - Frontend shows an
ErrorPanel
if the user does not havecgp.entity.view
orcgp.entity.edit
permissions and tries to navigate to a forbidden route
Migrations
backstage
db ->rbac.permissions
:- changed row id from
builder.policy.template.edit
tocgp.entity.view
- changed row id from
builder.policy.global.edit
tocgp.entity.edit
- changed row id from
Related Issue
Closes #1072
[#989] Restyle the output port marketplace page
New features and improvements
Align Output port page UI with new mock
Related issue
Closes #989 #1059
[#1112] Query params filters get lost when moving between policies and metrics
New features and improvements
- Create custom hook to handle query params using session storage
- Remove useless HOC
- Improve code reusability
Bug fixes
Fix bug on policies/metrics query params
Related issue
Closes #1112
[#1098] Update name field in provisioningPlan response
Bug fixes
Update provisioning plan api response type
Related issue
Closes #1098
[#1096] Refactor metric
New features and improvements
- Adapt metrics to have same features as policies
- Add multi select filters
- Add timing column
- Display badge on filters button
- Get applied filters from url params
- Adapt metrics to new BE changes
- Update metrics add/edit wizard to new constraints
- Update types
Related issue
Closes #1096
[#1103] Resolve "Refactor policies"
Breaking changes
Align policies views with the new BE structure
Related issue
Closes #1103
[#1073] Improving the policy suit
New features and improvements
- Split a bunch of tests that were in the same scenario into different tests
- Added a new test scenario when the user can add valid or invalid cron expression to the runtime policy
- Added new test scenario when the user tries to input invalid cue policy
- Corrected and improved existing autotests according to the current situation
Related issue
Closes #1073
[#967] Resolve "Edit Metric page"
New features and improvements
Add edit metrics page
Related issue
Closes #967
[#934] The Data Product gets added to the Builder even though the creation failed
New features and improvements
- Add a line in the documentation explaining to not create a data product repository/branch with the same name of a repository/branch deleted from Gitlab but not from the builder.
Related issue
Closes #934
[#980] Improve marketplace CGP results dialog
New features and improvements
- Added
i
icon and tooltip to show the description of every warning/error policy in theFlagAndScoreDialog
- Added authorization to view the link of the policy. The permission is set to
builder.policy.global.edit
- Increased width of the Flag Dialog
Related issue
Closes #980
[#1060] Show data product description in the marketplace main table
New features and improvements
Add the description column inside the catalog table.
Related issue
Closes #1060
[#971] Update the Marketplace db schema to handle versions in the right way
Breaking changes
- Modified Hasura queries for the marketplace in order to fetch version, descriptor, and private_descriptor from the DataProductInstance table.
Migration
- Added a migration to move descriptor, version, and private_descriptor field from DataProduct to DataProductInstance and to modify the content of the
private_descriptor
field of DataProductInstance, OutputPort, and Component tables
Related issue
Closes #971
[#1082] Fix helm package job
New features and improvements
Fixed a misconfiguration for the helm package job.
Related issue
Closes #1082
[#1070] Fix version consistency between the Docker image and the Helm chart
Bug fixes
CI configure Docker image correctly in Helm chart values file
Related issue
Closes #1070