Giter Site home page Giter Site logo

jqassistant-archive / jqassistant-jmolecules-plugin Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 115 KB

@jmolecules integration for jQAssistant to identify architectural concepts in Java applications

License: GNU General Public License v3.0

Java 100.00%
jmolecules jqassistant architecture annotations documentation

jqassistant-jmolecules-plugin's People

Contributors

dirkmahler avatar stephanpirnbaum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jqassistant-jmolecules-plugin's Issues

Support jMolecules 1.1 Annotations

Support needs to be added for:

  • @Command
    • namespace (default: package.fqn)
    • name (default: type.name)
  • @CommandDispatcher
    • dispatches (namespace.name)
  • @CommandHandler
    • handlesNamespace (empty, *, Command#namespace)
    • handlesCommandName (empty, *, Command#name)
  • @QueryModel
  • @DomainEvent
    • namespace (default: package.fqn)
    • name (default: type.name)
  • @DomainEventHandler
    • handlesNamespace (empty, * DomainEvent#namespace)
    • handlesName(empty, * DomainEvent#name)
  • @DomainEventPublisher
    • publishes (namespace.name)
    • type (INTERNAL, EXTERNAL, UNKNOWN)

Add support for jMolecules 1.3

Following additions were made with jMolecules 1.3 which needs to be supported by the jQAssistant integration

  • Identifier annotation
  • ValueObject marker interface

Update DDD Support

Support

  • Association
  • Identifiable
  • Entity extends -> Generic Params
  • Repository extends -> Generic Params
  • SimpleAssociation
  • DomainEvent Annotation -> defaults
  • DomainEventPublisher default type
  • Rules (see ArchUnit integration)

Add jQA constraints to jMolecules integration

Draft (open for ideas)

  • DDD

    • jmolecules-ddd-basic:MutableValueObject
    • jmolecules-ddd-basic:MutableEntityId (effectively final)
    • jmolecules-ddd-strict:ValueObjectReferencingEntityOrAggregateRoot
    • jmolecules-ddd-strict:IllegalDependenciesBetweenBoundedContexts (independent from ContextMapper)
    • jmolecules-ddd-strict:NonFinalEntityId
    • jmolecules-ddd-strict:NonFinalFieldInValueObject
  • Layered Architecture

    • jmolecules-layered-strict:IllegalDependenciesBetweenLayers
  • Onion Architecture

    • jmolecules-onion-classical:IllegalDependenciesBetweenRings
    • jmolecules-onion-simplified:IllegalDependenciesBetweenRings

---- next release

  • DDD

    • jmolecules-ddd-basic:ReferenceToAggregateRootBetweenContextsNotViaIdOrAssociation
    • jmolecules-ddd-strict:EntityReferencedFromMultipleAggregates (2 rules, Type system,annotations)
    • jmolecules-ddd-strict:ReferenceToAggregateRootNotViaIdOrAssociation (Entity + Aggregate Root / Identifiable)
    • jmolecules-ddd-strict:IdentifiableWithoutIdentityAnnotatedField
      • Type System -> Generic Id Type must be present as field
      • Annotation -> Annotation must be present
      • Base Class resolution for id field in super class
  • Layered Architecture

    • jmolecules-layered-strict-di:IllegalDependenciesBetweenLayers
  • Events

  • CQRS

    • jmolecules-cqrs-strict:IllegalMixOfReadAndWriteAspects

Kotlin Support

Will be nice to support also Kotlin Spring Boot Apps

Cannot scan class '/ch/keepcalm/demo/DemoApplicationServiceKt.class'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.