-
Notifications
You must be signed in to change notification settings - Fork 182
BXMSDOC-6656 RN update DTAnalysis wired plugin (Kie7 RN) #2901
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
Merged
sterobin
merged 1 commit into
apache:master
from
tarilabs:tarilabs-20201006-BXMSDOC-6656
Oct 7, 2020
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
77 changes: 77 additions & 0 deletions
77
doc-content/drools-docs/src/main/asciidoc/DMN/dmn-validation-con.adoc
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
[id='dmn-validation-con_{context}'] | ||
= Configurable DMN validation in {PRODUCT} | ||
|
||
By default, the `kie-maven-plugin` component in the `pom.xml` file of your {PRODUCT} project uses the following `<validateDMN>` configurations to perform pre-compilation validation of DMN model assets and to perform DMN decision table static analysis: | ||
|
||
* `VALIDATE_SCHEMA`: DMN model files are verified against the DMN specification XSD schema to ensure that the files are valid XML and compliant with the specification. | ||
* `VALIDATE_MODEL`: The pre-compilation analysis is performed for the DMN model to ensure that the basic semantic is aligned with the DMN specification. | ||
* `ANALYZE_DECISION_TABLE`: DMN decision tables are statically analyzed for gaps or overlaps and to ensure that the semantic of the decision table follows best practices. | ||
|
||
You can modify the default DMN validation and DMN decision table analysis behavior to perform only a specified validation during the project build, or you can disable this default behavior completely, as shown in the following examples: | ||
|
||
.Default configuration for DMN validation and decision table analysis | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>VALIDATE_SCHEMA,VALIDATE_MODEL,ANALYZE_DECISION_TABLE</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to perform only the DMN decision table static analysis | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>ANALYZE_DECISION_TABLE</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to perform only the XSD schema validation | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>VALIDATE_SCHEMA</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to perform only the DMN model validation | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>VALIDATE_MODEL</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to disable all DMN validation | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>disable</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
NOTE: If you enter an unrecognized `<validateDMN>` configuration flag, all pre-compilation validation is disabled and the Maven plugin emits related log messages. |
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
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
51 changes: 51 additions & 0 deletions
51
...tes/ReleaseNotesDrools.7.34.0.Final/kie-dmn-validation-in-maven-plugin-con.adoc
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[id='kie-dmn-validation-in-maven-plugin-con'] | ||
|
||
= KIE DMN validation in Maven plugin | ||
|
||
The `kie-maven-plugin` component now performs default pre-compilation validation of DMN model assets. The `kie-maven-plugin` component includes the following enhancements: | ||
|
||
* DMN model files are verified against the DMN specification XSD schema to ensure that the files are valid XML and compliant with the specification. | ||
* The pre-compilation analysis is performed for the DMN model to ensure that the basic semantic is aligned with the DMN specification. | ||
|
||
You can modify the default DMN validation behavior to perform only a specified validation during the project build, or you can disable this default behavior completely, as shown in the following examples: | ||
|
||
.Default configuration for DMN validation | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>VALIDATE_SCHEMA,VALIDATE_MODEL</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to perform only the XSD schema validation | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>VALIDATE_SCHEMA</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to disable all DMN validation | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>disable</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
NOTE: If you enter an unrecognized `<validateDMN>` configuration flag, all pre-compilation validation is disabled and the Maven plugin emits related log messages. |
48 changes: 0 additions & 48 deletions
48
...seNotes/ReleaseNotesDrools.7.34.0.Final/kie-dmn-validation-in-maven-plugin.adoc
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...es/ReleaseNotesDrools.7.45.0.Final/ReleaseNotesDrools.7.45.0.Final-section.adoc
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[id='drools.releasenotesdrools.7.45.0'] | ||
|
||
= New and Noteworthy in Drools 7.45.0 | ||
|
||
include::kie-dmn-validation-in-maven-plugin-dtanalysis-con.adoc[leveloffset=+1] |
67 changes: 67 additions & 0 deletions
67
...NotesDrools.7.45.0.Final/kie-dmn-validation-in-maven-plugin-dtanalysis-con.adoc
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
[id='kie-dmn-validation-in-maven-plugin-dtanalysis-con'] | ||
|
||
= KIE DMN validation in Maven plugin | ||
|
||
The `kie-maven-plugin` component now performs DMN decision table static analysis, in addition to pre-compilation validation of DMN model assets. | ||
|
||
With this enhancement, the `kie-maven-plugin` component now includes the following features for pre-compilation and DMN decision table static analysis: | ||
|
||
* DMN model files are verified against the DMN specification XSD schema to ensure that the files are valid XML and compliant with the specification. | ||
* The pre-compilation analysis is performed for the DMN model to ensure that the basic semantic is aligned with the DMN specification. | ||
* DMN decision tables are statically analyzed for gaps or overlaps and to ensure that the semantic of the decision table follows best practices. | ||
|
||
You can modify the default DMN validation and DMN decision table analysis behavior to perform only a specified validation during the project build, or you can disable this default behavior completely, as shown in the following examples: | ||
|
||
.Default configuration for DMN validation and decision table analysis | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>VALIDATE_SCHEMA,VALIDATE_MODEL,ANALYZE_DECISION_TABLE</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to perform only the DMN decision table static analysis | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>ANALYZE_DECISION_TABLE</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to perform only the XSD schema validation | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>VALIDATE_SCHEMA</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
.Configuration to disable all DMN validation | ||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>org.kie</groupId> | ||
<artifactId>kie-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<validateDMN>disable</validateDMN> | ||
</configuration> | ||
</plugin> | ||
---- | ||
|
||
NOTE: If you enter an unrecognized `<validateDMN>` configuration flag, all pre-compilation validation is disabled and the Maven plugin emits related log messages. |
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.
Uh oh!
There was an error while loading. Please reload this page.