adobe / aio-cli-plugin-runtime

Adobe I/O Runtime plugin for the Adobe I/O CLI
https://www.adobe.io
Apache License 2.0
15 stars 31 forks source link

Generic implementation of interactive log-forwarding:set command #254

Closed buskamuza closed 2 years ago

buskamuza commented 2 years ago

Interactive command log-forwarding:set is not implemented in generic way.

Description

When new destinations are added in RuntimeAPI (https://github.com/adobe/aio-lib-runtime), those are automatically supported by the command (w/o necessity to modify the command code in this repository)

Related Issue

Motivation and Context

See Description.

How Has This Been Tested?

Automated and manual tests.

Screenshots (if appropriate):

Types of changes

Checklist:

codecov[bot] commented 2 years ago

Codecov Report

Merging #254 (fc4a834) into master (90f227e) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #254   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           64        64           
  Lines         1649      1643    -6     
  Branches       312       311    -1     
=========================================
- Hits          1649      1643    -6     
Impacted Files Coverage Δ
...c/commands/runtime/namespace/log-forwarding/set.js 100.00% <100.00%> (ø)
...e/namespace/log-forwarding/set/adobe-io-runtime.js 100.00% <100.00%> (ø)
...amespace/log-forwarding/set/azure-log-analytics.js 100.00% <100.00%> (ø)
...runtime/namespace/log-forwarding/set/splunk-hec.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 90f227e...fc4a834. Read the comment docs.