Compare commits
No commits in common. "master" and "4.443.0" have entirely different histories.
@ -25,8 +25,7 @@ fforesight:
|
|||||||
ignored-endpoints: [ '/redaction-gateway-v1', '/actuator/health/**',"/api/rules-logging/rulesocket","/api/rules-logging/rulesocket/**", '/redaction-gateway-v1/async/download/with-ott/**',
|
ignored-endpoints: [ '/redaction-gateway-v1', '/actuator/health/**',"/api/rules-logging/rulesocket","/api/rules-logging/rulesocket/**", '/redaction-gateway-v1/async/download/with-ott/**',
|
||||||
'/internal-api/**', '/redaction-gateway-v1/docs/swagger-ui', '/rules/test',
|
'/internal-api/**', '/redaction-gateway-v1/docs/swagger-ui', '/rules/test',
|
||||||
'/redaction-gateway-v1/docs/**','/redaction-gateway-v1/docs',
|
'/redaction-gateway-v1/docs/**','/redaction-gateway-v1/docs',
|
||||||
'/api', '/api/','/api/docs/**','/api/docs','/api/docs/swagger-ui',
|
'/api', '/api/','/api/docs/**','/api/docs','/api/docs/swagger-ui' ]
|
||||||
'/actuator/prometheus' ]
|
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
|
|||||||
@ -1584,23 +1584,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.7
|
// Rule unit: X.7
|
||||||
rule "X.7.0: Remove all images"
|
rule "X.7.0: Remove all images"
|
||||||
salience 512
|
salience 512
|
||||||
|
|||||||
@ -1315,7 +1315,6 @@ rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.3
|
|
||||||
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -1385,23 +1384,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -2079,7 +2079,6 @@ rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.3
|
|
||||||
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -2149,23 +2148,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -1451,7 +1451,6 @@ rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.3
|
|
||||||
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -1521,23 +1520,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.7
|
// Rule unit: X.7
|
||||||
rule "X.7.0: Remove all images"
|
rule "X.7.0: Remove all images"
|
||||||
salience 512
|
salience 512
|
||||||
|
|||||||
@ -1042,7 +1042,6 @@ rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.3
|
|
||||||
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -1112,23 +1111,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -363,7 +363,6 @@ rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.3
|
|
||||||
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -433,23 +432,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -1408,23 +1408,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -423,7 +423,6 @@ rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.3
|
|
||||||
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -493,23 +492,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -513,7 +513,6 @@ rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.3
|
|
||||||
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -583,23 +582,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -396,6 +396,38 @@ rule "X.2.0: Remove Entity of type ENTITY when contained by FALSE_POSITIVE"
|
|||||||
$contained.remove("X.2.0", "remove Entity of type ENTITY when contained by FALSE_POSITIVE");
|
$contained.remove("X.2.0", "remove Entity of type ENTITY when contained by FALSE_POSITIVE");
|
||||||
end
|
end
|
||||||
|
|
||||||
|
rule "X.2.0: Remove Entity of type ENTITY when contained by FALSE_POSITIVE"
|
||||||
|
salience 64
|
||||||
|
when
|
||||||
|
$containment: Containment(
|
||||||
|
$container: container,
|
||||||
|
$contained: contained,
|
||||||
|
$container.entityType == EntityType.FALSE_POSITIVE,
|
||||||
|
$container.active(),
|
||||||
|
$contained.entityType == EntityType.ENTITY,
|
||||||
|
$contained.type() == $container.type(),
|
||||||
|
!$contained.hasManualChanges()
|
||||||
|
)
|
||||||
|
then
|
||||||
|
$contained.remove("X.2.0", "remove Entity of type ENTITY when contained by FALSE_POSITIVE");
|
||||||
|
end
|
||||||
|
|
||||||
|
rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
||||||
|
salience 64
|
||||||
|
when
|
||||||
|
$containment: Containment(
|
||||||
|
$container: container,
|
||||||
|
$contained: contained,
|
||||||
|
$container.entityType == EntityType.FALSE_POSITIVE,
|
||||||
|
$container.active(),
|
||||||
|
$contained.entityType == EntityType.HINT,
|
||||||
|
$contained.type() == $container.type(),
|
||||||
|
!$contained.hasManualChanges()
|
||||||
|
)
|
||||||
|
then
|
||||||
|
$contained.remove("X.2.1", "remove Entity of type HINT when contained by FALSE_POSITIVE");
|
||||||
|
end
|
||||||
|
|
||||||
rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -413,7 +445,6 @@ rule "X.2.1: Remove Entity of type HINT when contained by FALSE_POSITIVE"
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.3
|
|
||||||
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
rule "X.3.0: Remove RECOMMENDATION Contained by FALSE_RECOMMENDATION"
|
||||||
salience 64
|
salience 64
|
||||||
when
|
when
|
||||||
@ -483,23 +514,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -995,23 +995,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -2187,23 +2187,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.6
|
// Rule unit: X.6
|
||||||
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
rule "X.6.0: Remove Lower Rank Entity Contained by ENTITY or HINT"
|
||||||
salience 32
|
salience 32
|
||||||
|
|||||||
@ -1589,23 +1589,6 @@ rule "X.5.1: Remove Entity of type RECOMMENDATION when contained by RECOMMENDATI
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
rule "X.5.2: Remove Entity of type RECOMMENDATION when contained by ENTITY of same type"
|
|
||||||
salience 256
|
|
||||||
when
|
|
||||||
$intersection: Containment(
|
|
||||||
$container: container,
|
|
||||||
$contained: contained,
|
|
||||||
($container.entityType == EntityType.ENTITY || $container.entityType == EntityType.HINT),
|
|
||||||
!$container.removed(),
|
|
||||||
$contained.entityType == EntityType.RECOMMENDATION,
|
|
||||||
$container.type() == $contained.type(),
|
|
||||||
!$contained.hasManualChanges()
|
|
||||||
)
|
|
||||||
then
|
|
||||||
$contained.remove("X.5.2", "remove Entity of type RECOMMENDATION when contained by ENTITY of same type");
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
// Rule unit: X.7
|
// Rule unit: X.7
|
||||||
rule "X.7.0: Remove all images"
|
rule "X.7.0: Remove all images"
|
||||||
salience 512
|
salience 512
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user