Git Product home page Git Product logo

Comments (9)

simonbrowndotje avatar simonbrowndotje commented on May 21, 2024 1

That's now done.

from java.

simonbrowndotje avatar simonbrowndotje commented on May 21, 2024

Is this with a "git checkout 95de1d9f8bf63560915331664b27a4a75ce1f1f6"?

from java.

Zaijo avatar Zaijo commented on May 21, 2024

In spring-projects/spring-petclinic@95de1d9 (2016-01-30) as you ask for example PetController is public. The change I am writing about happened on (2016-11-10), wich is later than the version you asked for.

from java.

simonbrowndotje avatar simonbrowndotje commented on May 21, 2024

I'm not sure that I understand what you're asking for. Does the PetClinic tutorial work as instructed?

from java.

Zaijo avatar Zaijo commented on May 21, 2024

No it doesn't work for me.

I am able to upload all diagrams exactly as expected except for component diagram, which is missing all Controllers. I looked at the javadoc for SpringComponentFinderStrategy and found out, that it ignores all non-public classes. I looked into PetClinic source (which I checked out today - fresh master) and all controller were declared package-private (no modifier).

I say: Tutorial is missing either:

  • notice in tutorial, that it works only on commits before spring-projects/spring-petclinic@83ff9a5
  • or a line of code, using springComponentFinderStrategy.setIncludePublicTypesOnly(false); which is what I ended up with.

from java.

simonbrowndotje avatar simonbrowndotje commented on May 21, 2024

Understood. The instructions for cloning the PetClinic repo do include a specific revision though -> https://github.com/structurizr/java/blob/master/docs/spring-petclinic.md#1-clone-and-build-the-spring-petclinic-code

from java.

Zaijo avatar Zaijo commented on May 21, 2024

Oh! My bad. I followed the link to PetClinic repo and basically skipped the rest of the code area, with "I know how to checkout" in my mind.

from java.

simonbrowndotje avatar simonbrowndotje commented on May 21, 2024

No problem! I'll add a note to explain why the checkout is needed. :-)

from java.

Zaijo avatar Zaijo commented on May 21, 2024

OK, for me that fixes the problem.

from java.

Related Issues (20)

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.