Skip to content

Commit

Permalink
automatic project update for v8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
deepu105 committed Dec 11, 2023
1 parent ef40177 commit ba02dff
Show file tree
Hide file tree
Showing 97 changed files with 2,560 additions and 2,345 deletions.
3 changes: 3 additions & 0 deletions .jhipster/BankAccount.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"annotations": {
"changelogDate": "20150805124838"
},
"changelogDate": "20150805124838",
"dto": "no",
"entityTableName": "bank_account",
Expand Down
3 changes: 3 additions & 0 deletions .jhipster/Label.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"annotations": {
"changelogDate": "20150805124936"
},
"changelogDate": "20150805124936",
"dto": "no",
"entityTableName": "label",
Expand Down
3 changes: 3 additions & 0 deletions .jhipster/Operation.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"annotations": {
"changelogDate": "20150805125054"
},
"changelogDate": "20150805125054",
"dto": "no",
"entityTableName": "operation",
Expand Down
2 changes: 1 addition & 1 deletion .yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"entitySuffix": "",
"hibernateCache": "ehcache",
"jhiPrefix": "jhi",
"jhipsterVersion": "8.0.0",
"jhipsterVersion": "8.1.0",
"jwtSecretKey": "bXktc2VjcmV0LWtleS13aGljaC1zaG91bGQtYmUtY2hhbmdlZC1pbi1wcm9kdWN0aW9uLWFuZC1iZS1iYXNlNjQtZW5jb2RlZAo=",
"languages": ["en"],
"messageBroker": false,
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# jhipsterSampleApplication

This application was generated using JHipster 8.0.0, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.0.0](https://www.jhipster.tech/documentation-archive/v8.0.0).
This application was generated using JHipster 8.1.0, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.1.0](https://www.jhipster.tech/documentation-archive/v8.1.0).

## Project Structure

Expand Down Expand Up @@ -54,7 +54,7 @@ The `npm run` command will list all of the scripts available to run for this pro

JHipster ships with PWA (Progressive Web App) support, and it's turned off by default. One of the main components of a PWA is a service worker.

The service worker initialization code is disabled by default. To enable it, uncomment the following code in `src/main/webapp/app/app.module.ts`:
The service worker initialization code is disabled by default. To enable it, uncomment the following code in `src/main/webapp/app/app.config.ts`:

```typescript
ServiceWorkerModule.register('ngsw-worker.js', { enabled: false }),
Expand All @@ -75,7 +75,7 @@ npm install --save-dev --save-exact @types/leaflet
```

Then you would import the JS and CSS files specified in library's installation instructions so that [Webpack][] knows about them:
Edit [src/main/webapp/app/app.module.ts](src/main/webapp/app/app.module.ts) file:
Edit [src/main/webapp/app/app.config.ts](src/main/webapp/app/app.config.ts) file:

```
import 'leaflet/dist/leaflet.js';
Expand Down Expand Up @@ -106,7 +106,7 @@ will generate few files:
```
create src/main/webapp/app/my-component/my-component.component.html
create src/main/webapp/app/my-component/my-component.component.ts
update src/main/webapp/app/app.module.ts
update src/main/webapp/app/app.config.ts
```

## Building for production
Expand Down Expand Up @@ -262,13 +262,13 @@ For more information refer to [Using Docker and Docker-Compose][], this page als
To configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`), this will let you generate configuration files for a number of Continuous Integration systems. Consult the [Setting up Continuous Integration][] page for more information.

