jhipster

What is the Jhipster registry url after deploying it on tomcat?

蹲街弑〆低调 提交于 2019-12-13 07:40:03
问题 I want to deploy jhipster registry war on tomcat, deployment is successful but I am unable to access the url. I tried http://localhost:8080/jhipster-registry-2.5.8/ and http://localhost:8761/#/ neither worked. I know that default port for registry is 8761, Does Tomcat overwrites it? 2017-02-23 10:19:05.782 INFO 89248 --- [ost-startStop-1] i.g.jhipster.registry.ApplicationWebXml : The following profiles are active: prod 2017-02-23 10:19:08.230 WARN 89248 --- [ost-startStop-1] o.s.c.a

How to upgrade jhipster sub-generator?

吃可爱长大的小学妹 提交于 2019-12-13 07:32:30
问题 I have an existing project running on hipster 3.6.1, and I wanted to upgrade it to 3.12.2. I followed the process of upgrade described in jhipster website, but the hipster_upgrade branch generated still mentions the old version of the sub-generator. Forced update using npm While running the following command npm install -g generator-jhipster , it shows me the following npm WARN deprecated node-uuid@1.4.7: use uuid module instead npm WARN deprecated npmconf@2.1.2: this package has been

JHipster, spring rest service with MultiPart and JSON, swagger/curl error

北城余情 提交于 2019-12-13 07:32:13
问题 I am having problems with JHipster to publish a rest spring service. The service includes a MultipartFile, parameters and a JSON object. To my knowledge, I should be able to publish as follows: public @ResponseBody ResponseEntity<DocumentId> addDoc(@RequestPart(required = true) MultipartFile file, @RequestPart(required = false) String folder, @RequestPart(required = true) MetadataDoc metadata) The swagger api does not recognize the parameter "metadata" declaring it as "undefined"data type.

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

custom error message for bad request in jhipster project

左心房为你撑大大i 提交于 2019-12-13 03:38:23
问题 I am trying to create a new Entity name if entity name is already exist i need to prompt the message. Below is the code i have added to send error message. i am able to send the alert to dialog screen, but UI is printing as Object: object i am compare the json format success and failure i am sending the same but when success it is printing but when failure it printing has [object object] @Timed public ResponseEntity createEndpoint(@Valid @RequestBody Endpoint endpoint) throws

JHipster Redis Integration element unbound error

穿精又带淫゛_ 提交于 2019-12-13 03:35:11
问题 So I've been following this pull request to integrate redis onto jhipster generator: https://github.com/jhipster/generator-jhipster/pull/10057/commits/cd2f2865d35dfd77624dd3a38ed32822e895539d Here's what I configured: ApplicationProperties.java: package com.xxx.xxx.config; import org.springframework.boot.context.properties.ConfigurationProperties; import io.github.jhipster.config.JHipsterDefaults; /** * <p> * Properties are configured in the {@code application.yml} file. * See {@link io

Unable to resolve name [org.apache.ignite.cache.hibernate.HibernateRegionFactory] as strategy [org.hibernate.cache.spi.RegionFactory

耗尽温柔 提交于 2019-12-13 03:19:06
问题 I have a JHipster project with a microservice and a gateway. Both were generated through JHipster. Application deployed in Docker using docker-compose. I am trying to implement Hibernate 2nd level cache for the microservice with Apache Ignite. For this, I used maven dependencies in pom.xml based on Apache Ignite official documentation. When I run the project I get the following error Unable to resolve name [org.apache.ignite.cache.hibernate.HibernateRegionFactory] as strategy [org.hibernate

jhipster hot reload failed to register liquibase changelog directory

£可爱£侵袭症+ 提交于 2019-12-13 03:08:47
问题 i just started using jhipster and face a problem already, here's my development stack : - os windows 7 - eclipse Juno - maven 3.1 - latest node and npm - mysql as db in ubuntu vm and here's what i have done : - generate jhipster "yo jhipster" - convert it to maven project "mvn eclipse:eclipse" - maven compile "mvn clean" & "mvn install" - add jhipster-reload feature in eclipse run vm arguments - and run the main class in eclipse "right click Application.java and run as java application" -

JHipster Nginx HTTPS This page is trying to load scripts from unauthenticated sources

不打扰是莪最后的温柔 提交于 2019-12-13 02:36:00
问题 To make my story short, here is shown error message(in chromium console): Mixed Content: The page at 'https://example.com/#/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://example.com/login'. This request has been blocked; the content must be served over HTTPS. And you see this message if you click the security icon(in chromium address bar): To investigate this further I notice, on page load event, we do have a request to /api/account secure end-point and

Microservice can not reach Elasticsearch Image

Deadly 提交于 2019-12-12 23:22:31
问题 I have one Microservice with Jhipster version 5v and a image 2.4.1 of the ElasticSearch running in vagrant centos 7v. The two image are running but the operations of save and search can not reach the Elasticsearch image. docker-compose: service-app: image: "..." depends_on: - service-mysql - service-elasticsearch - kafka - zookeeper - jhipster-registry environment: - SPRING_PROFILES_ACTIVE=dev,swagger - SPRING_CLOUD_CONFIG_URI=http://admin:admin@jhipster-registry:8761/config - SPRING