Skip to content

Commit

Permalink
Release v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Mar 18, 2024
1 parent 5042608 commit 76493f2
Show file tree
Hide file tree
Showing 66 changed files with 570 additions and 843 deletions.
70 changes: 35 additions & 35 deletions .jhipster/modules/history.json
Original file line number Diff line number Diff line change
@@ -1,263 +1,263 @@
{
"actions" : [ {
"module" : "init",
"date" : "2024-02-28T08:46:22.639274110Z",
"date" : "2024-03-18T07:42:43.616538617Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "maven-java",
"date" : "2024-02-28T08:46:22.752041791Z",
"date" : "2024-03-18T07:42:43.703905764Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "maven-wrapper",
"date" : "2024-02-28T08:46:22.774265210Z",
"date" : "2024-03-18T07:42:43.723470650Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "java-base",
"date" : "2024-02-28T08:46:22.795251244Z",
"date" : "2024-03-18T07:42:43.741341118Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "jacoco-check-min-coverage",
"date" : "2024-02-28T08:46:22.813213228Z",
"module" : "jacoco-with-min-coverage-check",
"date" : "2024-03-18T07:42:43.758320280Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "java-memoizers",
"date" : "2024-02-28T08:46:22.826823267Z",
"date" : "2024-03-18T07:42:43.771089882Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "java-enums",
"date" : "2024-02-28T08:46:22.840961334Z",
"date" : "2024-03-18T07:42:43.783738622Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "pagination-domain",
"date" : "2024-02-28T08:46:22.860248752Z",
"date" : "2024-03-18T07:42:43.800775383Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "application-service-hexagonal-architecture-documentation",
"date" : "2024-02-28T08:46:22.873804843Z",
"date" : "2024-03-18T07:42:43.818247361Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot",
"date" : "2024-02-28T08:46:22.925540511Z",
"date" : "2024-03-18T07:42:43.860638625Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "logs-spy",
"date" : "2024-02-28T08:46:22.938586400Z",
"date" : "2024-03-18T07:42:43.873505154Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-mvc-empty",
"date" : "2024-02-28T08:46:22.951373661Z",
"date" : "2024-03-18T07:42:43.885682398Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-tomcat",
"date" : "2024-02-28T08:46:22.976295138Z",
"date" : "2024-03-18T07:42:43.907932421Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-actuator",
"date" : "2024-02-28T08:46:22.999790850Z",
"date" : "2024-03-18T07:42:43.928790926Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-async",
"date" : "2024-02-28T08:46:23.020171982Z",
"date" : "2024-03-18T07:42:43.946581181Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-devtools",
"date" : "2024-02-28T08:46:23.037001543Z",
"date" : "2024-03-18T07:42:43.962976094Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "java-archunit",
"date" : "2024-02-28T08:46:23.055199306Z",
"date" : "2024-03-18T07:42:43.979519739Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "git-information",
"date" : "2024-02-28T08:46:23.079543155Z",
"date" : "2024-03-18T07:42:44.000740918Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "prettier",
"date" : "2024-02-28T08:46:23.099940214Z",
"date" : "2024-03-18T07:42:44.019159043Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "frontend-maven-plugin",
"date" : "2024-02-28T08:46:23.137577767Z",
"date" : "2024-03-18T07:42:44.043718979Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "vue-core",
"date" : "2024-02-28T08:46:23.166584845Z",
"date" : "2024-03-18T07:42:44.070263085Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "sonar-qube-java-backend-and-frontend",
"date" : "2024-02-28T08:46:23.191064309Z",
"date" : "2024-03-18T07:42:44.090713668Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "postgresql",
"date" : "2024-02-28T08:46:23.266022794Z",
"date" : "2024-03-18T07:42:44.152773937Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "liquibase",
"date" : "2024-02-28T08:46:23.289737876Z",
"date" : "2024-03-18T07:42:44.174348488Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-oauth2",
"date" : "2024-02-28T08:46:23.324477233Z",
"date" : "2024-03-18T07:42:44.204978427Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-oauth2-account",
"date" : "2024-02-28T08:46:23.339408752Z",
"date" : "2024-03-18T07:42:44.219296516Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "springdoc-mvc-openapi",
"date" : "2024-02-28T08:46:23.367048034Z",
"date" : "2024-03-18T07:42:44.242331492Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "springdoc-oauth2",
"date" : "2024-02-28T08:46:23.384908976Z",
"date" : "2024-03-18T07:42:44.258423007Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-cucumber-mvc",
"date" : "2024-02-28T08:46:23.418152009Z",
"date" : "2024-03-18T07:42:44.283453266Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "spring-boot-cucumber-oauth2-authentication",
"date" : "2024-02-28T08:46:23.445082039Z",
"date" : "2024-03-18T07:42:44.305745041Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "kipe-expression",
"date" : "2024-02-28T08:46:23.459407903Z",
"date" : "2024-03-18T07:42:44.319559119Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "kipe-authorization",
"date" : "2024-02-28T08:46:23.472855302Z",
"date" : "2024-03-18T07:42:44.332529128Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
"packageName" : "tech.jhipster.lite.sample"
}
}, {
"module" : "dummy-feature",
"date" : "2024-02-28T08:46:23.490758886Z",
"module" : "sample-feature",
"date" : "2024-03-18T07:42:44.347567046Z",
"properties" : {
"projectName" : "JHipster Lite Sample Application",
"baseName" : "litesample",
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ You need to have Java 21:

Before you can build this project, you must install and configure the following dependencies on your machine:

1. [Node.js](https://nodejs.org/): We use Node to run a development web server and build the project.
Depending on your system, you can install Node either from source or as a pre-packaged bundle.
[Node.js](https://nodejs.org/): We use Node to run a development web server and build the project.
Depending on your system, you can install Node either from source or as a pre-packaged bundle.

After installing Node, you should be able to run the following command to install development tools.
You will only need to run this command when dependencies change in [package.json](package.json).
Expand Down Expand Up @@ -44,7 +44,7 @@ docker compose -f src/main/docker/sonar.yml up -d
```

```bash
docker compose -f docker compose -f src/main/docker/postgresql.yml up -d up -d
docker compose -f src/main/docker/postgresql.yml up -d
```

```bash
Expand All @@ -68,6 +68,6 @@ docker compose -f src/main/docker/keycloak.yml up -d
- [Cucumber authentication](documentation/cucumber-authentication.md)
- [Kipe expression](documentation/kipe-expression.md)
- [Kipe authorization](documentation/kipe-authorization.md)
- [Dummy](documentation/dummy.md)
- [Sample](documentation/sample.md)

<!-- jhipster-needle-documentation -->
2 changes: 1 addition & 1 deletion documentation/cucumber-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can authenticate users in cucumber scenarios using:
Given I am logged in as "user"
```

The user and roles you'll get are defines in `AuthenticationSteps`, feel free to add new test users (with roles) in the `users` variable here.
The user and roles you'll get are defined in `AuthenticationSteps`, feel free to add new test users (with roles) in the `users` variable here.

You can "disconnect" using:

Expand Down
2 changes: 1 addition & 1 deletion documentation/cucumber.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Sometimes you have to validate the behavior of async operations. You can do:
assertThatLastAsyncResponse().hasOkStatus();
```

To have a default waiting time of 5 second or you can get a custom max with:
To have a default waiting time of 5 seconds or you can get a custom max with:

```java
assertThatLastAsyncResponse(Duration.ofSeconds(30)).hasOkStatus();
Expand Down
4 changes: 2 additions & 2 deletions documentation/hexagonal-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ It's not that the users don't know what they want, in fact, nobody knows. Buildi

So, as professional software developers we have to ensure that the code we are writing can welcome those changes. This often starts by lowering the solution complexity!

We often talk about 3 types of complexity:
We often talk about three types of complexity:

- **Essential**: When building Software we have to solve a problem of complexity X: this is the essential complexity. This complexity directly relates to the problem we are trying to solve and we can't really make that lower.
- **Mandatory**: No matter the efforts, we are going to have to add some complexity to the system since we have technical stuff to do (persist data, send messages, ...). This complexity is called mandatory complexity.
Expand All @@ -37,7 +37,7 @@ The hexagonal architecture allows us to reduce all those complexities to their b

The very clear Separation Of Concern enforced by the architecture eases automatic testing of each part since it's only doing one thing. Being able to build solid tests is also a great way to build a changes welcoming Software!

> Even if the architecture eases tests writing, being able to write good tests takes times and practice!
> Even if the architecture eases tests writing, being able to write good tests takes time and practice!
### Shorten feedback loops

Expand Down
2 changes: 1 addition & 1 deletion documentation/kipe-authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class RolesConfiguration {
}
```

For each role, you'll be able to define multiple accesses. There are 3 things defining an access:
For each role, you'll be able to define multiple accesses. There are three things defining an access:

* The scope: can be `all` or `specific`;
* The action, it's a verb (`read` in the example);
Expand Down
8 changes: 4 additions & 4 deletions documentation/dummy.md → documentation/sample.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Dummy feature
# Sample feature

Looks like you added a dummy feature to your project...
Looks like you added a sample feature to your project...

This feature is a simple business example and exercise for this kind of projects. Here's the business context:

A brave beer retailer is handling his 3 shops with papers and pencils and he is starting to have some trouble scaling up. He asked us to a build a simple system where he'll be able to:
A brave beer retailer is handling his three shops with papers and pencils and he is starting to have some trouble scaling up. He asked us to a build a simple system where he'll be able to:

- Add new beers (with name and price);
- Remove beers from selling;
- Get a catalog of currently sold beers to display in the shops.

Our brave team of 1 dev didn't build that on his own, in fact he was with the retailer (tasting the product) while doing the first version. As the goal was to show what can be done easily the persistence is in memory for now, but hopefully we'll be able to change that later.
Our brave team of one dev didn't build that on his own, in fact he was with the retailer (tasting the product) while doing the first version. As the goal was to show what can be done easily the persistence is in memory for now, but hopefully we'll be able to change that later.

Even this very simple product already helped the retailer (a lot)! So he came back to our team (with some beers!) to add a feature to manage orders. The team started something to allow orders taking but this time the retailer had to leave and the team was stuck! What's an order??? Is it something going on with a customer in the shop or is it something "done" received from somewhere else?

Expand Down
Loading

0 comments on commit 76493f2

Please sign in to comment.