| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Just a few comments. I know this is WIP, feel free to ignore if they're not helpful.
Sorry, something went wrong.
There was a problem hiding this comment.
Mostly style. One substantial comment about educational design.
Always happy to talk if you think.
Sorry, something went wrong.
| <plugin> | ||
| <groupId>org.owasp</groupId> | ||
| <artifactId>dependency-check-maven</artifactId> | ||
| <version>${owasp.plugin.version}</version> | ||
| <configuration> | ||
| <skip>true</skip> | ||
| </configuration> | ||
| </plugin> |
There was a problem hiding this comment.
Is this really intentionally here, committed in source?
Or is it just so you can get on with your dev?
If latter, I can show you nicer (not polluting source) ways of being in control of what you run when using Maven profiles.
Sorry, something went wrong.
There was a problem hiding this comment.
This is intentional. The examples are not released and are intended only to be example code for developers. As such, Spring and Quarkus both bring in many, many transitive dependencies. In the case of Spring, we are currently stuck on spring boot 2.x because 3.x requires Java 17. And the dependency check becomes just a distraction without providing any value. Of course, it is turned on everywhere else: this configuration only applies to the examples directory.
Sorry, something went wrong.
| import org.springframework.web.bind.annotation.RestController; | ||
|
|
||
| @RestController | ||
| public class SolidController { |
There was a problem hiding this comment.
I think this controller needs a bit of thought.
Currently none of the write* methods do anything with the request body. Instead they write nothing or a constant.
This seems a bit counter-intuitive to me.
I would branch into one of the following approaches:
I've seen @acoburn's comment suggesting @PostMapping. I would choose option 2 above, in which case his comment stands.
I think that this case of delegating from Spring to Client will be a common developer case.
Sorry, something went wrong.
…ub.com/inrupt/solid-client-java into JCL-234-initialise-spring-boot-web-app
Sorry, something went wrong.
There was a problem hiding this comment.
This looks really nice!
Sorry, something went wrong.
|
Ben Switched the client_id in use again -> see #350 We prefer this one because we renamed the client from podspaces to myApp (more accurate). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.