Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions architecture-decision-records/.jqassistant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
jqassistant:
plugins:
#<1>
- group-id: org.jqassistant.contrib.plugin
artifact-id: jqassistant-jmolecules-plugin
version: 1.4.0

analyze:
groups:
#<2>
- jmolecules-ddd:Default
#<3>
- Default
247 changes: 0 additions & 247 deletions architecture-decision-records/index.adoc

This file was deleted.

29 changes: 0 additions & 29 deletions architecture-decision-records/jqassistant/001-Deep-Linking.adoc

This file was deleted.

38 changes: 38 additions & 0 deletions architecture-decision-records/jqassistant/001-Deep-Linking.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<jqassistant-rules
xmlns="http://schema.jqassistant.org/rule/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schema.jqassistant.org/rule/v2.0 https://schema.jqassistant.org/rule/jqassistant-rule-v2.0.xsd">

<!-- tag::content[] -->
<!-- tag::adrGroup[] -->
<!--1-->
<group id="adr:DeepLinking">
<includeConstraint refId="adr:DeepLinking:*"/>
</group>
<!-- end::adrGroup[] -->

<!-- tag::adrConstraint[] -->
<!--2-->
<constraint id="adr:DeepLinking:NoDeepLinkingBetweenAggregates">
<!--3-->
<requiresConcept refId="jmolecules-ddd:*"/>
<!--4-->
<description>
Finds all entities that are referenced by more than one aggregate.
</description>
<!--5-->
<cypher><![CDATA[
MATCH
(a:JMolecules:DDD:AggregateRoot)-[:DEPENDS_ON*]->(e:JMolecules:DDD:Entity)
WITH
e, collect(a.name) AS aggregates
WHERE
size(aggregates) > 1
RETURN
e.name AS Entity, aggregates AS Aggregates
]]></cypher>
</constraint>
<!-- end::adrConstraint[] -->
<!-- end::content[] -->

</jqassistant-rules>
12 changes: 12 additions & 0 deletions architecture-decision-records/jqassistant/default.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<jqassistant-rules
xmlns="http://schema.jqassistant.org/rule/v2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schema.jqassistant.org/rule/v2.0 https://schema.jqassistant.org/rule/jqassistant-rule-v2.0.xsd">

<!-- tag::content[] -->
<group id="Default">
<includeGroup refId="adr:*"/>
</group>
<!-- end::content[] -->

</jqassistant-rules>
7 changes: 0 additions & 7 deletions architecture-decision-records/jqassistant/index.adoc

This file was deleted.

Loading