by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Maek Twain
@maektwain
availableProcessors is already set to [4], rejecting [4]
Now its failing in docker test containers
Piotrek
@SilverMoment_gitlab
@Query(value = "SELECT * FROM ORDER_MAIN WHERE BUYER_LOGIN = ?#{principal.username}", nativeQuery = true)
List<OrderMain> getAllOrderMainByCurrentUserLogin();
@maektwain above code works me in my project
Tibi Stibi
@tibistibi_gitlab

Running mvnw and npm start works good but when I change an html or ts file both mvnw and npm start reload. The reload of the mvnw is not needed and makes that the browser reload from npm start is not working as the backend is reloading at the same time.
so turning reload off works but than java file changes will not reload which is needed. is there a way to only exclude html files?

this is the part in the config:

application-dev.yml

 devtools:
   restart:
     enabled: false
     additional-exclude: static/**
Tibi Stibi
@tibistibi_gitlab
tried to exclude the app dir but without any success:
    additional-exclude: static/**,src/**,app/**,main/**,webapp/**,
anybody knows how this additional-exclude works?
Tibi Stibi
@tibistibi_gitlab
as a work around i can slow it down so the webreload is before the backend reload:
  poll-interval: 6000
  quiet-period: 5000
Tibi Stibi
@tibistibi_gitlab
some more research: it seems that because i have added the webapp as source folder in eclipse it triggers a reload for the devtools. So i can remove the source folder or add the above slowdown to resolve the issue.
Mathieu ABOU-AICHI
@MathieuAA
@tibistibi_gitlab maybe this can be added to the docs, unless there's a mention of it somewhere
alphkn
@alphkn
Entity page refreshing itself. the issue similar with this link . but I deployed the gateway and microservice on kube with keycloak. the response actually refers to jwt base64 secret. however, I didn't use jwt auth. jhipster/generator-jhipster#10108 . the console output from microservice is about unauthorized request.
Bruce Edgerton
@brucieW
I am generating a JHipster project that uses Protractor for its unit testing, however, no src/test/javascript/e2e directory is created so I can't perform an npm run e2e command. Is this a bug?
3 replies
Maek Twain
@maektwain
@SilverMoment_gitlab I am using Oauth with Keycloak, so it does not really work in your query when BUYER_LOGIN is part of the entity or
1 reply
So, guys if anyone is online, I just realised that gradle 6.4 breaks the liquibase
The value for task ':liquibaseDiffChangeLog' property 'mainClass' is final and cannot be changed any further.
So, I downgraded to 6.0 then it worked pretty well, now ,to me it does not make any sense to go back and use 6.0
Maek Twain
@maektwain
Folks any maintainer here have opened a new PR
Mathieu ABOU-AICHI
@MathieuAA
@maektwain awesome! Thanks!
Maek Twain
@maektwain
One more, thing I wanted to know one thing if I will run diff migration will I be able to get changes in the User domain or is it restricted to any changes
Mathieu ABOU-AICHI
@MathieuAA
AFAIK you will see them. BTW, I've just approved your PR.
Maek Twain
@maektwain
Nice
I have made some changes on the User domain, but so far I dont see any migration
1 reply
talk2starGit
@talk2starGit
The monolith app with just 3 to 4 entities shows file size on disk as around 660MB. Isn't it huge to be pushed to the Git repo ? I have been struggling to push it to Git with usual commands like "git add / commit / push " . Any idea about it ?
6 replies
talk2starGit
@talk2starGit
@Marqzman_gitlab ,Thanks .
Right. Its the node modules. So should I remove the "node_modules" folder and then push to Git ? In that case, how will the app be built without node modules ?
4 replies
Mathieu ABOU-AICHI
@MathieuAA
@talk2starGit add it to your gitignore file. No need to delete the folder. Your dependencies should be "preserved" through your package-lock (for NPM) or yarn lock file (for yarn)
John Poole
@johnpoole
What does "Update your application's configuration" mean here? I'm getting this when I try to run from Eclipse:
***************************
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

Action:

Update your application's configuration
1 reply
Neil McKeown
@neilsmckeown_twitter

I'm wondering if

    @GetMapping("/users")
    public ResponseEntity<List<UserDTO>> getAllUsers(Pageable pageable) {

should be missing a @PreAuthorize tag

    @PreAuthorize("hasAuthority(\"" + AuthoritiesConstants.ADMIN + "\")")
People with just ROLE_USER can query all users, their emails etc unless I'm mistaken
2 replies
ductmkma
@ductmkma
Hi team, I through a error when run npm run build. This is error ERROR in app/0.780a8a6c3e4ffb7cf599.chunk.js from UglifyJs Unexpected token: keyword «const» [./node_modules/vue2-editor/dist/vue2-editor.esm.js:876,0][app/0.780a8a6c3e4ffb7cf599.chunk.js:141928,0]
Help me ! Thanks !
talk2starGit
@talk2starGit
@MathieuAA Thanks. will try that out. Btw, what is the best way to integrate app with Git ? First create the app using Jhipster commands and then push to Git OR map Git repo on local folder and start creating app over there ?
3 replies
atondoux
@atondoux_gitlab
Hi everyone, every time I deploy my app on Heroku (in production mode) it seems that the i18n json files are cached, so my browser doesn't load the new or updated keys... I'm using JHipster 6.8.0 and Vuejs blueprint. Looks like some cache busting was done for Angular but I was wondering if this is something you have noticed ? Thanks
4 replies
rebhisalem
@rebhisalem
Hi everyone, is there anyway to force angular version to 8 when generating a gateway? angular 9 being instable for my application and all my gateways have been generated using angular 8. Thanks
2 replies
xBoLLo
@xBoLLo_gitlab
Hi there. i want to set up spring cloud config, but i dont really get how to pull this off from the documentation. i already connected my registry to my git repo. then i added a gateway.prod.yml file in my repo. i also set a base64 jwt key in the registry central config. everything seems to be okay, but when i start my gateway it says Config Server: Not found or not setup for this application
Abdurahim otkirbekov
@dabdalaji_gitlab
i am beginner in jhipster ! how to add search bar in jhipster project. my db is PostgreSql
Alejandro Matos
@amatosg
try using elasticsearch to your project
Abdurahim otkirbekov
@dabdalaji_gitlab
i have not mongo db my db is PostgreSql
Mathieu ABOU-AICHI
@MathieuAA
You can't. You can enable search through JHipster with elastic search or couch
Couch*
base
aditya777hp
@aditya777hp
I have added environment.prod.ts in my environment folder of angular frontend will this be used when I am building using prod profile (./mvnw -Pprod package) ?
aditya777hp
@aditya777hp
can we manage profiles for client side app in jhipster ?
Mathieu ABOU-AICHI
@MathieuAA
Check the webpack conf files
Maek Twain
@maektwain
Trying to understand the flow of keycloak IDP, when it pulls the AUTH it tries to save data in DB but it does not reflect anything there
is it supposed to be like this
Alejandro Matos
@amatosg
I wonder if the business logic should be only developed in the backend and use the frontend just to show the data...
maroua
@maroua-Daouas
hello how can I make js files work in jhipster?