Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Carlos Henrique
@henriqueof
I am using API first to generate controllers and would like to create only database related classes when importing my JDL entities, how can I achieve this? Currently it creates Controllers for all entities even those I don't want to.
3 replies
Abhishek Sharma
@abhisheksharma85
this could be a very dumb question, but I am curious. When I create jhipster gateway with Spring Webflux, it doesn't give an option to use Cache. Can anyone care to explain?
1 reply
EmmanuelDiazN09
@EmmanuelDiazN09
I am starting in jhipster I create the project in a basic way when I enter the server and add the username and password admin; admin "Login failed! Please check your credentials and try again."
cheetahtec
@cheetahtec
I am using jhipster 6.10.5. I built an application and created entities. When I run npm test and npm run e2e to see if all is ok I am getting issues in jest and protractor config. Has anyone experienced this ?
Tried to lint /Users/abhinavprakash/Projects/medihelp/bin/src/test/javascript/jest.conf.js but found no valid, enabled rules for this file type and file path in the resolved configuration.
Tried to lint /Users/abhinavprakash/Projects/medihelp/bin/src/test/javascript/protractor.conf.js but found no valid, enabled rules for this file type and file path in the resolved configuration.
3 replies
 1:18  error    Require statement not part of import statement                  @typescript-eslint/no-var-requires
  19:23  error    'mapTypescriptAliasToJestAlias' was used before it was defined  @typescript-eslint/no-use-before-define
 14:19  error  'process' is not defined                                                      no-undef
  35:5   error  Expected method shorthand                                                     object-shorthand
  41:5   error  Expected method shorthand                                                     object-shorthand
  42:9   error  'browser' is not defined                                                      no-undef
  44:9   error  Do not use "// @ts-ignore" comments because they suppress compilation errors  @typescript-eslint/ban-ts-ignore
  45:9   error  'browser' is not defined                                                      no-undef
  46:22  error  Require statement not part of import statement                                @typescript-eslint/no-var-requires
  47:32  error  Require statement not part of import statement                                @typescript-eslint/no-var-requires
  49:28  error  Require statement not part of import statement                                @typescript-eslint/no-var-requires
  51:9   error  Do not use "// @ts-ignore" comments because they suppress compilation errors  @typescript-eslint/ban-ts-ignore
Kirill Marchuk
@62mkv
Hi all. I'd like to know more about why "Angular Ivy" has been chosen as the way to generate apps by default w/JHipster (6.9.1, at least) ? It seems like there's tons of packages out there that are not supported by Angular Ivy at all. Or is there any straightforward way to resolve such issues?
5 replies
Kirill Marchuk
@62mkv
or, more specifically, which dependency for "copy element text to clipboard" will definitely work with JHipster 6.9.1 (Angular 10 + Ivy) application? I've tried out already 4 of them and none seems to be working.. (
JCbackenddev
@JCbackenddev
@EmmanuelDiazN09 Your backend is probably not running. Try to run ./mvnw in your terminal again ,it should normally work.
JCbackenddev
@JCbackenddev
@cheetahtec "'process' is not defined " the reason should be that a variable is not properly declared https://stackoverflow.com/questions/46477130/typescript-referenceerror-is-not-defined
clarkmc
@clarkmc
Hello all. I am using JHipster with Keycloak OAuth2 authentication. I have two distinct types of users (customer and vendor), and I'd like to set specific attributes on the user based on which registration link they click. Does anyone know of a way to customize the user-authorization-uri to pass along additional client scopes that were not included in the security.oauth2.client configuratoin in the YAML?
Or, if I'm going about it the wrong way, that would be helpful to know as well. My thought as of right now was to have them associated with different client scopes, but maybe there's another way.
Salome J Marquez
@Marqzman_gitlab
Hello everyone. I was wondering if User Management was an option when using OAuth2 authentication? Or is that something we would have to create ourselves with Keycloak's API?
1 reply
PaschalCO
@PaschalCO
Hi. I'd like to use angularx-social-login module to implement social login in my jHipster application but I don't really know what to do after obtaining user iinfo. Can anyone help?
aditya777hp
@aditya777hp
Hi
I want to remove core, admin components of the jhipster frontend project any suggestions or articles for the same ?
ddsultan
@ddsultan

-WARN in net.logstash.logback.appender.LogstashTcpSocketAppender[LOGSTASH] - Log destination localhost/127.0.0.1:5000: connection failed. java.net.ConnectException: Connection refused: connect

Have configured the Logstash input plugin with tcp with port 5000

samuel4Jesus
@samuel4Jesus

I have my entity with below attributes.

attribute1
attribute2
attribute3
attribute4

But on Angular I don’t want attributes 3 & 4 to be created.

How can I achieve this ??

JCbackenddev
@JCbackenddev

Hi
I want to remove core, admin components of the jhipster frontend project any suggestions or articles for the same ?

Hi @aditya777hp, I you just want to suppress it from the front end, I would recommend to simply delete/comment out the admin options from the core / jhi-navbar (id="admin-menu"). This way you keep the possibility to re-implement those functions if needed.

JCbackenddev
@JCbackenddev
@samuel4Jesus "But on Angular I don’t want attributes 3 & 4 to be created." if you mean by that, that you do not want them to appear on your frontend. you can manually hide them. Webapp / app entities. There is even a video on this subject https://www.youtube.com/watch?v=wNNCrrc5x4o
Have fun!
samuel4Jesus
@samuel4Jesus

@samuel4Jesus "But on Angular I don’t want attributes 3 & 4 to be created." if you mean by that, that you do not want them to appear on your frontend. you can manually hide them. Webapp / app entities. There is even a video on this subject https://www.youtube.com/watch?v=wNNCrrc5x4o
Have fun!
Thanks ... I went through the video and it shows how to hide column on the table.

But on my case I wish to restrict attributes from backend and frontend as well.

But it those restricted columns will be set manually on the service implementation class.

I hope am clear now.

JCbackenddev
@JCbackenddev
ok, so you want to refactor your entity in order not to have attributes 3 & 4. (I hope I understand well this time).
In order to do that you can go on https://www.jhipster.tech/jdl-studio/ to redo your entity, and then import it again without the two attributes you do not want. If you do not have your .jdl file anymore, you can always run jhipster export-jdl <FILE_NAME> in your app’s root folder in order to get it.
Helder Macedo
@HeldrMacedo
image.png
Could you help me with this error, it only occurs during production, in development it does not happen
g14wx
@g14wx
hi, i'm new, i would like to contribute to vuejs blueprint, somebody can give me a wiki on how the blueprint works?
1 reply
i just read that Sahbi KTIFA its realted whit vuejs
g14wx
@g14wx
nevermind i start to looking for something and found this https://github.com/jhipster/jhipster-vuejs/blob/master/CONTRIBUTING.md#setup
Digant Kusulia
@Digant20
Hello everybody, I am looking for a way to create separate JARs using maven for different classes(controller class, service class, domain class) in springboot app. Can someone please help me with it.
1 reply
JCbackenddev
@JCbackenddev
Hey, would anybody using Jhipster with Vuejs and needing help be interested in some Google meets, I have an intermediate understanding of the software, ~fluent in java. So I can answer a few questions but I also require some help (mostly for the front part). I'm basically looking for a Jhipster coding buddy to co-work/help each other and advance faster. I don't know if it makes really sense for you but contact me if you are interested.
My project is to build a sort of PayPal, allowing people to send money to each other (this is a study project not a business project)
Ratna
@nani2ratna_twitter
hi guys, can i create microservice and angular ui seperately with jhipster ?
1 reply
Yasir Karam
@yasir2000
Hi everyone, how to deploy API microservices API First within K8 service mesh with EFK stack, Jaeger, Prometheus, Kafka, Zipkin, API gateway like Kong, Keycloak identity server, swagger 3.0, ....etc using JHipster, Entando?
3 replies
dhavalmshah
@dhavalmshah

