Questions tagged [jhipster]
JHipster is a development platform to generate, develop and deploy Spring Boot, Angular/React/Vue Web applications and Spring microservices.
4,683
questions
0
votes
0
answers
6
views
Jhipster user management is not generated automatically
I'm creating a new application with jhipster generator v7.8.1 with the following options:
Monolithic application
Spring WebFlux? No
authentication: OAuth 2.0 / OIDC Authentication
database: mongodb
...
0
votes
1
answer
13
views
relationship between two entities in different micro-services
i have a question : does jhipster allow relationship between two entities in different micro-services
i have a :
1- customer microservice (with Customer entity)
2-farm microservice (with Farm entity)
...
0
votes
0
answers
9
views
jhipster ERROR 6859 login/registration error
I'm a absolute newbie with jhipster and have a problem with the login.
I installed jhipster via npm and followed the installation guide.
Now I tried to log-in with the standard admin-admin account. ...
0
votes
0
answers
12
views
RateLimiting Based On Pricing Plan with Jhipster
I set up a microservice architecture based on jhipster, composed of
a gateway service (spring cloud gatway) 8080
an 8081 microservice
i need to use bucket4j library to limit api calls but based on ...
0
votes
0
answers
30
views
Spring boot metrics
I´m very new at this, actually, I´m studying to become a developer but I have a problem. My teacher is a terrible one and google doesn´t really help me. My problem is that I just created a project ...
1
vote
1
answer
22
views
Having a Max Itemps per page on JHipster even when i ask for more
this is my first project doing jhipster (microservice : Spring boot - Angular) and we have implemented the pagination for most of our findRequests.
We have set the MAX_ITEMS_PER_PAGE to 20 during the ...
0
votes
0
answers
16
views
Jhipster project - error with ConfigurationMetadataAnnotationProcessor class in spring-boot app
I just start a new Jhipster project on my computer.
I have install the Open JDK 11.0.6, the last version on node and npm (node 16.15.0).
I have created the project with jhipster to test it but I have ...
0
votes
0
answers
41
views
Elasticsearch on Heroku: Invalid or missing build flavor [oss]
When I deploy my JHipster app (that uses Elasticsearch) to Heroku, it's unable to connect to the Bansai add-on. Error is:
... app[web.1]: Caused by: org.elasticsearch.ElasticsearchException: Invalid ...
1
vote
2
answers
73
views
Mapstruct - How to convert a DTO String parameter to an Entity object?
I'm new to Mapstruct and I'm trying to understand it properly.
What I want to achieve is converting from a DTO String parameter (carModel) to his Entity, retrieve using Service and Repository.
The ...
0
votes
0
answers
14
views
Spring Data JPA - Derived Count Query without filtering
I am trying the methods I've found at:
https://www.logicbig.com/tutorials/spring-framework/spring-data/derived-count-query.html
I'm trying to learn about what can count do. Those seems to work fine ...
1
vote
1
answer
39
views
how disable liquibase in jhipster 7.7.0
I'd like to know how can I temporarily disable Liquibase in JHipster 7.7.0 there is a similar question here I tried this suggested solution but it shows this error
org.springframework.boot.context....
0
votes
1
answer
22
views
Error while trying to import a jdl file to a jhipster project using mongodb
I'm trying to import a jdl file, but I get the Error: Enumeration values must be passed to get the formatted values.
Any insight?
entity Post {
name String,
details String,
image BLOB,
...
0
votes
0
answers
14
views
Jhipster 6.10.5 Elasticsearch doesn't work for relationship after insert, the same work after update
The search doesn't work after inserting a new entity, the same search work after updating the entity.
it seems after the updating entity the indexing has been updated.
Model
Entity A
Entity B
...
-1
votes
0
answers
60
views
Apply css file to react table
I have this css file which hI would like to apply to react table:
/* styles tbody as having a fixed height and vertical scrollbar */
table tbody{
display: block;
/*arbitrary height to force the ...
0
votes
2
answers
51
views
resize table columns to fit width
I have a JHipster table into which I want to add vertical scroll. I tried this:
<div class="table-responsive" style="max-height: 800px;">
<table class="table"&...
0
votes
1
answer
60
views
page size in spring boot to get total size
the default size of page is 20, I want to be able to get all elements from endpoint url.
to get 30 elements I set size like below :
http://localhost:8080/api/invoices?page=0&size=30
I don't want ...
0
votes
0
answers
17
views
Database generation in an existing jhipster project
I have a microservice without a database. Is it possible to generate a database in an existing jhipster project?
1
vote
2
answers
59
views
Entity relations JDL-Studio
I´m creating a project in jhipster and I need to access to this metrics and structure:
Structure:
Of the players we want to save:
Nickname (unique) can only be formed by: letters, numbers and ...
-5
votes
0
answers
49
views
Application commit to Git failed
i am having this error while trying to create my jhipster project. I installed git but can't deal with this error:
Application commit to Git failed from C:\Users\Asma\App2.
Try to commit manually.
0
votes
0
answers
33
views
jHipster microservice Swagger-UI not available in registry / control center API tab
Microservice local project based on jHipster 7.8.1
Generated:
registry
control center
API Gateway
test microservice
Test microservice has classs with @RestController @RequestMapping("/api")...
0
votes
0
answers
12
views
JHipster Blueprint - Discerning if a Microservice Entity's Field's DatabaseType from within the Gateway/Client Module
Is there a way, or a variable that has the information, for a microservice entity's database type from within the Gateway/Client module so that this information can be used in a Blueprint? This would ...
0
votes
0
answers
37
views
The Jhipster generator keeps generate reactive projects and should not
I use directly a .jdl file in order to generate a microservice project.
I have gateway and three microservices.
My simplified jdl file:
application {
config {
baseName projectName,
reactive ...
1
vote
1
answer
31
views
How to put @beanmapping ignored by default to false from JDL
I'm trying to generate my entities and dtos from a JDL file, and I need that mapper files put @BeanMapping(ignoreByDefault=false) for recovering all the properties of a relationship's dto and not only ...
0
votes
0
answers
38
views
Problem with Jhipster Swagger-UI on backend only app
I just generated a backend only application using JHipster. But, could not access to the swagger UI. Only available swagger stuff is v3/api-docs
Checked dependencies and see below list.
springdoc-...
1
vote
0
answers
48
views
how to run Jhipster Gateway app webapp:build
I have a jhipster gateway generated app which I did not change anything with, I just wanted to start it, I did the following: mvn clean install -DskipTests, but it stops at the step of npm webapp:...
0
votes
2
answers
78
views
Communication between JHipster Registry and Keyloak from different containers
I am trying to implement a simple microservice infrastructure Jhipster. When I create microservice and and gateway I selected Oauth2 as security. The projects are created. I started Keyclok using ...
0
votes
0
answers
20
views
Any plans for Magic link auth integration?
Wondered if there are any plans to integrate Magic.link into Jhipster - cant help but think it would simplify it a lot
0
votes
0
answers
67
views
Weboscket with Spring boot, get error "Unauthorized: Full authentication is required to access this resource"
I am using websocket in springboot. As my client side is authenticated through oauth2, so the access token is stored in localstorage (React JS). Now I want to open a websocket with stompjs to connect ...
0
votes
0
answers
13
views
How to use Jira source connector from workplace search with hipster
I generate a jhipster monolith project. I use Elasticsearch and Kibana with it. I link Jira as a source connector in workplaceSearch and I want to use these datas in jhipster but I don't know how to ...
0
votes
0
answers
116
views
Spring data: How to ignore field for relational database but not in elasticsearch?
I have a problem with spring data and the @Transient annotation, in fact I have a class as follows:
@Table("example")
@Document(indexName = "example")
public class Example ...
0
votes
0
answers
21
views
How to update Heroku Postgress database after updated JDL entities on Jhipster
I have deployed a Jhipster application in Heroku using PostgreSQL as database. First time I deployed, the entities I created on the JDL file have been created as table on Postgres. Now I have created ...
0
votes
0
answers
22
views
Gateway uses r2dbc instead of jdbc - breaks Heroku
When deploying a gateway application to Heroku, the auto-generated application-heroku.yml will generate jdbc configs. However, I am unable to generate a gateway application that doesn't rely on the ...
0
votes
1
answer
40
views
How do I send an event to a Kafka topic from Jhipster Angular frontend?
I need to send a JSON event to my Kafka topic from a Jhipster Angular frontend. How should I go about doing this? I have no experience using Angular and no experience using REST API's. I have my REST ...
0
votes
0
answers
14
views
SSH alternative for Jhipster developing platform?
Looking for some help to build a secured web application. Can we implement SSH with Jhipster for secured encryption, instead of oauth, jwt, http?
0
votes
1
answer
57
views
authenticate a user inside a test class
I am new to spring boot and testing and I have spring boot app (generated with JHipster) that uses authentication. I need to get the id of the current user.
so this method inside userRepository ...
0
votes
0
answers
19
views
I am getting 'ws://localhost:8080/socket/926/dau1j54e/websocket' failed while implementing spring websocket in jhipster
I am trying to implement spring socket in jhipster and when I am trying to connect, it's throwing error in console as shown in the picture below.
Image of the error being thrown in the console
Backend ...
0
votes
0
answers
13
views
jHipster Websocket return 1006
I am using jHipster to build my backend java app with kwycloak oauth2 authentication, and now, and I want to add websocket support with stomp client.
What I did is add WebsocketConfiguration.java file:...
0
votes
0
answers
54
views
How to migrate data to new server? (Sequence generator issue)
What is the right way to backup and restore a MariaDB database that has sequence generation enabled (i.e. NOT autoincrement)? (This includes migrating to a new server.)
Is it possible to instruct the ...
0
votes
0
answers
37
views
How to generate UUID for User ID in jHipster
Is there any way to change the logic on how a user id is generated by default? It starts wit 1-2 like that.
Instead I want to generate UUIDs
0
votes
0
answers
21
views
Facing error while logging in Jhipster java monolithic project
I have created a java monolithic project through jhipster and I tried to sign in but getting error.
Compiled successfully.
<e> [webpack-dev-server] [HPM] Error occurred while proxying request ...
0
votes
1
answer
111
views
jhipster import-jdl error in jhipster monolith app when jdl has user entity relationship
I am trying to generate my monolith application using jhipster, but I haven't been successful. After troubleshooting I realized the issue is caused whenever I have a relationship to the user entity. ...
0
votes
1
answer
51
views
jhipster formatting scss files with trailing commas during file writing phase
My template (themes.scss.ejs) file has the following content (with formatting),
body.light,
body .light {
$base-light-theme: mat.define-light-theme((
color: ($palettes)
));
but the ...
0
votes
1
answer
46
views
JHipster liquibase not ready after choosing oracle db in dev & prod
I generated my app using JHipster, I chose Oracle database in dev and prod. then in application-dev.yml, application-prod.yml and in pom.xml I set the username, the password and the name of my Oracle ...
1
vote
0
answers
49
views
ERROR! This is a JHipster blueprint and should be used only like jhipster --blueprint
I tried creating a new blueprint using the steps provided in the
jhipster website
but I face the following issue,
➜ sampleProj jhipster --blueprint testbp
INFO! Switching to JHipster installed ...
0
votes
1
answer
72
views
JHipster 7: Database errors: Duplicate ID entry error
Recently, a JHipster 7.7.0 application started generating server side/database errors for ALL tables. The application was deployed in production, and users entered data without problem. Suppose ...
0
votes
0
answers
46
views
Jhipster swagger always showing unauthorised in prod environment
I am always getting unauthorised while trying to access swagger API documentation in jhipster. I am already logged in and I am able to access the API using the entities menu.
The issue is only in prod ...
0
votes
0
answers
23
views
Users CRUD operation on own data and persist logs in database
I have two problem:
persist logs in database as default and show logs in admin page.
What is the best solution in jhipster to each user or admin uses data is relevant to that user?
0
votes
1
answer
43
views
jhipster - possible to iterate on database schema using JDL Studio?
I'm new to jhipster, and have created a JDL file for Entities in my service using JDL Studio.
My goal is to keep iterating on my DB design, using JDL Studio, and then run the service so I can see the ...
0
votes
0
answers
58
views
Connection refused for jhipster with Angular
Here is the problem:
I initialized jhipster application on local and tried to run it with npm start and got following error:
[webpack-dev-server] [HPM] Error occurred while proxying request localhost:...
-1
votes
1
answer
138
views
OAuth/authorization end point is not returning with expected http 302 status, also session id and token information is missing in the response
I am upgrading my jhipster application to the latest jhipster version which is 7.6.0.
Jhipster 7.6.0 introduces latest version of spring boot (2.6.3) and spring framework (5.3.15)
For security ...