Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

feat(bridge): Allow to configure sendStarted flag for webhook config #7183

Merged
merged 17 commits into from
Mar 30, 2022

Conversation

ermin-muratovic
Copy link
Member

This PR

  • allows the user to configure the sendStarted flag for a webhook configuration via Keptn Bridge

Related Issues

Fixes #6059

image

@ermin-muratovic ermin-muratovic force-pushed the feature/6059/send-started-event-flag-webhook branch from 156e967 to 7045f5f Compare March 17, 2022 09:41
Signed-off-by: ermin.muratovic <[email protected]>
@codecov
Copy link

codecov bot commented Mar 17, 2022

Codecov Report

Merging #7183 (c00815d) into master (5805214) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #7183      +/-   ##
==========================================
+ Coverage   58.55%   58.56%   +0.01%     
==========================================
  Files         528      528              
  Lines       30744    30753       +9     
  Branches     1508     1508              
==========================================
+ Hits        18001    18010       +9     
  Misses      11474    11474              
  Partials     1269     1269              
Impacted Files Coverage Δ
...bhook-settings/ktb-webhook-settings.component.html 100.00% <ø> (ø)
bridge/client/app/_services/api.service.mock.ts 70.39% <ø> (ø)
bridge/server/services/data-service.ts 61.92% <ø> (-0.07%) ⬇️
...webhook-settings/ktb-webhook-settings.component.ts 100.00% <100.00%> (ø)
bridge/server/models/webhook-config-yaml.ts 100.00% <100.00%> (ø)
bridge/shared/models/webhook-config.ts 100.00% <100.00%> (ø)
Flag Coverage Δ
bridge-server 66.68% <100.00%> (+0.02%) ⬆️
bridge2 73.51% <100.00%> (+0.03%) ⬆️

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

.assertIsSendFinishedButtonsEnabled(true)
.assertIsSendStarted(true)
.assertIsSendFinished(true);
});
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an additional test, to test for retrieved values, if the checkboxes are set correctly

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI tests are added ;)

@sonarcloud
Copy link

sonarcloud bot commented Mar 29, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thisthat thisthat merged commit 7117204 into master Mar 30, 2022
@thisthat thisthat deleted the feature/6059/send-started-event-flag-webhook branch March 30, 2022 11:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bridge: Add checkbox to set the sendStarted flag
3 participants