-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrate to jhipster v8 #296
Conversation
The remaining failure is related to keycloak 19 -> 22:
Lines 33 to 46 in 2abf8d8
Maybe related to legacy @mraible not sure what's the fix. |
@mshima Do you happen to have steps to reproduce? If we're using |
@vishal423 Do you have any suggestions? |
@mraible that test seems to login at keycloak and gets the account details from '/account' endpoint with that authentication token. I can revert keycloak testcontainer to v19 and use copy the keycloak realm from v7.9.4 to use at the test. |
I think this is a good way to test if the Keycloak configuration has changed.
I agree since it's not testing functionality that's used in a JHipster-generated app. |
This reverts commit 7fc6619.
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
@mraible tests are passing now. |
import command from './command.mjs'; | ||
|
||
export default class extends BaseGenerator { | ||
sampleName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be 2-space indents instead of 4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prettier config
@@ -4,6 +4,7 @@ application { | |||
authenticationType jwt | |||
baseName jhipsterSampleApplication | |||
buildTool maven | |||
creationTimestamp 1617901618891 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary? I'm guessing it's not a required field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes the diff in CI compare step smaller.
@@ -53,20 +57,21 @@ jobs: | |||
uses: actions/checkout@v3 | |||
with: | |||
repository: 'jhipster/generator-jhipster' | |||
ref: v7.9.3 | |||
ref: v8.0.0-rc.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be 8.0.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will try to drop in the following PR.
}] | ||
"printWidth": 140, | ||
"singleQuote": true, | ||
"tabWidth": 4, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this set the spaces to 4 instead of 2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is the blueprint old configuration.
I didn't change.
"tabWidth": 4, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's up to the maintainer to decide indentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's quite easy to change. Change this file and run npx prettier . --write
.
@@ -1,10 +1,126 @@ | |||
{ | |||
"generator-jhipster": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be indented 2 spaces instead of 4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prettier config.
Fixes #294