hello, I needed help debugging jhipster monolith angular app with vscode. It runs fine from command line. However in vscode I have the spring boot dashboard which recognizes the project and gives me option to run/debug. When I run/debug I get the following error *
APPLICATION FAILED TO START


Description:

Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:

Property: driverclassname
Value: org.h2.Driver
Origin: "driverClassName" from property source "source"
Reason: Failed to load driver class org.h2.Driver in either of HikariConfig class loader or Thread context classloader
veeracherukuri
@veeracherukuri
Getting following error "java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @60a3a52b" Java version is "Java HotSpot(TM) 64-Bit Server VM (build 14.0.2+12-46, mixed mode, sharing)"
after this I am getting erro with elastic search. I am on AWS linux. Any help is appreciated " Cannot execute jest action , response code : 403 , error : {"root_cause":[{"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}],"type":"cluster_block_exception","reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"} , message : null'
Pierre Le Mignant
@plemignant_gitlab
Failed to build application with jhipster command

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: essai-1@0.0.1-SNAPSHOT
npm ERR! Found: axios@0.19.2
npm ERR! node_modules/axios
npm ERR! axios@"0.19.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer axios@"^0.18.0" from react-jhipster@0.11.0
npm ERR! node_modules/react-jhipster
npm ERR! react-jhipster@"0.11.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/pierre/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/pierre/.npm/_logs/2020-12-18T17_28_24_727Z-debug.log

2 replies
someone can help me thanks
Ebsan Uddin
@Ebsan
Does anyone know why the jhipster-console was deprecated? Is there an announcement with details? Can't really find anything
1 reply
lovelylip
@lovelylip
hi everyone, how to import file .js in angular 9 with jhipster ?
2 replies
T K
@vwu725_gitlab
I add Spring Cloud Sleuth dependencies to the build.gradle file of JHipster UAA. For some reason, the project doesn't recognize those dependencies. Do I need any additional steps ?
Alex Astakhov
@al3xastakhov

Hi guys, I'm facing weird issue:
I have my Angular UI successfuly building & working via npm start, but it does not seem to work when running via mvnw.

When running ./mvnw, ui does not start (standard error UI is shown, suggesting to rebuild ui part via npm OR mvnw).
I see the same error when I build the app as jar and simply run it (java -jar ...).

During the maven build, UI build is also seem to happen & I see some UI build artifacts in the jar itself (/classes/static/app/js-bundles, index.html, etc).

I've tried rebuilding the project / reinstalling ui deps / building ui directly via npm / etc.

What am I missing here?

Valdanito
@Valdanitooooo
curl -s -X POST --data "username=user&password=user&grant_type=password&scope=openid" http://web_app:changeit@localhost:9999/oauth/token, I got 404 error from this request. Does anyone have the same problem?
Valdanito
@Valdanitooooo
I found that it was due to the problem of using jhipster online
Frédérick Verbist
@fverbist_twitter
hello... I'm getting started with jhipster and need to upload files (multipart/form-data). what's the best practice? I'm using the Blob type in the jdl it creates a form but I'm getting "415 Unsupported Media Type" when submitting...
Liu Yi
@rliuyi
I just wonder to know when you guys using jhipster to initialize project?
Which type of project is better suited for jhipster
Oleg Duvanayev
@oduv_gitlab
hi dear community, I am looking for a solution how to generate an OData (olingo) service with JHipster? Many thanks in advance.
nitin-
@nitin-
image.png
code at line 27 is not executing, any idea ?
2020-12-27 03:57:39.228 DEBUG 911 --- [tor-tcp-epoll-1] io.undertow.request.error-response : Setting error code 500 for exchange HttpServerExchange{ GET /api/account}