Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
John Poole
@johnpoole
Thanks. I'll do the same and try to pinpoint where the problem is.
Sanjeev Ghimire
@sanjeevghimire
I am using jhipster 6.4.1
I am getting POST hook error after entity is created
even though I have: generator-jhipster-entity-audit
Any help is apprecitaed
Łukasz Kurpiewski
@ecosse3
Hey. I have a problem with generating fresh project in JHipster both on Linux & Windows. I made already a lot of JHIpster projects but today I've error Access denied for user 'root'@'localhost' (using password: NO). I've added my MySQL server root password to application-dev.yml and then I've got an error: HHH000342: Could not obtain connection to query metadata : Unknown database ... Does anybody have this problem too?
On Windows I've installed fresh jhipster-generator, maven, jdk and mysql database. The same error.
When I open my old jhipster projects with maven & npm everything works perfect
Peter E Olsen III
@hepaestus
Having a problem using the multitenancy blueprint it throws an error. I have it documented here: https://gist.github.com/hepaestus/73818a027bc940f907b65d3c7a597445
Anybody else seen this before?
John Poole
@johnpoole
@amatosg I think what's happening is that the build is using the latest version of jhipster on the system. Previously, it would just use the version in the current directory.
I'm going to try upgrading the version. Pain in the pip.
Alejandro Matos
@amatosg
it always takes the version installed locally
@ecosse3 it looks like the database doesn’t exists
John Poole
@johnpoole
It's also supposed to take the version installed locally. It works fine on newer folders, and fails on folders where the builds worked until a new version was installed globally. You do you though.
hanoisteve
@hanoisteve
How can I swap out gateway for istio gateway if I already am using the gateway?
And also how official is the Istio gateway option? Is this experimental? Is it recommended if deploying into Kubernetes?
hanoisteve
@hanoisteve
Can we respond here like this is some type of community?
Given the massive amount of integration points and dependencies of jhipster I think we need to at least be able to share thoughts on it.
I mean I am looking at taking an app into production with this. Where is the slack channel?
Michael Kofman
@mishkaechoes

@hanoisteve I have similar feelings. There needs to be something a bit closer to a forum with threads. At the moment I am using a kotlin blueprint and it appears like the integration is not fully supported for kubernetes. I have a lot of the same questions as you do

I am too in favor of a slack channel.

Łukasz Kurpiewski
@ecosse3
@amatosg Should I create it myself? I though jHipster generating it itself
Will JHipster generate tables automatically when I'll create new entity by jHipster?
Alejandro Matos
@amatosg
@ecosse3 it will create a new entry in the master.xml liquibase file, but if the database if the database doesn't exists, it will fail to even start
Peter E Olsen III
@hepaestus
@amatosg I am using a blueprint called multi-tenancy: https://github.com/sonalake/generator-jhipster-multitenancy
Alejandro Matos
@amatosg
@hepaestus I'm sorry to ask this, but what's a use case for that blueprint? I don't fully understand the ussage (but it looks like something I would want to use)
Peter E Olsen III
@hepaestus
@amatosg Where you have an entity which has multiple users accessing other entitys based on your orig entity relationship. Example. I have a company. Users are members of a company. Most other entitys are company specific so users only see the entities that that belong to their company. DOes that explain it?
Alejandro Matos
@amatosg
something like having many companies registered and employees, users belonging to company 1 will not see employees from company 2?
Jon Ruddell
@ruddell
@hepaestus I would open an issue on that blueprint's github repository
@al3xastakhov Is there a specific time it disconnects, or is it random? Is it in dev or prod? Any error message on the server?
Peter E Olsen III
@hepaestus
@atmosg Yes Exactly
Alejandro Matos
@amatosg
I did that by myself :sob:
Alejandro Matos
@amatosg
@hepaestus I wasn't even able to create a project
Peter E Olsen III
@hepaestus
@amatosg Did you do the install procedure? I was finally able to get my project to build. I think you need to use the "--blueprints multitenancy" flag with your jhipster commands
that should ensure it uses the blueprint
Also it edits our yo-ro.json file and adds the multitenancy info there
Sanjeev Ghimire
@sanjeevghimire
does it still require 1.8 for jhipster?
my previous project runs fine but i created a new one and it fails
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ eclinic ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
You are running an incompatible version of Java. JHipster requires JDK 1.8
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.127 s
[INFO] Finished at: 2019-10-17T16:37:43-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) on project eclinic: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
Jon Ruddell
@ruddell
@sanjeevghimire What Java version are you trying to use? It should work with at least JDK 11. Also what version of JHipster?
Łukasz Kurpiewski
@ecosse3
Does anyone tried to connect Azure Active Directory to JHipster? The best solution is to do that with OAuth2 or it's any way to connect directly via Spring AAD?
I'm trying to connect AAD via OAuth2 and I got error Unable to resolve the OpenID Configuration {link}... OIDC issuer-uri is https://login.microsoftonline.com/{here tenant id}/.well-known/openid-configuration I tried with v2 version
My target is to login via university microsoft account
Sanjeev Ghimire
@sanjeevghimire
@ruddell I was able to fix that after creating java_home with 1.8
I got antoher issue
jhipster 6.4.1 is not working with jhipster audit entity
any idea how to fix that
Alejandro Matos
@amatosg
@hepaestus I think it’s because of jhipster 6.4.1? I did use the flag
hanoisteve
@hanoisteve
@stevemacleod Maybe you might share the error message? redact anything as needed.
@ecosse3 Have you looked at OPA? Open policy agent?