jhipster

Authentification of 2 APPs with the same Keycloak (SSO)

一笑奈何 提交于 2020-06-16 17:25:28
问题 I need your help for a special usecase, I searched on the internet but didn't found anything that would mach my case. I'm new to keycloak so it may be something easy to do but I failed to resolve it : I have two apps with spring boot security which are connected to the same keycloack. Front-end of both was generated by JHIPSTER. Let's call them app1 and app2. 1st case : I'm connected to app1 and app2 from the same browser, it works well, I can request app1 from app2. 2nd case : I'm connected

Connection terminated as request was larger than 10485760

本秂侑毒 提交于 2020-06-12 05:11:02
问题 I'm trying to upload a 6MB file to my JHipster app server. However, I get the following error. Where can I find the related configuration? io.undertow.server.RequestTooBigException: UT000020: Connection terminated as request was larger than 10485760 at io.undertow.conduits.FixedLengthStreamSourceConduit.checkMaxSize(FixedLengthStreamSourceConduit.java:168) at io.undertow.conduits.FixedLengthStreamSourceConduit.read(FixedLengthStreamSourceConduit.java:229) at org.xnio.conduits

JHipster: Redirect root domain to www

邮差的信 提交于 2020-06-12 04:42:32
问题 I am working on Search Engine Optimization and I would like https://pomzen.com to be redirected to https://www.pomzen.com. Is it possible to do it in a JHipster project, or is it done outside of the project? For example in DNS records or web config for Tomcat? 回答1: Redirects have to be done at the web server level. Basically you need the web server to send an HTTP Redirect (302 or 301). DNS cannot help you here. Note : There are some hosted DNS platforms that have workarounds (Google Domains,

jHipster Undertow request failed HttpServerExchange

回眸只為那壹抹淺笑 提交于 2020-05-17 07:27:11
问题 i'm using jHipster for back-end admin dashboard application and i'm getting this error often that brings my server down every time it appears. 2019-12-26 10:30:29,516 ERROR [XNIO-2 task-10] WebsocketConfiguration$2: Handshake failed due to invalid Upgrade header: null 2019-12-26 10:38:46,039 ERROR [XNIO-2 I/O-1] request: UT005071: Undertow request failed HttpServerExchange{ CONNECT check.best-proxies.ru:80 request {Host=[check.best-proxies.ru:80]} response {}} java.lang

jHipster Undertow request failed HttpServerExchange

核能气质少年 提交于 2020-05-17 07:26:38
问题 i'm using jHipster for back-end admin dashboard application and i'm getting this error often that brings my server down every time it appears. 2019-12-26 10:30:29,516 ERROR [XNIO-2 task-10] WebsocketConfiguration$2: Handshake failed due to invalid Upgrade header: null 2019-12-26 10:38:46,039 ERROR [XNIO-2 I/O-1] request: UT005071: Undertow request failed HttpServerExchange{ CONNECT check.best-proxies.ru:80 request {Host=[check.best-proxies.ru:80]} response {}} java.lang

Jhipster table with search fields by columns

房东的猫 提交于 2020-05-16 20:42:22
问题 im using jhipster in my application. I have a table to which I have added pagination and sorting, but I would also like to add a search field in a column, this would be possible? It would be something like this http://ng-table.com/ My HTML is: <div class="table-responsive" *ngIf="entities"> <table class="table table-striped"> <thead> <tr jhiSort [(predicate)]="predicate" [(ascending)]="reverse" [callback]="transition.bind(this)"> <th jhiSortBy="id"><span jhiTranslate="global.field.id">ID<

Jhipster table with search fields by columns

回眸只為那壹抹淺笑 提交于 2020-05-16 20:41:28
问题 im using jhipster in my application. I have a table to which I have added pagination and sorting, but I would also like to add a search field in a column, this would be possible? It would be something like this http://ng-table.com/ My HTML is: <div class="table-responsive" *ngIf="entities"> <table class="table table-striped"> <thead> <tr jhiSort [(predicate)]="predicate" [(ascending)]="reverse" [callback]="transition.bind(this)"> <th jhiSortBy="id"><span jhiTranslate="global.field.id">ID<

Static metamodel class is not generated

巧了我就是萌 提交于 2020-05-15 10:02:52
问题 I just started learning and using Jhipster. I have a question about JPA Static metamodel generation. The following is what I have done according to the Jhipster website but the static matemodel class(Class X_) is not generated: I created an entity called: SalesByDepartment. After this entity generated, I changed its JOSN file from folder:.jhipster under my project folder by setting service to serviceImpl from no, and jpaMetamodelFiltering to true. My understanding is that I need to re-run

如何安装JHipster

做~自己de王妃 提交于 2020-04-07 03:46:46
安装Jhipster 安装方法 我们提供了3种Jhipster的工作方式: 本地安装,这是一个经典的方式使用Jhipster.所有都安装在你本机,可能设置起来比较复杂,但确实大多数人通常选择的方式.如有疑问,选择这个安装. 一个基于Vagrant的" 开发工具箱 ",在一个基于Ubuntu的虚拟机上集成并配置好了开发所需的所有工具(STS,Yeoman,NODE,NPM,Genterator,JAVA8,Atom,MySQL). 一个" Docker "容器版,一个安装JHipster的轻量级虚拟化的容器. 本地安装 (推荐给一般用户OSX 类Linux) 安装JAVA8 Oracle官网 . (选择) 安装一个Java构建工具. 无论你选择使用 Maven 或者 Gradle , 一般情况下你不需要安装任何东西, 因为 JHipster将会自动为你安装 Maven Wrapper 或者 Gradle Wrapper . 如果你不想使用这些wrappers,去 Maven website 或者 Gradle website 官网下载自己的安装包. 安装 git-scm.com . 如果你刚接触Git,我们建议你使用 SourceTree . 安装 the Node.js website (推荐Long Time Support版本).这也会安装NPM,NODE的包管理工具

Relative routes are not automatically generated when creating a new entity

北战南征 提交于 2020-03-23 07:55:09
问题 When I create a new entity with the command "jhipster entity [entityName]", the relative paths are not automatically generated in my [entityName].route.ts. Instead, at the place for the main route I have this : ' ', instead of '[entity-name]'. Also, all the routes for adding, updating and deleting also not contains the prefix '[entity-name]'. Thank u in advance 回答1: In entity.module.ts , the routes to the entities get added in RouterModule.forChild() : all entities will be lazy loading. This