Questions tagged [jhipster-gateway]
The jhipster-gateway tag has no usage guidance, but it has a tag wiki.
59
questions
0
votes
0
answers
38
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
15
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<...
0
votes
0
answers
38
views
JHipster Login Redirection Throws 401 Unauthorized
OIDC Keycloak gives error in K8S
{"type":"https://www.jhipster.tech/problem/problem-with-message","title":"Unauthorized","status":401,"detail&...
0
votes
0
answers
53
views
how to fix this error with jhipster app production?
whenever i try to make the production for my jhipster app it gives me this list of errors kindly advice
@jhipster #jhipster
the app is using npm, maven , angular , mysql and also there is some ...
0
votes
0
answers
78
views
Jhipster Full authentication is required to access this resource
I have created one gateway and 1 microservice application and a jhipster registry.
I started the jhipster application and saw these errors.
When the 8761 port was up and running the 8761/erueka url ...
1
vote
0
answers
323
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
54
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
84
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
108
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
109
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
0
answers
57
views
Does jHipster's Registry based hazelcast cache work with Heroku and multiple "common" Dynos?
I would like to scale my jHipster 7.8.1 based monolith, running on Heroku, to multiple instances/dynos. If I simply scale the Heroku dynos then the server cached data gets out of sync with the ...
0
votes
0
answers
58
views
I can't found Jhipster-UAA
Helo EveryOne i need help with the Jhipster UAA
i cani' found it in the configuration of jhipster
enter image description here
0
votes
0
answers
43
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
1
answer
201
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
19
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
167
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
118
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
0
answers
180
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
161
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
211
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
185
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
69
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
186
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
4k
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
253
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
222
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
147
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
279
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
560
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
154
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
345
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
151
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
531
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
0
answers
102
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
361
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
962
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
97
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
424
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
414
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
123
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 ...
0
votes
1
answer
1k
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
208
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
177
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 ...
1
vote
1
answer
823
views
jhipster with webflux - Swagger is not working
I am getting this error with jhipster+webflux, Gateway application error(JWT)
Application --> registry--gateway(angular)--multiple services(webflux)
http://localhost:8080/admin/docs
"type"...
0
votes
0
answers
405
views
Jhipster, access denied from gateway to microservice, what have i misconfigured?
with jhipster6, i generate microservice and gateway,they are displaying in the registry, i can hit the microservice with postman but i have an error500 in the gateway i configure security with ...
0
votes
1
answer
157
views
Bean-Definition Overriding Exception while centralizing micro-services using JHipster-Registry(Cloud Config Server as central server)
I am currently facing an issue during centralization of micro-service client's configuration in JHipster-registry. I am using file-system approach to centralize configuration (central-config) folder ...
0
votes
1
answer
382
views
JHipster gateway application login failing
Application started. When I try to login, getting below error. Please help
I am using Jhipster v6.10.1 to generate gateway application. Application created and started without any error. But when I ...
1
vote
1
answer
1k
views
How to encrypt Jasypt.encryptor.pasword property while using in Jhipster registry App's configuration file
I am using JHipster registry APP and used local encryption by using Jasypt library to encrypt username and password from a centralized configuration for all micro-services.
While doing this I observed ...
1
vote
0
answers
8k
views
The request was rejected because the URL contained a potentially malicious String ";" in jhipster gateway
I using Jhipster microservice. In production, I get the below exception in gateway war file:
org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the ...
4
votes
3
answers
465
views
When path in proxy.conf.json changed the Java app does not recognize change
I have an Angular 4 app, and I want it to point to a different URL for the backend (which is a java/spring app). When I had this problem on my localhost (it not being able to connect to my locally ...