Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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
Prashant Arora
@prashnat5375:matrix.org
[m]
I am calling 3rd party HTTPS api with 2 way handshake , jhipster not allowing me to do that , it says handshake issue , but when i run the same code in standalone outside of jhipster its working fine , can any one help
1 reply
R Vijay kumar
@vijaykumar_123:matrix.org
[m]

Hi Team,

I'm using Jhipster 7.8.1 version, generated gateway and user microservice, while testing user microservice api through gateway swagger UI and trying to get current user login details (SecurityUtils.getCurrentUserLogin()) getting as anonymous user instead of current user login.
Please help us

fans
@hackpros
hello
image.png
image.png
fans
@hackpros
How to solve this problem?
1 reply
Simon Hirscher
@simiii
Is there any reason why we convert the "contains"-Query-Filter to an uppercase match to ensure case insensitive queries? We currently have a problem searching for "ß" which gets converted to "ss" and so does not find the relevant entries in the table with "ß".
rakeshkalra1983
@rakeshkalra1983
Hi everyone, I am creating jhipster app with MongoDB. I want to have entity with array type field. Is it possible? If yes, then how?
David Lambert
@BE-Arbiter
Hello !
I have a rather strange problem and I don't know how I can resolve this....
I have a high (Like 99%) CPU usage caused by XNIO-1 I/O-1 and XNIO-1 I/O-2 threads started by my jhipster stack and It prevent the app from working on my VPS... Any Idea how to resolve this? Or to limit the thread usages?
image.png
David Lambert
@BE-Arbiter
image.png
Problem Seems to be solved by exluding Netty and placing Tomcat instead
Hassan Ait Nacer
@hassanaitnacer

Hi, JHipsters!

I have created a Minimal UI starter kit with React and Redux Toolkit for JHipster based app if you want to use it in your upcoming project.

Main features:

  • Authentication JWT
  • Reset password via Email
  • CRUD users

GitHub: https://github.com/hassanaitnacer/jhinimal

Bobur Azimov
@boburazimov

Hi everyone, help me please with JDL Studio. When I try to applied model to gitHub project in web I see some errors:

INFO! Generating 0 applications.
INFO! Generating 14 entities.
INFO! Generating entities for application undefined in a new parallel process
TypeError: /home/jhipster/generator-jhipster/generators/entity-server/templates/src/main/java/package/service/mapper/EntityMapper.java.ejs:103
101| <% } %>
102| <% for (const {otherEntity, relatedField, collection} of otherEntitiesFields) { %>

103| <% const mapperName = otherEntity.entityInstance + .upperFirst(relatedField.propertyName); _%>
104|
105| @Named("<%= mapperName %>")
106| @BeanMapping(ignoreByDefault = true)

Cannot read properties of undefined (reading 'propertyName')
at module.exports.eval ("/home/jhipster/generator-jhipster/generators/entity-server/templates/src/main/java/package/service/mapper/EntityMapper.java.ejs":185:82)
at EntityMapper.java (/home/jhipster/generator-jhipster/node_modules/ejs/lib/ejs.js:703:17)
at /home/jhipster/generator-jhipster/node_modules/ejs/lib/ejs.js:260:40
at new Promise (<anonymous>)
at tryHandleCache (/home/jhipster/generator-jhipster/node_modules/ejs/lib/ejs.js:258:14)
at Object.exports.renderFile (/home/jhipster/generator-jhipster/node_modules/ejs/lib/ejs.js:491:10)
at Object.renderContent (/home/jhipster/generator-jhipster/generators/utils.js:310:23)
at module.exports.template (/home/jhipster/generator-jhipster/generators/generator-base-private.js:735:8)
at /home/jhipster/generator-jhipster/generators/generator-base.js:2365:47
at Array.map (<anonymous>) {
path: '/home/jhipster/generator-jhipster/generators/entity-server/templates/src/main/java/package/service/mapper/EntityMapper.java.ejs'

LaPTECHNOS & SERVICES
@koteshd

Hi Facing problem with JDL, I get error 'Java type Integer does not have a random generator implemented' error when try to import a basic single entity jdl,
Please help me to resolve this
ERROR! /home/laptechnos/gf/nodemodules/generator-jhipster/generators/entity-server/templates/src/test/java/package/web/rest/EntityResourceIT.java.ejs:886
884| <%
if (!primaryKey.derived) { %>
885| <%
for (field of primaryKey.fields.filter(f => !f.autoGenerateByRepository)) { _%>

886| <%= persistInstance %>.set<%= field.fieldNameCapitalized %>(<%- getJavaValueGeneratorForType(field.fieldType) %>);
887| <% } %>
888| <% } %>
889| <%= entityInstance %>Repository.<%= saveMethod %>(<%= persistInstance %>)<%= callBlock %>;

Java type Integer does not have a random generator implemented

2 replies