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

added POLICY_SPECIFICATION_FORMAT with possible values rawxml or xml.… #489

Closed
wants to merge 1 commit into from

Conversation

Banchio
Copy link

@Banchio Banchio commented Feb 22, 2024

Default value is rawxml.
I tried to maintain same approach as of now. Refactoring this to use pervasive DI would be a good maintainability improvement but out of scope for this PR.
As outline in #488 default extractor parameter is rawxml for policies file. Exported files may be read programmatically but more often than not, fails validation because of additional double quotes needed in particular instruction.
This PR adds a new parameter to choose between the two formats, default is as of today. Same parameter is added to the publisher as well. On this tool, publisher, an help with the tests would be greatly appreciated.

@guythetechie
Copy link
Contributor

guythetechie commented Feb 22, 2024

@Banchio - thanks for the PR, but we won't be accepting this for now. We're making significant changes to the codebase that include "pervasive DI" (as per your feedback). In the meantime, we're not accepting changes to the existing code unless they're trivial or fix critical bugs. We don't have the bandwidth now to review extensive changes.

The new code should be coming in the next few weeks. Please feel free to resubmit this feature then.

@Banchio
Copy link
Author

Banchio commented Feb 22, 2024

Thanks for the feedback, responded as well on the issue. Did not want to be rude for the "pervasive DI" stuff but did not find a better way to express the concept :)

@Banchio Banchio closed this Feb 22, 2024
@guythetechie
Copy link
Contributor

No offense taken. Understood what you meant, and it was perfectly fair feedback.

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.

2 participants