[JHipster Homepage and latest documentation]: https://www.jhipster.tech
[JHipster 8.0.0 archive]: https://www.jhipster.tech/documentation-archive/v8.0.0
[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.0.0/development/
[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.0.0/docker-compose
[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.0.0/production/
[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.0.0/running-tests/
[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.0.0/code-quality/
[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.0.0/setting-up-ci/
[JHipster 8.1.0 archive]: https://www.jhipster.tech/documentation-archive/v8.1.0
[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.1.0/development/
[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.1.0/docker-compose
[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.1.0/production/
[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.1.0/running-tests/
[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.1.0/code-quality/
[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.1.0/setting-up-ci/
[Node.js]: https://nodejs.org/
[NPM]: https://www.npmjs.com/
[Webpack]: https://webpack.github.io/
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
"options": {
"browserTarget": "jhipster-sample-application:build:development",
"buildTarget": "jhipster-sample-application:build:development",
"port": 9060
},
"configurations": {
"production": {
"browserTarget": "jhipster-sample-application:build:production"
"buildTarget": "jhipster-sample-application:build:production"
},
"development": {
"browserTarget": "jhipster-sample-application:build:development"
"buildTarget": "jhipster-sample-application:build:development"
}
},
"defaultConfiguration": "development"
Expand Down
80 changes: 40 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"app:start": "./mvnw",
"app:up": "docker compose -f src/main/docker/app.yml up --wait",
"backend:build-cache": "./mvnw dependency:go-offline",
"backend:build-cache": "./mvnw dependency:go-offline -ntp",
"backend:debug": "./mvnw -Dspring-boot.run.jvmArguments=\"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000\"",
"backend:doc:test": "./mvnw -ntp javadoc:javadoc --batch-mode",
"backend:info": "./mvnw -ntp enforcer:display-info --batch-mode",
Expand Down Expand Up @@ -83,72 +83,72 @@
"packaging": "jar"
},
"dependencies": {
"@angular/common": "16.2.11",
"@angular/compiler": "16.2.11",
"@angular/core": "16.2.11",
"@angular/forms": "16.2.11",
"@angular/localize": "16.2.11",
"@angular/platform-browser": "16.2.11",
"@angular/platform-browser-dynamic": "16.2.11",
"@angular/router": "16.2.11",
"@fortawesome/angular-fontawesome": "0.13.0",
"@fortawesome/fontawesome-svg-core": "6.4.2",
"@fortawesome/free-solid-svg-icons": "6.4.2",
"@ng-bootstrap/ng-bootstrap": "15.1.2",
"@angular/common": "17.0.6",
"@angular/compiler": "17.0.6",
"@angular/core": "17.0.6",
"@angular/forms": "17.0.6",
"@angular/localize": "17.0.6",
"@angular/platform-browser": "17.0.6",
"@angular/platform-browser-dynamic": "17.0.6",
"@angular/router": "17.0.6",
"@fortawesome/angular-fontawesome": "0.14.0",
"@fortawesome/fontawesome-svg-core": "6.5.1",
"@fortawesome/free-solid-svg-icons": "6.5.1",
"@ng-bootstrap/ng-bootstrap": "16.0.0",
"@ngx-translate/core": "15.0.0",
"@ngx-translate/http-loader": "8.0.0",
"@popperjs/core": "2.11.8",
"bootstrap": "5.3.2",
"dayjs": "1.11.10",
"ngx-infinite-scroll": "16.0.0",
"ngx-infinite-scroll": "17.0.0",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"zone.js": "0.13.3"
"zone.js": "0.14.2"
},
"devDependencies": {
"@angular-builders/custom-webpack": "16.0.1",
"@angular-builders/jest": "16.0.1",
"@angular-devkit/build-angular": "16.2.9",
"@angular-eslint/eslint-plugin": "16.2.0",
"@angular/cli": "16.2.9",
"@angular/compiler-cli": "16.2.11",
"@angular/service-worker": "16.2.11",
"@types/jest": "29.5.7",
"@types/node": "18.18.8",
"@typescript-eslint/eslint-plugin": "6.9.1",
"@typescript-eslint/parser": "6.9.1",
"@angular-builders/custom-webpack": "17.0.0",
"@angular-builders/jest": "17.0.0",
"@angular-devkit/build-angular": "17.0.6",
"@angular-eslint/eslint-plugin": "17.1.1",
"@angular/cli": "17.0.6",
"@angular/compiler-cli": "17.0.6",
"@angular/service-worker": "17.0.6",
"@types/jest": "29.5.11",
"@types/node": "18.19.3",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"browser-sync": "2.29.3",
"browser-sync-webpack-plugin": "2.3.0",
"buffer": "6.0.3",
"concurrently": "8.2.2",
"copy-webpack-plugin": "11.0.0",
"cypress": "13.4.0",
"cypress": "13.6.1",
"cypress-audit": "1.1.0",
"eslint": "8.52.0",
"eslint-config-prettier": "9.0.0",
"eslint": "8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "2.15.1",
"eslint-webpack-plugin": "4.0.1",
"folder-hash": "4.0.4",
"generator-jhipster": "8.0.0",
"generator-jhipster": "8.1.0",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-date-mock": "1.0.8",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"jest-preset-angular": "13.1.2",
"jest-preset-angular": "13.1.4",
"jest-sonar": "0.2.16",
"lighthouse": "11.2.0",
"lint-staged": "15.0.2",
"lighthouse": "11.3.0",
"lint-staged": "15.2.0",
"merge-jsons-webpack-plugin": "2.0.1",
"prettier": "3.0.3",
"prettier-plugin-java": "2.3.1",
"prettier-plugin-packagejson": "2.4.6",
"prettier": "3.1.0",
"prettier-plugin-java": "2.5.0",
"prettier-plugin-packagejson": "2.4.7",
"rimraf": "5.0.5",
"swagger-ui-dist": "5.9.1",
"swagger-ui-dist": "5.10.3",
"ts-jest": "29.1.1",
"typescript": "5.1.6",
"wait-on": "7.0.1",
"webpack-bundle-analyzer": "4.9.1",
"typescript": "5.2.2",
"wait-on": "7.2.0",
"webpack-bundle-analyzer": "4.10.1",
"webpack-merge": "5.10.0",
"webpack-notifier": "1.15.0"
},
Expand Down
23 changes: 12 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<maven.version>3.2.5</maven.version>
<java.version>17</java.version>
<node.version>v18.18.2</node.version>
<npm.version>10.2.2</npm.version>
<npm.version>10.2.4</npm.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
Expand All @@ -28,17 +28,17 @@
<argLine>-Djava.security.egd=file:/dev/./urandom -Xmx1G</argLine>
<m2e.apt.activation>jdt_apt</m2e.apt.activation>
<run.addResources>false</run.addResources>
<jhipster-dependencies.version>8.0.0</jhipster-dependencies.version>
<spring-boot.version>3.1.5</spring-boot.version>
<archunit-junit5.version>1.1.0</archunit-junit5.version>
<checkstyle.version>10.12.4</checkstyle.version>
<jhipster-dependencies.version>8.1.0</jhipster-dependencies.version>
<spring-boot.version>3.2.0</spring-boot.version>
<archunit-junit5.version>1.2.1</archunit-junit5.version>
<checkstyle.version>10.12.5</checkstyle.version>
<checksum-maven-plugin.version>1.11</checksum-maven-plugin.version>
<frontend-maven-plugin.version>1.14.2</frontend-maven-plugin.version>
<frontend-maven-plugin.version>1.15.0</frontend-maven-plugin.version>
<gatling-maven-plugin.version>4.6.0</gatling-maven-plugin.version>
<gatling.version>3.9.5</gatling.version>
<git-commit-id-maven-plugin.version>7.0.0</git-commit-id-maven-plugin.version>
<h2.version>2.2.224</h2.version>
<hibernate.version>6.2.13.Final</hibernate.version>
<hibernate.version>6.3.1.Final</hibernate.version>
<jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
<jaxb-runtime.version>4.0.4</jaxb-runtime.version>
<jib-maven-plugin.architecture>amd64</jib-maven-plugin.architecture>
Expand All @@ -58,13 +58,13 @@
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
<maven-eclipse-plugin.version>2.1</maven-eclipse-plugin.version>
<maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>
<maven-failsafe-plugin.version>3.2.1</maven-failsafe-plugin.version>
<maven-failsafe-plugin.version>3.2.2</maven-failsafe-plugin.version>
<maven-idea-plugin.version>2.2.1</maven-idea-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
<maven-javadoc-plugin.version>3.6.3</maven-javadoc-plugin.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
<maven-surefire-plugin.version>3.2.1</maven-surefire-plugin.version>
<maven-surefire-plugin.version>3.2.2</maven-surefire-plugin.version>
<maven-war-plugin.version>3.4.0</maven-war-plugin.version>
<modernizer-maven-plugin.version>2.7.0</modernizer-maven-plugin.version>
<nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
Expand All @@ -75,7 +75,7 @@
<profile.tls/>
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
<sonar-maven-plugin.version>3.10.0.2594</sonar-maven-plugin.version>
<spotless-maven-plugin.version>2.40.0</spotless-maven-plugin.version>
<spotless-maven-plugin.version>2.41.1</spotless-maven-plugin.version>
<validation-api.version>3.0.2</validation-api.version>
</properties>

Expand Down Expand Up @@ -519,6 +519,7 @@
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<parameters>true</parameters>
<annotationProcessorPaths>
<path>
<groupId>org.springframework.boot</groupId>
Expand Down
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
sonar.projectKey = jhipsterSampleApplication
sonar.projectName = jhipsterSampleApplication generated by jhipster

# Typescript tests files must be inside sources and tests, othewise `INFO: Test execution data ignored for 80 unknown files, including:` is
# shown.
# Typescript tests files must be inside sources and tests, otherwise `INFO: Test execution data ignored for 80 unknown files, including:`
# is shown.
sonar.sources = src
sonar.tests = src
sonar.host.url = http://localhost:9001
Expand Down
4 changes: 2 additions & 2 deletions src/main/docker/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: jhipstersampleapplication
services:
prometheus:
image: prom/prometheus:v2.47.2
image: prom/prometheus:v2.48.0
volumes:
- ./prometheus/:/etc/prometheus/
command:
Expand All @@ -15,7 +15,7 @@ services:
# grafana/provisioning/datasources/datasource.yml
network_mode: 'host' # to test locally running service
grafana:
image: grafana/grafana:10.2.0
image: grafana/grafana:10.2.2
volumes:
- ./grafana/provisioning/:/etc/grafana/provisioning/
environment:
Expand Down
2 changes: 1 addition & 1 deletion src/main/docker/postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: jhipstersampleapplication
services:
postgresql:
image: postgres:16.0
image: postgres:16.1
# volumes:
# - ~/volumes/jhipster/jhipsterSampleApplication/postgresql/:/var/lib/postgresql/data/
environment:
Expand Down
2 changes: 1 addition & 1 deletion src/main/docker/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: jhipstersampleapplication
services:
sonar:
container_name: sonarqube
image: sonarqube:10.2.1-community
image: sonarqube:10.3.0-community
# Forced authentication redirect for UI is turned off for out of the box experience while trying out SonarQube
# For real use cases delete SONAR_FORCEAUTHENTICATION variable or set SONAR_FORCEAUTHENTICATION=true
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Generated(value = "JHipster", comments = "Generated by JHipster 8.0.0")
@Generated(value = "JHipster", comments = "Generated by JHipster 8.1.0")
@Retention(RetentionPolicy.SOURCE)
@Target({ ElementType.TYPE })
public @interface GeneratedByJHipster {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
@Repository
public interface BankAccountRepository extends JpaRepository<BankAccount, Long> {
@Query("select bankAccount from BankAccount bankAccount where bankAccount.user.login = ?#{principal.username}")
@Query("select bankAccount from BankAccount bankAccount where bankAccount.user.login = ?#{authentication.name}")
List<BankAccount> findByUserIsCurrentUser();

default Optional<BankAccount> findOneWithEagerRelationships(Long id) {
Expand Down
Loading

0 comments on commit ba02dff

Please sign in to comment.