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

REFACT: Tidied validator/profile calls #189

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Conversation

carlwilson
Copy link
Member

  • profile is now invoked after validation rather than as a branch in CLI;
  • added profiling via ValidationReport as half-way house before interface refactor;
  • added Rule checking via ValidationReport and provided a simple method in AbstractProfile that calls existing validate method;
  • improved some variable and method names;and
  • made some CLI methods static.

- profile is now invoked after validation rather than as a branch in CLI;
- added profiling via `ValidationReport` as half-way house before interface refactor;
- added Rule checking via `ValidationReport` and provided a simple method in `AbstractProfile` that calls existing `validate` method;
- improved some variable and method names;and
- made some CLI methods static.
@carlwilson carlwilson self-assigned this Sep 30, 2024
@carlwilson carlwilson added the enhancement New feature or request label Sep 30, 2024
@carlwilson carlwilson added this to the v0.14 milestone Sep 30, 2024
@carlwilson carlwilson merged commit 896339d into integration Sep 30, 2024
5 checks passed
@carlwilson carlwilson deleted the refact/profiling branch September 30, 2024 09:56
carlwilson added a commit that referenced this pull request Oct 16, 2024
* FEAT: Report blank namespaces (#187)

- blank namespace prefixes are now reported as `<no-prefix>` in the `DOC-8` message`;
- altered the `DOC-8` message to emphasise that prefixes are reported;
- refactored out collection of namespaces into a Uitls class; and
- removed trailing newline from `README` and template.

* FIX: Pre-requisite handling (#188)

- `POL-1` and `POL-2` are no longer pre-requisite rules, this means other policy rules will still run if these fail;
- cleaned up a bug in pre-requisite handling where Validation reports weren't generated;
- refactored the execution of Validation rules; and
- removed a few unused imports.

* REFACT: Tidied validator/profile calls (#189)

* REFACT: Tidied validator/profile calls

- profile is now invoked after validation rather than as a branch in CLI;
- added profiling via `ValidationReport` as half-way house before interface refactor;
- added Rule checking via `ValidationReport` and provided a simple method in `AbstractProfile` that calls existing `validate` method;
- improved some variable and method names;and
- made some CLI methods static.

* FIX: Minor style issue.

* REL: v0.14.0 (#190)

- bumped Maven version to v0.14.0;
- added updated versioned docs and README.md; and
- udpdated Maven site and JavaDocs.

* FIX: Pre-commit run. (#197)

* REL: v0.14.0

- bumped Maven version to v0.14.0;
- added updated versioned docs and README.md; and
- udpdated Maven site and JavaDocs.

* FIX: Pre-commit run.
@carlwilson carlwilson mentioned this pull request Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant