66
questions
0
votes
0
answers
30
views
How to configure Websockets across a JHipster Gateway Microservices setup?
I'm working on a project created with JHipster, using a Gateway-Microservices architecture. My goal is to configure a WebSocket connection across the entire system to enable real-time communication, ...
0
votes
1
answer
39
views
Jhipster microservice application failed to determine a suitable driver class
I have generated a microservice application with Jhipster microservice, configured db url on dev. But I start the application it throws this error:
***************************
APPLICATION FAILED TO ...
0
votes
0
answers
36
views
Remove JHipster Registry from JHipster micro service
We are using a JHipster microservice with JHipster registry 6.1.1 in our production. Since the JHipster registry was officially deprecated, we would like to move to different registry providers like ...
0
votes
0
answers
78
views
UnsatisfiedDependencyException: Error creating bean with name 'securityConfiguration'
I developed a microservice application with JHipster, separating the client-side and server-side components. After completing the development, I deployed the gateway as a .war file to install it on an ...
0
votes
1
answer
104
views
jHipster 8: Can I use jhipster microservices with session based authentication. I want one login per user across ip and sessions
Does this jdl work?. I am using authenticationType session in gateway as well as microservices.
application {
config {
enableTranslation true
applicationType gateway
serviceDiscoveryType ...
0
votes
0
answers
28
views
Trouble with JHipster's Improved Remember-Me Mechanism
I'm currently working with the latest version of JHipster and I intend to use it in a microservice environment. I want to use the authentication infrastructure jhipster provides and I've been trying ...
0
votes
0
answers
147
views
OAuth2 redirection issue with JHipster Gateway and Keycloak
I've built an application using JHipster which consists of a gateway and a frontend with OAuth2 authentication implemented through Keycloak. Everything works as expected when running locally. However, ...
0
votes
0
answers
40
views
jHipster Release 8.0.0-rc.1: Unable to run gateway app
I am getting following error:
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-10-20T17:33:24.634+05:30 ERROR 28508 --- [...
1
vote
0
answers
55
views
Is web.xml needed in a Jhipster generated reactive spring-boot gateway application?
My web application is generated using Jhipster framework. It is a gateway application and I am using reactive spring-boot. I can see a web.xml is generated and it has <mime-mapping> tag inside &...
2
votes
1
answer
247
views
Separation of micro frontend runtimes in JHipster
Assume we are having an microservice (MS) application containing of a bunch of micro frontends (MF).
I have a lack of understanding how the MFs shall be separated and how they shall be integrated into ...
0
votes
1
answer
498
views
Jhipster microservices: JWT authentication: 401 Unauthorized
When I tried to visit a protected URL of microservice through the gateway eg: HTTP://localhost:8080/services/microservicename/api/** I am getting the following error
401 Unauthorized, full ...
0
votes
1
answer
131
views
Can't access jhipster user-management when deployed to docker
I created a simple jhipster file with microfrontend:
application {
config {
baseName testgateway
applicationType gateway
packageName com.example
authenticationType jwt
...
0
votes
0
answers
52
views
Add second webapp application in JHipster Gateway
Is there a way to add second front end application in JHipster Gateway besides the one that is by default in src/main/webapp?
This application was created to have server and react client, but we want ...
0
votes
1
answer
98
views
Can I generate the application according to a package structure that I have determined in Jhipster?
I want to generate an app with a package structure and project directories that I have determined in Jhipster. Can I generate the application according to a package structure that I have determined in ...
0
votes
0
answers
65
views
I have an error while creating Jhipster Microservice app
**
ERROR! Error: spawn git ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:...
0
votes
1
answer
177
views
Can't resolve module JHipster Micro-frontend
Hi I am running the command to generate microfrontend applications/microservices. I am running into the following errors when deploying my gateway application:
[INFO] ./src/main/webapp/app/app-...
0
votes
0
answers
124
views
How to add new entities to frontend and backend?
We have separated frontend and backend and used the jhipster --skip-server command to create frontend and used jhipster --skip-client to create backend service.
Now we would like to add more entities ...
0
votes
0
answers
76
views
SSE events are received when the connection is closed in JHIpster and Gateway
I have a simple code in Jhipster microservice which sends words periodically:
@GetMapping(path = "/words", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
SseEmitter getWords() {
List<...
2
votes
0
answers
705
views
Getting java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder error while running jhipster micro services
Jhipster version:
7.9.3
Sharing the exception log below (same error also shows up in integration test)
It fails in bootRun task
18:10:34.171 [Thread-0] DEBUG org.springframework.boot.devtools.restart....
2
votes
0
answers
158
views
Gateway not appearing in the jhipster registry
I have created a docker image for the gateway application, but when i run the command:
docker-compose up
only the microservice and the registry are UP but the gateway is not even appeared in the ...
0
votes
0
answers
195
views
Deploy 2 pods gateway api then got token expired error
I deploy my gateway api on k8s, I sync token with spring session hazelcast. It's work fine until I scale replica to 2, hazelcast session cluster worked but when I login (with keycloak) and then when ...
2
votes
0
answers
320
views
Jhipster microservice with no registry
I am trying to create a gateway+microservice setup (using jhipster 7.8.1) something similar to this sample but without eureka service discovery.
After generation, the applications boots fine but the ...
0
votes
1
answer
284
views
Services registered in Jhipster registry, but gateway cannot route requests
My Services are being registered on jhipster-registry. As can be seen below:
As you can see, Canoja service and Gateway are registered in my service registry.
And as per the documentation:
The ...
0
votes
1
answer
486
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
551
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 ...
0
votes
0
answers
312
views
How to add production and development server_api_url in jhipster?
I have created angular + spring boot application using jhipster. Now during development i have used localhost:8080 for calling apis. But in production i need to update server_api_url to something http:...
0
votes
1
answer
435
views
jhipster import-jdl error in jhipster gateway app when jdl has user entity relationship
I have generated a Jhipster gateway application using jhipster version 7.6.0. Here is my yo.rc
{
"generator-jhipster": {
"applicationType": "gateway",
"...
1
vote
1
answer
369
views
jhipster translation-not-found[error.url.not.found]
I am currently working on a jhipster project.
I had to encounter some difficulties with jhipster translation-not-found[error.url.not.found],
that I was able to solve and I would like to share the ...
1
vote
1
answer
111
views
jHipster gateway downstream prefix
I'm updating old jHipster gateway to 7.5.0 version. New version uses Spring Cloud Gateway (with Eureka), while the old one used Zuul. In previous version working with Service Discovery having service ...
0
votes
1
answer
455
views
How to customize GUI in Jhipster+ React application
I have created an application with jhipster + react. It's a default application generated by jHipster. We need to customize the GUI according to our needs(ex, Background change, alignment, layout,menu)...
1
vote
1
answer
6k
views
manifest for *** not found: manifest unknown: manifest unknown
I run docker-compose -f src/main/docker/app.yml up jhipster command, but I get this error =>
manifest for *** not found: manifest unknown: manifest unknown
1
vote
0
answers
369
views
How do I start jhipster microservices locally in dev mode?
I generated my first microservices with JHipster. For this I used the jdl file listed below. Now I want to start the services locally.
For this I execute the following commands:
docker-compose -f ...
0
votes
0
answers
397
views
JHipster entity filtering code not being generated for the Gateway and a NON reactive microservice
I'm getting to grips with JHipster these days.
I'm using generator v7.2.0 and have the following in place and working:
A non-reactive microservice with a few sample entities, based on a JDL file.
JPA ...
1
vote
0
answers
271
views
UUID in JDL produces "error: cannot find symbol" in gateway
I am trying to generate gateway+microservice apps in jhipster. Codegen completes fine but then the resulting app fails compilation with
R:\my-ms\gateway\src\main\java\com\my\domain\Practice.java:336: ...
0
votes
1
answer
431
views
not allowed to read the swagger of a microservice from the gateway
the gateway was generated by jhipster 7.0.1, and to that I added the dependency
"springfox-boot-starter" for io.springfox.
<dependency>
<groupId>io.springfox</groupId>
...
1
vote
1
answer
835
views
JHipster v7.1.0: TLS support in dev not working - app crashes or throw exception
I have created a simple microservice application, one gateway and one service, using JDL and enabling 'tls' in dev does not work out off the box, anyone know how to configure it in dev?
This are the ...
0
votes
1
answer
234
views
Stacking Nginx on top of Jhipster Gateway
We are creating an application following an microservice architecture using Jhipster, and now someone suggested putting an Nginx in front of the Jhipster gateway so user access goes through Nginx ...
0
votes
1
answer
529
views
New authority Jhipster
I followed those instructions from the article https://www.jhipster.tech/tips/025_tip_create_new_authority.html and I added a new authority "ROLE_CLIENT" After that, I restarted my project, ...
0
votes
1
answer
236
views
Jhipster Gateway - Blank page
I'm using jhipster version 4.14.4 to generate jhispter gateway.
Everything is working fine in local.
I using below command to compile war file as usual use for "Monolithic application".
&...
3
votes
1
answer
904
views
JHipster Microservice CORS
Is there a way to access a microservice API via the gateway without authentication? For example, if I have a public landing page that needs to read data from a microservice API. I enabled CORS and ...
1
vote
1
answer
288
views
How to render bunch of XML files in JHipster React Application
I have a bunch of XML files( around 100 files) which I need to render it inside react application with proper navigation and styling.
These XMLs can have anchors to different XML files for navigation ...
0
votes
1
answer
590
views
No suitable default RequestUpgradeStrategy found in a new generated jhipster application
I'm working on Jhipster micro-services project, all works fine and good until i a
websocket spring-websocket
into the gateway application in my JDL file, now when I run the project I always get a ...
1
vote
1
answer
1k
views
java.lang.NoSuchMethodError: javax.ws.rs.core.UriBuilder.resolveTemplates(Ljava/util/Map;)Ljavax/ws/rs/core/UriBuilder
I'm trying to use spring boot keycloak client and admin into microservice contains spring cloud,
I get this error when I want to create a user from keycloak admin api
Thanks for you support
error :
...
0
votes
1
answer
125
views
What is the order of JWT Authentication in Jhipster autogenerated Java application?
I am new to JWT authentication. I can use the default Admin credentials for accessing the API's. Where most of them use, but I don't how to register and add a user within the application.
Do someone ...
0
votes
1
answer
857
views
OAuth2 redirection - oauth2/authorization/oidc
I am trying to understand OAuth2 using a Jhipster microservice setup (V 6.10.5)
Jhipster Registry
Gateway UI (Angular) generated using --skip-server
Gateway server generated using --skip-client
...
0
votes
1
answer
693
views
How to bypass authentication/authorization on a resource using JHipster microservice + gateway?
We are implementing microservices with JHipster and we have a scenario where we need a specific resource in one of our microservices to be available via Gateway without the need for authorization/...
0
votes
1
answer
166
views
Calling JHipster microservice in third party application
I have created JHipster application with a gateway and few micro services. This jhipster application uses Keycloak for authentication. Now , i want completely different application (third party ...
1
vote
1
answer
2k
views
How to expire a JWT token manually in spring boot?
Let's consider a special scenario that an admin (Admin A) logs in and start doing some admin stuff on the system. Suddenly another admin (SuperAdmin) wants to downgrade Admin A to a normal user for ...
1
vote
1
answer
271
views
JHipster with Okta Application Failed to Start due to UnsatisfiedDependencyException
Getting the following error when starting JHipster Gateway application after adding OKTA configuration:
$ cd saathratrigateway
$ ./mvnw
...
2020-11-13 22:31:16.278 WARN 80043 --- [ restartedMain] ...
0
votes
0
answers
255
views
How to configure jhipster application
I am new to jhipster. I generated a project with the terminal jhipster command. I have a gateway service, upon trying to start the application I am getting these errors, the funny thing is I did not ...