jhipster

How to change the way Spring Boot serves static files?

青春壹個敷衍的年華 提交于 2020-01-11 07:32:09
问题 After using JHipster on a couple of new projects recently (Highly recommended ! Amazing work !), I am trying to back-port some of the concepts into an older webapp, essentially migrating it to Spring Boot and Angular. In Spring Boot, the default location for static web resources (HTML, JS, CSS, etc.) is in a directory called public , static or resources located at the root of the classpath. Any of these directories will be picked up by spring boot and files in them will be accessible via HTTP

How to update the JHipster project after updating JHipster generator?

风流意气都作罢 提交于 2020-01-10 09:38:04
问题 I updated my JHipster installation as per this page by running the command npm update -g generator-jhipster But to update my application I am not sure where should I run the next command yo jhipster . I tried running it from the root of existing project, but it asked me to enter the name of the new project. I tried running it at one level above the root of existing project, then also it asked me the name of the new project. But this time I entered the same name and the jhipster generation

How to set the max size of upload file

非 Y 不嫁゛ 提交于 2020-01-09 08:35:10
问题 I'm developing application based on Spring Boot and AngularJS using JHipster. My question is how to set max size of uploading files ? If I'm trying to upload to big file I'm getting this information in console: DEBUG 11768 --- [io-8080-exec-10] c.a.app.aop.logging.LoggingAspect: Enter: com.anuglarspring.app.web.rest.errors.ExceptionTranslator.processRuntimeException() with argument[s] = [org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested

Unable to access Jhipster generated micro services on jhipster-registry in Aws Elastic Beanstalk

倾然丶 夕夏残阳落幕 提交于 2020-01-07 05:34:11
问题 I deployed my gateway, microservices and jhipster-registry applications on Aws Elastic Beanstalk. Applications are registered successfully on the registry. I am able to access the UI as well however when I try to access the api's it throws the below error: I can see the microservices app in the gateway as well. When I try to access the applications by clicking on the links inside registry I get server DNS address could not be found . Any idea what I am doing wrong here? Everything works fine

Architecture for communication between two microservices

冷暖自知 提交于 2020-01-06 16:19:49
问题 First of all, I'm using JHipster 4.0.x for my project. I'm using microservices architecture. For this example, I've got one gateway, one microservice for "Store" and a second one for "Skill". I want to centralise all Stores in one database and Skills in a second one. Each one is a data repository that will not evolve at the same speed. On the other hand, they will be the central point of my infrastructure in order to update, via an ESB, the other software. Jhipster is great for that, I've got

Architecture for communication between two microservices

青春壹個敷衍的年華 提交于 2020-01-06 16:18:20
问题 First of all, I'm using JHipster 4.0.x for my project. I'm using microservices architecture. For this example, I've got one gateway, one microservice for "Store" and a second one for "Skill". I want to centralise all Stores in one database and Skills in a second one. Each one is a data repository that will not evolve at the same speed. On the other hand, they will be the central point of my infrastructure in order to update, via an ESB, the other software. Jhipster is great for that, I've got

JHipster Eclipse Plugin Error

自作多情 提交于 2020-01-05 11:54:49
问题 I am trying jhipster demo application but when import project in eclipse i am getting below error in pom.xml file Plugin execution not covered by lifecycle configuration: com.github.trecloux:yeoman-maven-plugin:0.4:build (execution: run-grunt, phase: generate-resources) Plugin execution not covered by lifecycle configuration: org.jacoco:jacoco-maven-plugin: 0.7.4.201502262128:prepare-agent (execution: pre-unit-tests, phase: initialize) i have tried this link, but its now working for me then I

JHipster Eclipse Plugin Error

。_饼干妹妹 提交于 2020-01-05 11:52:05
问题 I am trying jhipster demo application but when import project in eclipse i am getting below error in pom.xml file Plugin execution not covered by lifecycle configuration: com.github.trecloux:yeoman-maven-plugin:0.4:build (execution: run-grunt, phase: generate-resources) Plugin execution not covered by lifecycle configuration: org.jacoco:jacoco-maven-plugin: 0.7.4.201502262128:prepare-agent (execution: pre-unit-tests, phase: initialize) i have tried this link, but its now working for me then I

How to use criteria with enums from TypeScript service?

拈花ヽ惹草 提交于 2020-01-05 07:49:16
问题 I have a criteria that is roughly like this : public class DocuSignTemplateDefinitionCriteria implements Serializable { public static class DocuSignTemplateTypeFilter extends Filter<DocuSignTemplateType> { } private DocuSignTemplateTypeFilter templateType; private LongFilter sponsorLevelId; private LongFilter languageId; private LongFilter eventId; From the TypeScript service, I can use the query with all the simple types (in this example, longs): this.http.get(`${this.resourceUrl}languageId

JHipster and Data driven user interface

六眼飞鱼酱① 提交于 2020-01-05 05:10:15
问题 I have a question on how to use JHipster to create dynamically data driven user interface. I would like to build a system where a Manager can create Type of elements, descripbed with a list of property (name,type) and then an USER can register a new instance of element by filling the associated properties The UI for the user has to be created dynamically based on the generic properties that have been defined by the Manager. How can I do this with JHipster / angularjs. Is there any plugin for