Questions tagged [jhipster-gateway]

A gateway is a JHipster-generated application (using application type microservice gateway when you generate it) that handles Web traffic, and serves an Angular/React application. There can be several different gateways, if you want to follow the Backends for Frontends pattern, but that’s not mandatory.

63 questions
1
vote
1 answer

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…
1
vote
1 answer

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 some reason. However, even-though now Admin A is…
amir
  • 47
  • 1
  • 1
  • 8
1
vote
1 answer

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] ConfigServletWebServerApplicationContext :…
Amar Premsaran Patel
  • 1,293
  • 7
  • 17
  • 26
1
vote
1 answer

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" :…
1
vote
1 answer

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 the moment I try to encrypt default username and…
1
vote
0 answers

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 URL contained a potentially malicious String…
Hosi Jafari
  • 88
  • 2
  • 9
0
votes
0 answers

Failed to connect to database while docker compose keycloak v12.0.4

`I'm composing docker image for keycloak v12.0.4 using command 'sudo docker-compose -f src/main/docker/keycloak.yml up', but at the time of composing image, I'm getting an error"FATAL [org.keycloak.services] (ServerService Thread Pool -- 70) Error…
0
votes
1 answer

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 authentication requested . I am using JWT authentication…
Harsh Nagarkar
  • 697
  • 7
  • 23
0
votes
1 answer

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 prodDatabaseType postgresql serviceDiscoveryType…
0
votes
0 answers

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 another, second client in it. Namely, we would…
Lazar Nikolic
  • 4,261
  • 1
  • 22
  • 46
0
votes
0 answers

Jhipster gateway status is down when register to jhipster registry v 7.9.3

When I create jhipster gateway by jhipster version 7.9.3 and then I start it, I saw a log status Saw local status change event StatusChangeEvent [timestamp=1677903081146, current=DOWN, previous=UP] 2023-03-04T11:11:20.872+07:00 INFO 48843 --- [ …
Shiro
  • 1
0
votes
1 answer

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 Jhipster? For example I want to packages' names…
0
votes
0 answers

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:internal/process/task_queues:82:21) ** I am very new…
0
votes
1 answer

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-routing.module.ts:28:36-76 - Error: Module not found:…
Amar Premsaran Patel
  • 1,293
  • 7
  • 17
  • 26
0
votes
0 answers

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 to frontend and backend. So, how to generate…