Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Origin/custom writer #319

Merged

Conversation

akshayrane
Copy link
Collaborator

Issue #, if available:

Description of changes:

  • Added custom writer for adding validation to verbose output for Guard CLI

Co-authored by : @joshfried-aws


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@akshayrane akshayrane merged commit dc7361a into aws-cloudformation:custom_writer Jan 19, 2023
joshfried-aws added a commit that referenced this pull request Jan 31, 2023
…n test framework, and adding initial tests for all commands (#325)

* Origin/custom writer (#319)

* Added build targets to release workflow

* Added build targets to release workflow

* Moved TARGETS env variable

* Removed JSON variable

* Added OS-specific runs

* Removed external dependency

* Added braces to target in path

* Reverting to OS-specific runs

* Fixed indent

* temp commit with temp fix for DI on execute method

* small fix + implementing poc for a test

* Added initial tests for verbose output validation

* Refactoring to add Writer across all commands

* Minor refactoring, removed unused imports

* rename from_utf8 to into_string due to clippy warning

* fixed bug from renaming from_utf8

Co-authored-by: Akshay Rane <raneaks@amazon.com>
Co-authored-by: Josh Fried <joshfri@amazon.com>

* Set all field in rules file to serialize with recursive singleton map  (#320)

* testing rust-fmt action with incorectly formatted file

* reverting previous commit

* testing rust-fmt action with incorectly formatted file

* reverting previous commit

* fixed serialization issues for enums

* cleanup

* Refactored resources and tests directory (#321)

Co-authored-by: Akshay Rane <raneaks@amazon.com>

* [Code Quality]: Improve test coverage (#322)

* testing rust-fmt action with incorectly formatted file

* reverting previous commit

* testing rust-fmt action with incorectly formatted file

* reverting previous commit

* create test runners for validate, parse-tree, and test. refactored tests in validate to use rstest + added new test cases. added parse-tree test cases

* removed unneeded cargo_test2 fn

* removing unused cargo_test fn

* rust fmt

* more parse-tree tests

* fixes as per comments

* rustfmt

* Custom writer (#323)

* Adding license info for indoc

* Added tests for migrate and rulegen, added constants for status codes, incorporated writer into test command

* Formatting changes

* Corrected typos in resource file paths

* Added license info for strip-ansi-escapes library

---------

Co-authored-by: Akshay Rane <raneaks@amazon.com>

* [Code Quality]: Unit tests for yaml loader  (#324)

* testing rust-fmt action with incorectly formatted file

* reverting previous commit

* testing rust-fmt action with incorectly formatted file

* reverting previous commit

* more parse-tree tests

* fixes as per comments

* added tests for laoder and fixed some bugs found while writing tests

* removed unneeded use

---------

Co-authored-by: Akshay Rane <aks.rane@gmail.com>
Co-authored-by: Akshay Rane <raneaks@amazon.com>
joshfried-aws added a commit to joshfried-aws/cloudformation-guard that referenced this pull request Jan 31, 2023
* Added build targets to release workflow

* Added build targets to release workflow

* Moved TARGETS env variable

* Removed JSON variable

* Added OS-specific runs

* Removed external dependency

* Added braces to target in path

* Reverting to OS-specific runs

* Fixed indent

* temp commit with temp fix for DI on execute method

* small fix + implementing poc for a test

* Added initial tests for verbose output validation

* Refactoring to add Writer across all commands

* Minor refactoring, removed unused imports

* rename from_utf8 to into_string due to clippy warning

* fixed bug from renaming from_utf8

Co-authored-by: Akshay Rane <raneaks@amazon.com>
Co-authored-by: Josh Fried <joshfri@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants