Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ghost
@ghost~628c8bb96da037398497174b
Already reinstalled node/npm and jhipster.
Ghost
@ghost~628c8bb96da037398497174b
Nevermind, when selecting spring webflux, oracle is no option.
Sean Young
@yshaoliang
The findOneWithEagerRelationships defined in * repositoryinternalimpl.java call "return findbyid (ID);", Why do you need to define an additional findOneWithEagerRelationships method?
a-bastin
@a-bastin
Hello all ! I have an entity A linked (one to many) to another one (B), and on the update form of entity A, the list of entity B doesn't show all B entities (I'm using Angular on the front side). Has anybody solve this problem ? Do I have to load all B entities into the list ?
abdellah
@KinoThe-Kafkaesque
Hi I can answer that
OneToMany relationships are usually lazily loaded which mean that child entities don't come , you need to switch the fetch type to eager and allow jackson to read the property by removing it from the JsonIgnoreProperties
4 replies
or you can just load the list with the entities which gives you better control over which data goes where , and as a consequence keep performance issues to a minimum
spring
@helianthus617

I have a simple question that :
How do Maven profiles relate to Spring profiles?

Why don't I see syntax like this :
spring:
profiles:
active: @profiles.active@

Is there a Maven plugin that does this?
Thank you for your attention to this issue
Đào Đức Minh
@MinhDao99
Hello everyone I am new on jhipster. I am doing demo jhipster and have a error. Can you help me?

<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/account to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/authenticate to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

Jonathan Alfonso
@jonathan-alfonso

Hi, I'm new to JHipster. I downloaded a blueprint et personalized it, but when I try to launch a project with my blueprint, I get an error message and can't find how to fix it. Does someone have an idea? Thanks!

INFO! Using bundled JHipster
node:assert:399
throw err;
^

AssertionError [ERR_ASSERTION]: Error on the registered namespace jhipster-my-blueprint:app, make sure your folder is called generator-jhipster.
at C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:118:7
at Array.forEach (<anonymous>)
at EnvironmentBuilder._lookupJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:116:94)
at EnvironmentBuilder.prepare (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\environment-builder.js:89:10)
at buildJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\program.js:250:44)
at runJHipster (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\program.js:269:10)
at Object.<anonymous> (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\cli.js:23:18)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at requireCLI (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\jhipster.js:74:3)
at Object.<anonymous> (C:\Users\jalfonso\Workspace\blueprints\generator-jhipster-my-blueprint\cli\jhipster.js:48:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}

Đào Đức Minh
@MinhDao99

@MinhDao99
Hello everyone I am new on jhipster. I am doing demo jhipster and have a error. Can you help me?

<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/account to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

<e> [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/authenticate to http://localhost:8080/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

1 reply
Bruce
@tomaytotomato
Hello, what component in jhipster creates the Management UI in React/Vue etc? Can that be used retrospectively in another non jhipster microservice? I want to create a CRUD admin UI rather than manually doing SQL updates on the DB
Nariman ZIDANE
@ZidaneNariman_twitter
Hello everyone,
after the upgrade of the jhipster version from 6.10 to 7.8.1 I m facing some problems in particular in the entities and the relations between them, for example in an entity OrganizationDTO we had "Long countryId" and "String countryName", but with the new version 7.8.1 in we have "Country country",
how to have only the id and the name and not the object, thanks in advance
paris0120
@paris0120
I'm new to jhipster. I'm wondering if I need to include all entities in the gateway as suggested by jdl microservice example?
unick m
@unick97:matrix.org
[m]
Hi, I created the jhipster application with mongodb and elasticsearch. I created the container of the working jhipster project in dockerhub and I tried to deploy that container in openshift. I can not access the webpage of the application. For instance, I can see at localhost:8080 when I run it locally.
🦕pat.🦕
@patsatweetin_twitter
is there anyway to increase the time before an api throws a gateway timeout for a monolith application?
Kevin Madhu
@kevin-madhu
Hi everyone
I've got no idea what's going on. I'm trying to deploy my microservices created using jhipster to aws and the services do not seem to respond to environment properties.
I tried adding SPRING_DATASOURCE_URL, SPRING_DATASOURCE_USERNAME and SPRING_DATASOURCE_PASSWORD to the environment variables as well as jhipster-registry config repo, but the service is still trying to connect to localhost:5432.
Any idea, why?
Between, in the jhipster-registry config repo, I added the config to ${service-name}/application-prod.yml
4 replies
Kevin Madhu
@kevin-madhu
I'm not really into baking in these values while creating the docker image, so I was hoping I could solve this issue without doing that.
Kevin Madhu
@kevin-madhu
Another question...is the microservice gateway supposed to connect to jhipster-registry? It's always shown as "DOWN" in eureka while other services seems to play well with it.
Daniel Koh
@billop
Is there a reason why the default .gitignore file doesn't include dist?
1 reply
amanrathore123
@amanrathore123
Hello, I’ve been trying to create a node server from where i can pass a jdl file to the env to generate the application. For example:
Skieler C
@srcapezza
I'm currently running an older version of Jhispter 6.10.1 to have the ELK stack as an option with docker-compose. The Jhipster and ELK are running, but I'm not sure how to see my entity entries in Kibana. Does anyone have any tips?
nomuna
@nomuna
hi everyone. i have a very banal question... :D Do the bounties for bugs/merged pull request become invalid after a certain amount of time?
manthisthe
@manthisthe
Once I generate frontend in separate folder (jhipster --skip-server) How to run frontend in development afterwards?
10 replies
Alessio Cruciani
@AleMScof
Has anyone in here implemented Azure 2.0 SAML authentication in a Jhipster project? Any resources around?
1 reply
Ayuob
@Ayuob
is is jhipster dies now
uao-vicgarpl
@uao-vicgarpl
Hi, how i do work Jhipster(last version) using a Oracle database, and what are the steps to make it works?
1 reply
Salome J Marquez
@Marqzman_gitlab
Hi everyon. Can I combine the Quarkus and Kotlin blueprints to generate a microservice that uses Quarkus instead of Spring and it's written in Kotlin?
Jay Bourland
@jay.bourland_gitlab
Hi all - is there any documentation for the architecture decisions enforced in the TechnicalArchitectureTest? In particular, the Client layer not being accessed by any other layer is at odds with how we use that package.
1 reply
Prashanth Srinivasan
@sriniprash
Hello everyone. How do I create a JHipster application without any caching enabled ( I believe the default is Ehcache ), I tried poking around the documentation but could not find anything. I did come across this repo: https://github.com/jhipster/jhipster-sample-app-nocache but it does not mention how to generate it, any help highly appreciated :)
1 reply
MeriemS22
@S22Meriem_twitter
hello i'm having an issue in using jhipster-entity-audit generator . I installed the generator-jhipster-entity-audit by using this command
"npm install -g generator-jhipster-entity-audit"
and then I installed "yo" by using this command "npm install -g yo" .
but this command "yo jhipster-entity-audit" generates this error : use of deprecated folder mapping "./generators/" in the "exports" field module resolution of the package at c:\users\mm\onedrive\bureau\awtarapp\node_modules\generator-jhipster\package.json. update this package.json to use a subpath pattern like "./generators/*". Can someone help me plzz or what's the correct steps to integrate this module ?
John Poole
@johnpoole
Is there documentation for the generate-blueprint cmd added in 7.7.0?
mulikevs
@mulikevs

I have the below JDL that I am using to create the jhipster application.

    entity AuthClient(auth_client) {
    msisdn String required maxlength(255),
    email String required unique maxlength(255),
    password String required maxlength(255),
    lastLogin Instant,
    createdAt Instant required,
    createdBy Integer,
    updatedAt Instant,
    updatedBy Integer,
    isDeleted Boolean required,
    deletedAt Instant,
    deletedBy Integer
}

entity AuthToken(auth_token) {
    token String required maxlength(255),
    appId Integer required,
    appVersionName String maxlength(255),
    clientId Integer required,
}
entity ClientProfile(client_profile) {  
    fName String required maxlength(255),
    mName String maxlength(255),
    lName String required maxlength(255),
    gender Integer,
    clientId Integer required
}


// Relations
relationship OneToMany {
AuthClient{AuthToken(clientId)} to AuthToken{AuthClient}
}
relationship OneToOne{
 ClientProfile{AuthClient} to AuthClient{ClientProfile(clientId)},
}

// Options
service * with serviceClass
paginate * with pagination
dto * with mapstruct
filter *

However, instead of using the variable clientId as the foreign key it creates another field Auth Client in the database.

How do I use the clientId as the foreign key in this application and not the generated new field Auth Client

2 replies
🦕pat.🦕
@patsatweetin_twitter
anyone know of a way to get column headers in the data tables to be sticky in react redux?
1 reply
Juzer Ali
@juzerali
Can anyone suggest workaround to this issue? Creating an entity with a 1-to-1 relationship with User entity results into an error. Suggested workaround is to use latest master. But that results in issues with react components.
elkamphy
@elkamphy
Hello, I have an application that was generated on Windows. How can I migrate it to Mac? When I try to run ./mvnw, I got an error saying "cannot execute file node.exe"
3 replies
Edoardo D'Ambrosio
@Eddynew_twitter
image.png
Hello, I'm relatively new to jhipster and I found something strange in the project I inherited: in AuditEventService(which is autogenerated, as far as I understand), there is a method that removes old audit events, the comment says that it should fire at 12am, but if so, the cron is wrong; shouldn't it be "0 0 0 ?". (also new to gitter, the asterisks got omitted)
2 replies
just a guy
@justagu75740323_twitter
image.png
Hi, I am very new to all this and I have an issue: I have tried to create an application, set everything up (I think), however at the end of the process I get a few errors.
When I try to run "npmw install" or "mvnw" I also get "\jhipster was unexpected at this time."
just a guy
@justagu75740323_twitter
2 replies
ari62
@ari62
Hello, I added CreationTimestamp to my field in JDL like " @CreationTimestamp createdTimestamp Instant," but it wasn't added to the generated code. is there a limited list of annotations we can add in JDL ?
小石头
@zhengchalei
in jdl , how i do for myproject set no clientFramework
5 replies