jhipster-registry

Dynamic hostname in @AuthorizedFeignClient

时间秒杀一切 提交于 2021-01-29 19:33:04
问题 In a microservice system, I have an interface with the annotation @AuthorizedFeignClient(name="send-email", url="http://localhost:8080/utils/api/email") , in the development environment it works correctly, however, in the Docker environment, I need the url parameter to have the Docker container name in place of localhost to work in the Docker environment. I tried adding in the application-prod.yml the configuration: containers-host: gateway: jhipster-gateway And in the annotation I put it

Request cannot be proceed error in Jhipster registry version 4.0.0

大城市里の小女人 提交于 2021-01-28 10:41:33
问题 I downloaded jhipster registry version 4.0.0, imported and run the registry successfully, when I open localhost:8761 I am getting request cannot be proceed error, there is no error information also. When I used command mvnw I am getting an exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.

JHipster support websockets in microservice architecture

落花浮王杯 提交于 2021-01-27 20:20:39
问题 I tried to implement websockets in one of the microservices in my project. However, I found out the Zuul proxy doesn't support websockets by default and jhipster developers is recommending adding websockets to gateway project as in https://github.com/jhipster/generator-jhipster/issues/7335 . Are there any better solution for this problem using a different proxy that will allow adding websockets to microservice? 来源: https://stackoverflow.com/questions/50679665/jhipster-support-websockets-in

How to encrypt Jasypt.encryptor.pasword property while using in Jhipster registry App's configuration file

你说的曾经没有我的故事 提交于 2020-08-25 09:19:38
问题 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 password (admin/admin) ,encrypted as mentioned below in the central-config folder , I have configured gateway.yml ( central configuration file for all micro-services common configurations) spring: datasource: type: com.zaxxer.hikari

Feign Client from Jhipster UAA to microservice gateway app

末鹿安然 提交于 2020-01-15 06:50:18
问题 I have a Contact Entity in my gateway(gw-app) app and I would like to create a entry every time a new user is registered in the UAA app. I have been trying to use the inter service communication described in Jhipster documentation for microservices. Fist problem I have here is I don't have this interface @AuthorizedFeignClient in the UAA app. Second, I never got a success creation from uaa to gw-app using @FeignClient . Beside having the communication/configuration issues with the feign

liquibase checksum validation error is even after updating changelog in master.xml

痴心易碎 提交于 2019-12-24 19:36:01
问题 I am using postgresql in jhipster microservices application. I am following jhipster documentation as below. Database updates with the Maven liquibase:diff goal If you have choosen to use MySQL, MariaDB or PostgreSQL in development, you can use the ./mvnw liquibase:diff goal to automatically generate a changelog. If you are running H2 with disk-based persistence, this workflow is not yet working perfectly, but you can start trying to use it (and send us feedback!). Liquibase Hibernate is a

Jhipster registry “Status: (Unauthorized)” page after keycloak login

给你一囗甜甜゛ 提交于 2019-12-13 19:17:52
问题 Jhipster registry:v3.3.0 Keycloak: 4.5.0.Final (https enabled) There is a jhipster registry setup using docker-compose as shown in picture. Registry talks to Keycloak for authentication. We have two keycloak instances. When configured with one keycloak instance it successfully logins and opens the registry page. When configured with other keycloak instance it show the following page: After entering keycloak credentials, the url in the browser is http://localhost:8761/login?state=Swy20H

JHipster-Registry Swagger UI for microservice says invalid_token with UAA

蹲街弑〆低调 提交于 2019-12-13 03:49:43
问题 I setup the following components using Jhipster (version of generator-jhipster: @ 5.3.1) Gateway Jhipster Registry UAA Server Everything works fine so far. In Jhipster Registry, when I go to Administration >> API It opens up Swagger UI. Swagger UI lists the apis for Jhipster-Registry only. But it gives error when the uaa or gateway is selected in the drop down. Swagger UI From Gateway (Administration >> API) works fine. Only from registry it does not work. Please let me know if I am missing

Error when starting jHipster application on heroku

不想你离开。 提交于 2019-12-12 05:59:34
问题 i'm using jhipster 4.5.6. I'm trying to run my application on heroku and i'm getting this error when executing this code on in main class: Environment env = app.run(args).getEnvironment(); 2017-06-24 17:35:32.293 ERROR 4 --- [ main] o.s.boot.SpringApplication : Application startup failed 2017-06-24T17:35:32.294416+00:00 app[web.1]: 2017-06-24T17:35:32.294418+00:00 app[web.1]: org.springframework.beans.FatalBeanException: Could not copy property 'password' from source to target; nested

JHIPSTER Registry and NODEJS eureka-js-client NullPointerException

▼魔方 西西 提交于 2019-12-12 04:13:40
问题 I would like to add a node.js server as a microservice application on jhipster-registry. I use eureka-js-client npm package You can find a node test project "zhudan/node-eureka" on github // ------------------ Eureka Config -------------------------------------------- var Eureka = require("eureka-js-client").Eureka; var client = new Eureka({ filename: 'eureka-client', cwd: __dirname }); client.logger.level('debug'); client.start(function(error){ console.log(error || 'complete'); }); // ------