Open
Conversation
Contributor
|
Can we remove the |
kddejong
reviewed
May 22, 2024
src/rpdk/core/project.py
Outdated
| self.test_entrypoint = raw_settings["testEntrypoint"] | ||
| self.executable_entrypoint = raw_settings.get("executableEntrypoint") | ||
| self._plugin = load_plugin(raw_settings["language"]) | ||
| # self._plugin = load_plugin(raw_settings["language"]) |
Contributor
There was a problem hiding this comment.
? Whats the impact to this or why do we need to do this?
Contributor
Author
There was a problem hiding this comment.
my bad, this is just for my local setup. I included it by mistake
kddejong
approved these changes
May 22, 2024
* Implement canary file generation functionality from contract test inputs files * Implement canary file generation functionality from contract test inputs files * Bump version for release
…chInputs (#1074) * Implement canary file generation functionality from contract test input for Patch Canaries * Add functionality for add/remove operations. Fix dynamic variables * Refactor to use jsonpatch and improve naming.
…1078) * Add logging for canary auto generation * Refactor canarySettings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Description of changes:
This is a draft PR and subject to discussion.
This change enhances
cfn validatecommand by invoking https://github.com/aws-cloudformation/resource-schema-guard-rail/ for schema compliance evaluation.It invokes both stateful and stateless assessment.
Stateless
This evaluation runs on the current version of the resource schema
Stateful
This attempts to retrieve original schema from CloudFormation registry by calling
describe_type.If for whatever reason API call has not succeeded it will be recorded in logs but will not fail the command.
Some CX Considerations
API Call to Retrieve schema from registry is a default behavior for backward compatibility compliance assessment (stateful). Perhaps, it is useful to provide an argument to the user to specify static file of the original schema (without making an api call)
Example Output:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.