The following steps describe how the information of aspect files can be changed, so that it fits the context where the aspects are applied:
-
We want to create the structure defined in "business.arc" for the "Business" artifact in application.arc. This can be achieved by "extending" the Business artifact and applying "business.arc":
extend Business { apply "./business.arc" }
-
Check the context help and modify the architecture.
-
Use the same mechanism in the "Framework" artifact and simply apply the "component.arc" to generate the same structure there.
-
Remove "business.arc" from the checked architecture files. Only "application.arc" should be left as checked architecture file.
-
Verify in the Architecture View that all artifacts are there and the correct components are matched.
-
Experiment with the workspace filters or include / exclude patterns to adjust the matching.
End of Step 6 (step6_crm-domain-example.sonargraph).
Related topics: