adobe / aio-cli-plugin-events

Adobe I/O CLI Plugin to manage Adobe I/O Events
https://www.adobe.io
Apache License 2.0
3 stars 11 forks source link

feat: register hooks for deploy/undeploy time event registration #56

Closed sangeetha5491 closed 1 year ago

sangeetha5491 commented 1 year ago

Description

Hooks are stubbed, and just output part of the config they are passed Pre-deploy-event hooks filter out registrations of journal type and create/update the registrations for the same based on information from the .aio file. Post-deploy-event hooks filter out registrations of webhook type ( runtime actions ) and create/update the registrations for the same based on information from the .aio file.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Merging #56 (a5777eb) into master (79fb96b) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #56   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        24    +3     
  Lines          499       595   +96     
  Branches        65        82   +17     
=========================================
+ Hits           499       595   +96     
Impacted Files Coverage Δ
src/hooks/post-deploy-event-reg.js 100.00% <100.00%> (ø)
src/hooks/pre-deploy-event-reg.js 100.00% <100.00%> (ø)
src/hooks/utils/hook-utils.js 100.00% <100.00%> (ø)
test/mocks.js 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more