profile
viewpoint
Jon Ruddell ruddell SportsBooth Los Angeles, CA

infinitered/ignite 11351

The hottest CLI for React Native, boilerplates, plugins, generators, and more!

ruddell/ignite-jhipster 186

A React Native boilerplate for JHipster apps

ruddell/generator-jhipster-ionic 28

Generates an Ionic frontend from an existing JHipster project (no longer maintained)

ruddell/IgniteJhipsterSampleApp 12

Sample React Native app generated with Ignite JHipster

ruddell/generator-jhipster-mssql 3

JHipster module for adding MSSQL capabilities to a generated app.

ruddell/generator-jhipster 1

Hipster stack for Java developers. Yeoman + Maven + Spring + AngularJS in one handy generator.

ruddell/android-e2e-test 0

Testing github actions for android e2e

ruddell/angular-slider 0

Slider directive implementation for AngularJS, without jQuery dependencies

ruddell/AngularJS-Toaster 0

AngularJS Toaster is a customized version of "toastr" non-blocking notification javascript library.

ruddell/availity-reactstrap-validation 0

Easy to use React validation components compatible for reactstrap.

Pull request review commentjhipster/jhipster.github.io

minor cleanup

-safe:        true+safe: true markdown: kramdown exclude: [node_modules, bower_components, vendor] url: https://www.jhipster.tech github_repository_url: https://github.com/jhipster/jhipster.github.io kramdown:   input: GFM-gems:+plugins:

This change has caused issues in the past, not sure how to reproduce it though. See https://github.com/jhipster/jhipster.github.io/pull/557 and https://github.com/jhipster/jhipster.github.io/pull/776

vivekmore

comment created time in 18 hours

delete branch ruddell/generator-jhipster

delete branch : fix-swagger-ui-index

delete time in 5 days

delete branch ruddell/generator-jhipster

delete branch : fix-swagger-ui-index-v6

delete time in 5 days

Pull request review commentjhipster/generator-jhipster

fix swagger globptions ignore

 module.exports = options => ({     new ForkTsCheckerWebpackPlugin({ eslint: true }),     new CopyWebpackPlugin([       <%_ if (!reactive && (applicationType === 'gateway' || applicationType === 'monolith')) { _%>-      { from: './node_modules/swagger-ui-dist/*.{js,css,html,png}', to: 'swagger-ui', flatten: true, ignore: ['index.html']},+      { from: './node_modules/swagger-ui-dist/*.{js,css,html,png}', to: 'swagger-ui', flatten: true, ignore: ['**/index.html']},

I updated copy-webpack-plugin for react and aligned the config so we don't have to fix this next time we upgrade libraries.

ruddell

comment created time in 5 days

PR opened jhipster/generator-jhipster

fix swagger globptions ignore [v6.x_maintenance]

This correctly overrides the swagger index.html to use the generated app's swagger /v2/api-docs endpoint instead of the default swagger petstore endpoint

Fix #12025

<!-- PR description. -->


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding skip-ci label, you can still see CI build result at your branch.

<!-- Please also reference the issue number in a commit message to automatically close the related Github issue

Note: It is also possible to add [skip ci] or [ci skip] to your commit message to skip continuous integration tests -->

+1 -1

0 comment

1 changed file

pr created time in 5 days

create barnchruddell/generator-jhipster

branch : fix-swagger-ui-index-v6

created branch time in 5 days

push eventruddell/generator-jhipster

Jonathan Ruddell

commit sha 8a8a65a1c38ee3271b24a7ff1b905d2e60f1c3b3

upgrade copy-webpack-plugin for react aligns webpack config to use same format as angular

view details

push time in 5 days

PR opened jhipster/generator-jhipster

fix swagger globptions ignore

This correctly overrides the swagger index.html to use the generated app's swagger /v2/api-docs endpoint instead of the default swagger petstore endpoint

Fix #12025

<!-- PR description. -->


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding skip-ci label, you can still see CI build result at your branch.

<!-- Please also reference the issue number in a commit message to automatically close the related Github issue

Note: It is also possible to add [skip ci] or [ci skip] to your commit message to skip continuous integration tests -->

+2 -2

0 comment

2 changed files

pr created time in 5 days

create barnchruddell/generator-jhipster

branch : fix-swagger-ui-index

created branch time in 5 days

created tagruddell/generator-jhipster

tagv6.10.0

Hipster stack for Java developers. Yeoman + Maven + Spring + AngularJS in one handy generator.

created time in 5 days

issue commentjhipster/generator-jhipster

Swagger doesn't work

Confirmed this is an issue with a new v6.10.x app. To reproduce, generate an app and navigate to the Swagger page.

As a workaround until this is fixed, you can replace the petstore URL https://petstore.swagger.io/v2/swagger.json with http://localhost:8080/v2/api-docs

jperezdelafuente

comment created time in 5 days

issue closedjhipster/jhipster-registry

Error while trying to execute `./mvnw -Pdev,webpack`

[DEBUG] incrementalBuildHelper#beforeRebuildExecution
[INFO] Compiling 63 source files to /home/rgordeev/projects/jhipster/jhipster-registry/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  33.508 s
[INFO] Finished at: 2020-07-01T18:09:10+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jhipster-registry: Fatal error compiling: invalid flag: --release -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jhipster-registry: Fatal error compiling
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
    at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
    at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1145)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:187)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:355)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:200)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
    at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
    at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: org.codehaus.plexus.compiler.CompilerException: invalid flag: --release

closed time in 7 days

rgordeev

issue commentjhipster/jhipster-registry

Error while trying to execute `./mvnw -Pdev,webpack`

You can either update to Java 11 or apply the below workaround:

Kind of related, it also doesn't work out-of-the-box for Java 8. I had to change the <java.version>11</java.version> to <java.version>8</java.version> and remove <release>${java.version}</release> from the maven-compiler-plugin configuration to get it to start up. https://github.com/jhipster/jhipster-registry/issues/418#issuecomment-577706677

Since we decided to only support Java 11 (see the linked issue above), I'm closing the issue.

rgordeev

comment created time in 7 days

Pull request review commentjhipster/jhipster.github.io

Create 033_tip_dynamic_env_variables.md

+---+layout: default+title: Dynamic environement variables in the front end+sitemap:+priority: 0.1+lastmod: 2020-07-01T10:50:00-00:00+---+# Dynamic environement variables in the front end++__Tip submitted by [@yelhouti](https://github.com/yelhouti)__++Let's say you need to update the value of a variable in the front end after your code have been compiled. (ex: your IdP Url, the email to use for contacts...)++One way is to have it as part of your application.yml and have the backend return it to the front using a new custom endpoint, the same way we do in: `AuthInfoResource.java` when using OAuth2.++Another way that removes the need for this endpoint and offers better flexibility and less code is to have a new file called `env.js` that looks like this:++```

You can specify the language next to the ``` like here for example. Supported languages include typescript and javascript

yelhouti

comment created time in 7 days

issue commentjhipster/jhipster-core

More advanced enums in JDL

@gilbrilhador This works as expected with generator-jhipster v6.9.x, and fails with v6.8.x, so it was fixed sometime between those versions

62mkv

comment created time in 8 days

pull request commentjhipster/generator-jhipster

Improve MSSQL performance

nvarchar works fine without this PR, and is broken with this PR

nvarchar works fine with this PR with @Nationalized annotation

Tested with ♥️😘😂富 as the data entered in a String field.

pascalgrimaud

comment created time in 8 days

pull request commentjhipster/generator-jhipster

Improve MSSQL performance

I tested emojis and international characters (google translated 'foo' to Chinese ). With our default config, neither of those work since we use varchar instead of nvarchar for MSSQL.

When changing liquibase config to use nvarchar, both emojis and the international character saved and returned successfully. With the changes from this PR, the database saves and returns question marks (???) instead of the emoji or chinese character, like it would when using varchar.

pascalgrimaud

comment created time in 9 days

issue commentgeraldhumphries/generator-jhipster-elasticsearch-reindexer

Is this plugin going to be updated for jhipster > 6.5?

Maintaining a module is a lot of work, so I understand why this project hasn't been updated recently.

As an alternative, you can add the ElasticsearchIndexService.java and ElasticsearchIndexResource.java from this example https://github.com/ruddell/jhipster-examples/commit/7ab7510cd2582c5998d9a8ae1965ec7ba324f882 to at least get a REST endpoint working with v6.x (that example was generated with v6.5.1 but should work for you).

You will have to add the other entities you want reindexed to the reindexAll method here (and add the repository and search repository to the constructor). If you want a UI with a button to trigger reindexing, you'll have to add that yourself (currently accessible for easy calls through the Swagger UI).

nomuna

comment created time in 12 days

create barnchruddell/generator-jhipster

branch : polish-webpack-dev-proxy-paths

created branch time in 16 days

push eventruddell/generator-jhipster

Sudharaka Palamakumbura

commit sha 82c36da2877f80294599ba0e4f42c36dd4aa2872

fix: add info to disable .gcloudignore file generation until GCloud SDK bug is fixed This gives users information to disable .gcloudignore file generation until https://github.com/GoogleCloudPlatform/app-gradle-plugin/issues/376 is fixed. Fixes https://github.com/jhipster/generator-jhipster/issues/11880

view details

Anthony Viard

commit sha 5667518badda5ce5c4d376cf86ba24451cfd7ea4

Add openapi Reactive client support Select Webclient generator name when the JHipster application as the reactive option. fix #11636

view details

Anthony Viard

commit sha 785bff7ab65343ed76f7d2fed0b0400b7a85c48c

Add openapi Reactive client support Run the openapi generator with webclient generator name when the application is reactive fix #11636

view details

Anthony Viard

commit sha 7d63ddd3bd658878696a0e8b2d9ff1130d50abd2

Use java8 date library fix #11636

view details

Anthony Viard

commit sha 323b336debb3d94860421805e43f858cb606821b

Add JacksonDataBindNullable dependency only for non-reactive client fix #11636

view details

Anthony Viard

commit sha 4fa3844dc63641b16ee702c800fcd7d918efdf71

Add supportingFiles parameter only for non-reactive client fix #11636

view details

Anthony Viard

commit sha c2465924ac06537a56c271be1a2140e2db5aa6f5

Options is not a good name for parameters ;) fix #11636

view details

Anthony Viard

commit sha 986193066b0be17f49b6e6c387b3a8c86d1f95f6

Use Java as generator name instead of webclient fix #11636

view details

Anthony Viard

commit sha b0f4965b278f634e02f20ed0defdd966de5377d5

Split openapi ignore file between reactive config or not fix #11636

view details

Anthony Viard

commit sha 9082ecf775d009f769d03eb2186e49d49818920c

Add jackson databind nullable for both spring and java openapi generators fix #11636

view details

Sudharaka Palamakumbura

commit sha 927dc9ea3dff1d135b47a7e40b3ba6e0b3d886eb

feat: add dependabot.yml file for automatic version upgrades [ci skip] This adds dependabot.yml file to leverage native support for dependabot through GitHub Related to https://github.com/jhipster/generator-jhipster/issues/11914

view details

alistair

commit sha 8761ce5826f53fcda443f84ea840a707f68f81bb

Fix helm requirements helm dep up only looks for requirements.yaml. Jhipster only generates requirements.yml which is ignored by helm 3.x. For kubernetes and helm the standard is usually .yaml. Fix #11920

view details

Mathieu Abou-Aichi

commit sha 5b03769a16766755a440bf438efe90f547a05c79

Tried to fix failing react test for entities Noticed issue: beforeRecordsCount was a global variable used in different async functions, so not atomic. The tests weren't actually independent because of that. This is an attempt to fix it.

view details

Mathieu Abou-Aichi

commit sha ea0106629cd8dc33c27495ce2a635937307c3360

Removed other shared variable Didn't see the ComponentsPage being initialized in the test!

view details

Mathieu Abou-Aichi

commit sha 824f264406274b697da76a7be20d94a685dbc455

Fixed TS error

view details

Mathieu Abou-Aichi

commit sha cba27500cd6365ed04a7dbc487911e1ac08ee009

Added wait-for-display statement

view details

Mathieu Abou-Aichi

commit sha 47198cecf1da14ef7aee554011553044d3b7d6d5

Added explicit wait statement

view details

Mathieu Abou-Aichi

commit sha 457f3b4161cfde4963d9e45608670713fedea4fa

Moved waiting statement up in the test flow Might fix https://github.com/MathieuAA/private-generator-jhipster/runs/702120722#step:17:224 because the button's appearance means that we're not waiting anymore.

view details

Mathieu Abou-Aichi

commit sha 651458812cdf1575bde0cb0ef73ff2fe1bc97d01

Waited on toaster to display for e2e test

view details

Mathieu Abou-Aichi

commit sha 36e916cd32c70fe8f962f5b8699b951b15219076

Added missing parenthesis

view details

push time in 16 days

issue commentjhipster/generator-jhipster

Client cannot connect through Stomp without SockJS

Don't have time at the moment to figure out how to set up a basic Spring Websockets app, but what you are trying to do is possible through JHipster out-of-the-box with a small change to the URL you are connecting to.

If you enable withSockJS() then you can connect without SockJS by adding a /websocket suffix to the URL: ws://127.0.0.1:8080/websocket/websocket. Your sample code then works. https://github.com/sockjs/sockjs-client#connecting-to-sockjs-without-the-client

You can change the first /websocket prefix to something else in WebsocketConfiguration.java, you'll have to make the same change in ClientForwardController.java so it knows not to send the request to the frontend.

Parsa33033

comment created time in 23 days

pull request commentjhipster/generator-jhipster

restore EnableGlobalMethodSecurity for apps using UAA auth

Bug bounty claimed at https://opencollective.com/generator-jhipster/expenses/20185

ruddell

comment created time in a month

delete branch ruddell/generator-jhipster

delete branch : uaa-restore-prepost-security-annotation

delete time in a month

issue commentjhipster/generator-jhipster

Jhipster microservices run with profile PROD starts differently

Could you please fill out the missing sections in the issue template? Specifically providing more details to reproduce, and your app's .yo-rc.json config files (may depend on an option you chose).

I tested with two microservices and they both started in prod as expected.

joetaras

comment created time in a month

PR opened jhipster/generator-jhipster

restore EnableGlobalMethodSecurity for apps using UAA auth

this fixes the @PreAuthorize, @PostAuthorize, and @Secured annotations for UAA auth

Fix #11401 Fix #11928

  • Please make sure the below checklist is followed for Pull Requests.

  • [ ] All continuous integration tests are green

  • [ ] Tests are added where necessary

  • [ ] Documentation is added/updated where necessary

  • [ ] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

<!-- Please also reference the issue number in a commit message to automatically close the related Github issue

Note: It is also possible to add [skip ci] or [ci skip] to your commit message to skip continuous integration tests -->

+2 -0

0 comment

1 changed file

pr created time in a month

created tagruddell/generator-jhipster

tagv6.9.1

Hipster stack for Java developers. Yeoman + Maven + Spring + AngularJS in one handy generator.

created time in a month

issue closedruddell/ignite-jhipster

jhipster uaa + https backend - Bad credentials

Describe the bug

I have problem connecting Ignite to Jhipster Gateway (back-end) in prod mode with tls. I'm using Jhipster UAA. UAA is in http mode and everything is working except Ignite. I can login directly form gateway, but if I try to login from Ignite, there is error Bad credentials. In dev mode, so that tls is turned off in gateway everything is working fine. The only change I made is apiUrl in app-config.js https://ip-address:8080/.

When I just comment tls section in backend: server: port: 8080 // ssl: // key-store: classpath:config/tls/keystore.p12 // key-store-password: backend_keystore_passwd // key-store-type: PKCS12 // key-alias: backend_keystore_alias // ciphers: .... // enabled-protocols: TLSv1.2

everything works fine.

What could be a problem?

Instructions To reproduce Jhipster UAA in prod (without tls) Jhipster Gateway in prod (with tls) - as Ignite backend Jhipster Registry in prod (with tls) Ignite Jhipster (dev, release)

closed time in a month

orakso

issue commentruddell/ignite-jhipster

jhipster uaa + https backend - Bad credentials

If you want to use self-signed certificates on an emulator or device, you will have to import and trust them on that emulator or device.

For iOS, here's a video showing that once the cert is imported and trusted by the device, it works as expected. For Android, it seems more complicated and I don't have the time now to look into it.

As this isn't an issue with the boilerplate itself, I'm closing the issue. Feel free to keep commenting, especially if you figure it out.

orakso

comment created time in a month

push eventruddell/generator-jhipster

Daniel Franco

commit sha 629f0fb415ba6f4ea8761cf30d68b50c9de1e900

Do not cache header resources when skipclient Fix changes on #11627

view details

Marcelo Shima

commit sha d37d0a9829a76333c29d3416f53a15b7bf058167

Fix enum prompt not asking for type. (#11900)

view details

Julien Dubois

commit sha 1d83f50f41ee354ed1e4c62ae0128ebfaf51945d

add Jim van Dam bronze sponsor

view details

Sudharaka Palamakumbura

commit sha 3e04fef233ec056655ab0a5f94cf53025ccd3b70

fix: align commands in README.md.ejs in proper format This fixes some minor issues with the alignment of the bash commands in README.md of generated projects. Related to https://github.com/jhipster/jhipster-online/pull/180

view details

Pascal Grimaud

commit sha dd16fbf3bb63cd93f676de416ffadda5f6e5ba2c

Merge pull request #11917 from SudharakaP/alignment-commands-readme Align commands in README.md.ejs in proper format

view details

Marcelo Shima

commit sha 2da8545cc58faf530fa64490ec7481ce4a937cfa

Fix jhipster cli not passing fromCli option. (#11913) * Force fromCli option for jhipster cli * Fix tests for fromCli changes.

view details

Marcelo Shima

commit sha 4b8b1988d4f1278d029ed827b5746afa68dcad9a

Remove pager from react templates (#11882)

view details

Kaido Hallik

commit sha 92192ddb3c433705778a06438429eb4dbed6d267

Fix addIcon needle function generating double comma (#11890) * Fix addIcon needle function generating double comma addIcon now works both with and without trailing comma in icons array * use simple solution without handling edge cases * add trailing commas to icons template * Change needle location to allow missing trailing comma. Co-authored-by: Marcelo Shima <marceloshima@gmail.com>

view details

Frederik Hahne

commit sha b24652dc0382ebc3219da0c13add9b65b3d2a1dc

make Heroku sub generator blueprint aware (#11919)

view details

GW Cloud Common Services

commit sha f9b6d328c4a64b9dce309ac3202a1805f34102cb

Changed h2disk to h2Disk

view details

Daniel Franco

commit sha d63d15035e9c84df446e7fc3468c885d62c3cd14

Merge pull request #11905 from jhipster/cache-header Do not cache header resources when skipclient

view details

Aurélien Mino

commit sha 630c342fa660fdbf57960b0ef25f8234ee40fb64

Merge pull request #11922 from tanviranadive/h2Disk_typo Changed h2disk to h2Disk

view details

push time in a month

push eventruddell/jhipster-vuejs

Jonathan Ruddell

commit sha 7b5c58b811691e25ec7f2d2f8ec532cfe02a59db

add websocket proxy to webpack.dev.js Fix jhipster/generator-jhipster#11835

view details

Jonathan Ruddell

commit sha b5511e7a7e6b5701019f878b75c16a4b402449e1

use baseHref in websocket url using loc.pathname results in a bad url when refreshing the admin websocket tracker page: http://localhost:9000/admin/jhi-trackerwebsocket/tracker/

view details

Pascal Grimaud

commit sha 45f30ee4691669d9a75e398a13ba16eeecc3d8ca

Merge pull request #622 from ruddell/websocket-proxy add websocket proxy to webpack.dev.js

view details

Arnaud Freismuth

commit sha 8e45238663e140035b65cf5637c069c6c0da1760

rework register page with vuelidate

view details

Sabrina Payet

commit sha 1e3944ed85857663031fb4a60f6297c591ad429e

add bootstrap-vue calendar in entity

view details

Sabrina Payet

commit sha 574da998ccf75e7cabd58ddf4bd035011bf29ad7

add bootstrap-vue calendar in entity

view details

Sabrina Payet

commit sha 14833012a78e4405e3f38e68fd8339ddc9dc8a10

Fix duplicate created method

view details

Sabrina Payet

commit sha 4f5539214734c7512685728b3fa0576ef4c20dd6

Fix protactor format LocalDate

view details

Pascal Grimaud

commit sha c34c49fd9458cd715c328df515c27d3334d7d2fa

Merge pull request #623 from sabrinapayet/bootstrap-vue-calendar Bootstrap-vue calendar

view details

Pascal Grimaud

commit sha ac43f0767be3b39086d8a0cfc43d4e634bfdcf19

Upgrade generator-jhipster@6.9.1

view details

Pascal Grimaud

commit sha bceb9c43152a4674a0be5cb3dce584444b832c96

Merge pull request #624 from pascalgrimaud/upgrade-generator-jhipster-6.9.1 Upgrade generator-jhipster@6.9.1

view details

Pascal Grimaud

commit sha bd360a50198a4d6c3f5483672774033d567dc2bd

Merge pull request #588 from nonomoho/rework-register-page rework register page with vuelidate

view details

Pascal Grimaud

commit sha 410103646cef426abb14daf563e5bac1c5b36f11

Release v1.8.2

view details

Kaido Hallik

commit sha fa0c7675e877f2403f8e05f2ea80908c417b6013

Remove AOT_DIR as this was removed from generator constants AOT_DIR was never used in Vue part, this was Angular specific constant which had effect before Angular v5.

view details

Pascal Grimaud

commit sha 7b63848c4be01f972fd6329c3f7935db1feefe78

Merge pull request #628 from kaidohallik/remove-unused-aot Remove AOT_DIR as this was removed from generator constants

view details

push time in a month

issue commentruddell/ignite-jhipster

jhipster uaa + https backend - Bad credentials

How can I obtain an SSL certificate for an IP so that I can attempt to reproduce this? If you are using a self-signed certificate, then iOS and Android won't be able to validate it.

Does the login request reach the Gateway or UAA apps? Or is it an issue with TLS?

orakso

comment created time in a month

issue commentruddell/ignite-jhipster

jhipster uaa + https backend - Bad credentials

Are you accessing the gateway via a domain name that matches the cert? Or using the IP like in your example https://ip-address:8080/?

I'll try to look into this issue over the weekend, busy until then.

orakso

comment created time in a month

issue commentjhipster/generator-jhipster

Generated App 404s on Browser Refresh

@Celebes It looks like it's due to the /auth proxy. You can change it to /auth/ so it does not proxy /authors. PRs to fix this are welcome.

AlexanderNZ

comment created time in a month

issue commentjhipster/jhipster-registry

Could not build registry 6.2.0 due to npm and webpack

This is usually an issue related to the Node environment rather than a specific project. Are you using an IDE? If so, have you tried closing it then building? May also be related to other running node processes or Antivirus. There are several possible solutions in https://github.com/angular/angular-cli/issues/7681#issuecomment-337886458

romilptl

comment created time in a month

push eventruddell/generator-jhipster

Marcelo Boveto Shima

commit sha 23b84979b49dc02add8be4bbe611318fa106b646

Bump commander to 5.1.0

view details

Marcelo Boveto Shima

commit sha d738213afbc4974cc30d6697541309c8a31ad95f

Migrate to commander 5

view details

Marcelo Boveto Shima

commit sha 030630b80f6aa1aaea02a51e5688c830c52ec8c4

Create commander options.

view details

Marcelo Boveto Shima

commit sha e3471e630c22a5ff0ec757a003fbc84a1679bda6

Add addKebabCase test

view details

Marcelo Boveto Shima

commit sha 41b1c2dc1b3d83c36d99f188d79f66ee8824b318

Increase timeout

view details

Marcelo Boveto Shima

commit sha 3619bc2d7e5ba55df233be90ea283f1a9dc51fa1

Add cli tests

view details

Marcelo Boveto Shima

commit sha 01d018fb094d3d4cc84305a181dee18cf1bf93ef

Add dev dependency on proxyquire

view details

Marcelo Boveto Shima

commit sha 46f507b83b5cf0f90313f2221b5fc907675723ab

Implement sample command

view details

Marcelo Boveto Shima

commit sha 289d4d0b846f98eb9855189411afcad4c00ee5e5

Rename samples to jdl

view details

Marcelo Boveto Shima

commit sha 67e764ba78ad9875f5d031a0266d2b33e1ae153f

Implement jdl command

view details

Marcelo Boveto Shima

commit sha 4929b76065b1fff9a046e5564a9c0fc844039e1a

Remove callback from close() and use 'close' event.

view details

Marcelo Boveto Shima

commit sha 50007580a489fdef7ab7ca8f69a5d1727277719e

Don't instantiate blueprint when running help.

view details

Pascal Grimaud

commit sha fa01813ba9a4865184c9d885b976ce3552353c80

Ordering openapitools/openapi-generator-cli lib for package.json in Microservices

view details

Marcelo Boveto Shima

commit sha c4deccde20066132bed7f10411f1ec276d56129c

Fix didYouMean.

view details

Marcelo Boveto Shima

commit sha 45fbc5106b9f570684605254f8cdcd18e9735a73

Fix heroku tests.

view details

Marcelo Boveto Shima

commit sha 15b79ed80527e7245cc95de0651b0fc8b89e9c7a

Revert import-jdl command to local only.

view details

Marcelo Boveto Shima

commit sha 0c672f7db78dc83cd1e6f3c8c78c0a4e8aa5a0d4

Revert "Revert import-jdl command to local only." This reverts commit 15b79ed80527e7245cc95de0651b0fc8b89e9c7a.

view details

Daniel Franco

commit sha 8e9d173545baed9d6a28aa18c83341c753f03912

Update JIB version to 2.3.0

view details

Daniel Franco

commit sha 308f65bf2f8119fb96b3654a5f6010d68c24e6e3

Update postgres docker image version to 12.3

view details

Daniel Franco

commit sha 668af986e2b16962a06ea1fc4010755f4aecbbf2

Update mongo docker image version to 4.2.7

view details

push time in a month

create barnchruddell/jhipster-examples

branch : update-enum

created branch time in a month

create barnchruddell/react-native-navigation

branch : repro-issue-6233

created branch time in a month

issue closedruddell/ignite-jhipster

handling backhandler

Issue Description

[handling backhandler]

backhandler.exitApp() is not working? and how to backhandler in curren screen? i try that code in another screen still call it, expected just on login screen can call backhandler

Steps to Reproduce / Code Snippets / Screenshots

componentDidMount() {
   BackHandler.addEventListener('hardwareBackPress', this.onBackPress);
 }

 componentWillUnmount() {
   BackHandler.removeEventListener('hardwareBackPress', this.onBackPress);
 }

 onBackPress = () => {
   if (this.props.componentId === 'LOGINSREEN') {
      Alert.alert(
        'Confirm exit',
        'Do you want to exit App prett?',
        [
          {text: 'CANCEL', style: 'cancel'},
          {text: 'OK', onPress: () => {
            BackHandler.exitApp()
           }
         }
        ]
     );
   } else {
     Navigation.pop(this.props.componentId);
   }

   return true;
 }

Environment

  • React Native Navigation version: 6.4.0
  • React Native version: 0.61.5
  • Platform(s) (iOS, Android, or both?): android
  • Device info (Simulator/Device? OS version? Debug/Release?): device

closed time in a month

otikindriyana

issue commentruddell/ignite-jhipster

handling backhandler

Closing as it seems to be an issue with react-native-navigation https://github.com/wix/react-native-navigation/issues/6233

otikindriyana

comment created time in a month

issue commentwix/react-native-navigation

handling backhandler

@jinshin1013 I was able to reproduce with the Playground app. It exits the app as expected if added on the first screen (LayoutsScreen.js), but navigating to another screen (such as FirstBottomTabScreen.js) and calling BackHandler.exitApp() simply pops back to the first screen.

To reproduce:

  • Add the below code to FirstBottomTabScreen.js (and optionally LayoutsScreen.js)
  • Launch the app on Android
  • Press the 'BottomTabs' button
  • Press the back button
  • Click OK and the app will pop back to the first screen.

You can see the different behavior between the initial screen and one that has been navigated to.

const {BackHandler, Alert} = require('react-native')

  componentDidMount() {
    BackHandler.addEventListener('hardwareBackPress', this.onBackPress);
  }

  componentWillUnmount() {
    BackHandler.removeEventListener('hardwareBackPress', this.onBackPress);
  }

  onBackPress = () => {
    Alert.alert(
      'Confirm exit',
      'Do you want to exit App prett?',
      [
        {text: 'CANCEL', style: 'cancel'},
        {text: 'OK', onPress: () => {
          BackHandler.exitApp()
        }
      }
      ]
    );
    return true;
  }
otikindriyana

comment created time in a month

issue commentjhipster/generator-jhipster

Missing proxy context entry in webpack dev config causes 404 for websocket tracker requests

@HereThereBeMonsters Those cases should be covered by my above PR. I tested the master version of the vuejs blueprint and could successfully use WebSockets on port 8080, 9060, and 9000. Note that the fix is not released yet, so testing will require you to link the generator locally (or just apply the changes from the PR).

If there's still an issue with WebSockets and the Vue blueprint, please open a PR or issue at the repo https://github.com/jhipster/jhipster-vuejs

HereThereBeMonsters

comment created time in a month

push eventruddell/generator-jhipster

Sudharaka Palamakumbura

commit sha 8f5cb1a98ae6593c65362c5dc3b654b870fb8ffc

remove Jackson Afterburner completely This removes Jackson Afterburner completely. Related to https://github.com/jhipster/generator-jhipster/pull/10283#issuecomment-616491178

view details

Julien Dubois

commit sha 8ca32ad752a27a9dca3b33de97f0ce54695382a4

Merge pull request #11606 from SudharakaP/remove-jackson-afterburner Remove Jackson Afterburner Completely

view details

Jonathan Ruddell

commit sha deed6f525b760880dc8ad3c447caa6e574e3dbdc

set loadData column type to string instead of varchar Reason: liquibase.exception.UnexpectedLiquibaseException: loadData type of 'varchar(100)' ' is not supported. Please use BOOLEAN, NUMERIC, DATE, STRING, COMPUTED, SEQUENCE, UUID or SKIP

view details

Jonathan Ruddell

commit sha 3b0f4c341421cf9c631299bde95956f29fc5c44a

fix react microservice user relation request send the entire user object (including login) instead of just the id field Fix #11792

view details

Marcelo Shima

commit sha da8d22bc26a2ce4105bd929300accb4947463a9b

Fix to dateFormatForLiquibase (#11827)

view details

Jonathan Ruddell

commit sha f1adc82cbe79916f31b136bc068dd8f649f39185

ensure ID from form and ID from entity are same type

view details

Jonathan Ruddell

commit sha db18c4c97136e42aeb48b214b888a8208d07c50c

fix 'find' comparison, remove unnecesary code

view details

Pascal Grimaud

commit sha bf70480d30f0be9e78280aac83f19cafdee1dc26

Merge pull request #11829 from ruddell/fix-load-data-column-type set loadData column type to string instead of varchar

view details

Jonathan Ruddell

commit sha a05c7b9d4f4a40a7db908aa5cbba2dbf556816d1

handle relationshipFieldName other than 'user', only apply to oauth2 gateway

view details

Marcelo Boveto Shima

commit sha 4394450c5a4bf844e8c581cb1375ce4c39476000

Run release drafter only on jhipster/generator-jhipster repository

view details

Pascal Grimaud

commit sha a584efa792e9abc8c0e908a877ea0169c63c25f0

Merge pull request #11831 from mshima/master Run release drafter only on jhipster/generator-jhipster repository

view details

Vivek More

commit sha ecec68a1153e496e31c41f1a19dfcbf650dd5651

👌🏼: correct typo in method name - setOptoutStatus()

view details

Vivek More

commit sha c007cdc75217e815b53b72047d451396c81d5cfd

👌🏼: correct typo in method name - askFori18n()

view details

Vivek More

commit sha c308266fef2dcbc83fbf569ef6d0ffa2c94d4885

👌🏼: correct grammar in the prompt

view details

Vivek More

commit sha f6a226c0c7466a4c301d6ee9bf25d542f22662e7

📖: correct typo in jsdoc

view details

Marcelo Boveto Shima

commit sha 59dca27bbb33b20632e8e67bfa7f3373ccd25ab3

Force github actions chalk colors

view details

Pascal Grimaud

commit sha 88a67828a1313feb40c6245231e3f1b957f2fb8f

Merge pull request #11834 from mshima/colors Github actions supports colors but due to a bug its disabled at current chalk release.

view details

Frederik Hahne

commit sha 203cbe48a951e740bc64da4cab1e69fad59ef426

enable console exporter only for elk (#11822) * enable console exporter only for elk disable prometheus export when elk is selected update #11819 * set neo4j uri for docker app deployment file * disable console metrics reporter for gateway apps only * do not use dynamic property sources for neo4j

view details

Vishal Mahajan

commit sha 4de60895ec4055c8cb169a54601cbd4fedffbfe1

Fix double trailing comma generation in the entity module (#11825) * Fix double trailing comma generation in the entity module * Fix lint issues

view details

Vivek

commit sha e05e90e74fe2968b9a8f8ff6425e2a5ec37dce78

:rewind: revert breaking changes Co-authored-by: Aurélien Mino <aurelien.mino@gmail.com>

view details

push time in a month

delete branch ruddell/generator-jhipster

delete branch : fix-react-ms-user-entity-selection

delete time in a month

issue commentjhipster/generator-jhipster

User details are getting null || On React client

@grajuu The "Selecting users other than system" issue is here: https://github.com/jhipster/generator-jhipster/issues/11836

grajuu

comment created time in 2 months

delete branch ruddell/jhipster-vuejs

delete branch : websocket-proxy

delete time in 2 months

issue commentjhipster/generator-jhipster

User details are getting null || On React client

@grajuu It will be in the next release after the pull request is merged.

You can also make the change manually to workaround the issue until the next release. You can see the required change in my last comment.

grajuu

comment created time in 2 months

push eventruddell/jhipster-vuejs

Jonathan Ruddell

commit sha b5511e7a7e6b5701019f878b75c16a4b402449e1

use baseHref in websocket url using loc.pathname results in a bad url when refreshing the admin websocket tracker page: http://localhost:9000/admin/jhi-trackerwebsocket/tracker/

view details

push time in 2 months

PR opened jhipster/jhipster-vuejs

add websocket proxy to webpack.dev.js

Copied the config from Angular's webpack.dev.js

Fix jhipster/generator-jhipster#11835

  • Please make sure the below checklist is followed for Pull Requests.

  • [ ] All continuous integration tests are green

  • [ ] Tests are added where necessary

  • [ ] Documentation is added/updated where necessary

  • [ ] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

<!-- Please also reference the issue number in a commit message to automatically close the related Github issue

Note: It is also possible to add [skip ci] to your commit message to skip Travis tests -->

+13 -1

0 comment

1 changed file

pr created time in 2 months

create barnchruddell/jhipster-vuejs

branch : websocket-proxy

created branch time in 2 months

created tagruddell/jhipster-vuejs

tagv1.8.1

A Vue.js blueprint for JHipster. It will use Vue.js as the frontend library

created time in 2 months

push eventruddell/jhipster-vuejs

Jonathan Ruddell

commit sha 28772bad25db6bf8fa48408b7bb1893f1dedeb6e

make baseHref configurable via html-webpack-plugin

view details

Pascal Grimaud

commit sha 9251a20264adb6b6fecd888933a28e6907af6587

Merge pull request #617 from ruddell/make-base-href-configurable make baseHref configurable via html-webpack-plugin

view details

Adil Abed

commit sha c5cd2e12a49b1b51f83b676db0919feafe3c03d5

fix globptions ignore (#619)

view details

Pascal Grimaud

commit sha 4d6835fca374c19caa3983d3f3263ac3840eba0f

Release v1.8.1

view details

Frederik Hahne

commit sha e9bc38255f08b4893feed73c3e5c88ffae287f5b

optimize build time by custom terser config and little faster ts compiling updates #620

view details

Pascal Grimaud

commit sha 6d47e7dc8a8c44837f1235d67f653c98f1cbe2d6

Merge pull request #621 from atomfrede/620-improve-build-time optimize build time by custom terser config and little faster ts

view details

push time in 2 months

pull request commentjhipster/jhipster.github.io

remove non existing downloads property from marketplace items

The npm API does not support the lookup of downloads for scoped NPM modules. @xiges/generator-jhipster-siddhi breaks the requests. You can see the 400 error in the browser console on https://www.jhipster.tech/

Works: https://api.npmjs.org/downloads/point/last-month/generator-jhipster-vuejs,ignite-jhipster Broken: https://api.npmjs.org/downloads/point/last-month/generator-jhipster-vuejs,@xiges/generator-jhipster-siddhi

This seems like a good fix to me though 👍

atomfrede

comment created time in 2 months

Pull request review commentjhipster/generator-jhipster

fix react microservice user relation request

 export const <%= entityReactName %>Update = (props: I<%= entityReactName %>Updat         , <%= rel.relationshipFieldNamePlural %>: mapIdList(values.<%= rel.relationshipFieldNamePlural %>)         <%_ }) _%>       }-      <%_ if (uniqueRelationFields.has('users')) { _%>-      entity.user = values.user;+      <%_ if (uniqueRelationFields.has('users') && authenticationType === 'oauth2' && applicationType === 'gateway' && dto !== 'mapstruct') { _%>

It's only necessary to send a valid User (which requires both the login and id fields) for OAuth2 Gateways because OAuth2 Microservice entities can have relationships with User

This is not possible with JWT microservices. For monoliths, only the id is needed.

ruddell

comment created time in 2 months

Pull request review commentjhipster/generator-jhipster

fix react microservice user relation request

 export const <%= entityReactName %>Update = (props: I<%= entityReactName %>Updat         , <%= rel.relationshipFieldNamePlural %>: mapIdList(values.<%= rel.relationshipFieldNamePlural %>)         <%_ }) _%>       }-      <%_ if (uniqueRelationFields.has('users')) { _%>-      entity.user = values.user;+      <%_ if (uniqueRelationFields.has('users') && authenticationType === 'oauth2' && applicationType === 'gateway' && dto !== 'mapstruct') { _%>+        <%_ relationships.filter(rel => rel.relationshipType === 'one-to-one' && rel.ownerSide === true && rel.otherEntityName === 'user').forEach(rel => { _%>

How would you have a relationship to User with skipUserManagement? I tried adding skipUserManagement true and entity User { login String } to your monolith JDL above and the Java doesn't compile.

ruddell

comment created time in 2 months

pull request commentjhipster/generator-jhipster

fix react microservice user relation request

CI tests were failing because they use a different relationship name than user (for example, oneToOneUser). Also TestTwoRelationshipsSameEntity.json has two relations to user, but with different names (code), so we would need this line for both. The only way I see to fix that is to loop through the relationships.

Since this is only needed for OAuth2 gateways, I added that as a condition as well.

ruddell

comment created time in 2 months

push eventruddell/generator-jhipster

Jonathan Ruddell

commit sha a05c7b9d4f4a40a7db908aa5cbba2dbf556816d1

handle relationshipFieldName other than 'user', only apply to oauth2 gateway

view details

push time in 2 months

delete branch ruddell/generator-jhipster

delete branch : fix-load-data-column-type

delete time in 2 months

Pull request review commentjhipster/generator-jhipster

fix react microservice user relation request

 export const <%= entityReactName %>Update = (props: I<%= entityReactName %>Updat         , <%= rel.relationshipFieldNamePlural %>: mapIdList(values.<%= rel.relationshipFieldNamePlural %>)         <%_ }) _%>       }-      <%_ if (uniqueRelationFields.has('users')) { _%>-      entity.user = values.user;+      <%_ if (uniqueRelationFields.has('users') && dto !== 'mapstruct') { _%>

With DTOs, it uses a userId field rather than user. It's not needed

ruddell

comment created time in 2 months

Pull request review commentjhipster/generator-jhipster

fix react microservice user relation request

 export const <%= entityReactName %>Update = (props: I<%= entityReactName %>Updat         , <%= rel.relationshipFieldNamePlural %>: mapIdList(values.<%= rel.relationshipFieldNamePlural %>)         <%_ }) _%>       }-      <%_ if (uniqueRelationFields.has('users')) { _%>-      entity.user = values.user;+      <%_ if (uniqueRelationFields.has('users') && dto !== 'mapstruct') { _%>+      entity.user = users.find(user => user.id.toString() === entity.user.id.toString());

That was an accidental change. It should work either way but I reverted it

ruddell

comment created time in 2 months

pull request commentjhipster/generator-jhipster

fix react microservice user relation request

@MathieuAA Thanks for catching that.

@mraible Your PR only changed the form when the relationship was not required, but the open issue has a required relationship.

With the latest changes, combos mostly work (there are a lot of them). I used the JDL:

<details> <summary>JDL app/entity definitions</summary>

<pre> application { config { baseName reactJwt clientFramework react } entities * }

application { config { baseName reactOauth clientFramework react authenticationType oauth2 } entities * }

entity Member { firstName String lastName String } entity MemberDto { firstName String lastName String } entity MemberReq { firstName String lastName String } entity MemberDtoReq { firstName String lastName String }

relationship OneToOne { Member{user(login)} to User MemberReq{user(login) required} to User

MemberDto{user(login)} to User MemberDtoReq{user(login) required} to User }

dto MemberDto, MemberDtoReq with mapstruct

</pre> </details>

Entity Info Works?
User Relation, Oauth2
User Relation, Oauth2, DTO ☑️
User Relation required, Oauth2
User Relation required, Oauth2, DTO
User Relation, JWT
User Relation, JWT, DTO
User Relation required, JWT
User Relation required, JWT, DTO

User Relation, Oauth2, DTO doesn't allow "" as userId (comes from the form) so form submission fails. null has to be instead for it to work. Happens in master, so is unrelated to this PR

ruddell

comment created time in 2 months

push eventruddell/generator-jhipster

Jonathan Ruddell

commit sha db18c4c97136e42aeb48b214b888a8208d07c50c

fix 'find' comparison, remove unnecesary code

view details

push time in 2 months

push eventruddell/generator-jhipster

Jonathan Ruddell

commit sha f1adc82cbe79916f31b136bc068dd8f649f39185

ensure ID from form and ID from entity are same type

view details

push time in 2 months

PR opened jhipster/generator-jhipster

fix react microservice user relation request

Send the entire user object (including login) instead of just the id field

In Angular, we pass the whole User object "user": {"id": "1", "login": "system", "firstName": "System" .... }

In React we only pass the ID "user":{"id":"1"}, which results in an invalid User since login is a required field. This is because the value returned from the select box only returns the id.

Fixed by finding the user in props.user with the matching id.

Fix #11792

  • Please make sure the below checklist is followed for Pull Requests.

  • [ ] All continuous integration tests are green

  • [ ] Tests are added where necessary

  • [ ] Documentation is added/updated where necessary

  • [ ] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

<!-- Please also reference the issue number in a commit message to automatically close the related Github issue

Note: It is also possible to add [skip ci] or [ci skip] to your commit message to skip continuous integration tests -->

+1 -1

0 comment

1 changed file

pr created time in 2 months

issue commentjhipster/generator-jhipster

User details are getting null || On React client

It's reproducible, and related to the OAuth2 User mapping code in the microservice.

In Angular, we pass the whole User object "user": {"id": "1", "login": "system", "firstName": "System" .... }

In React we only pass the ID "user":{"id":"1"}, which results in an invalid User since login is a required field. This is because the value returned from the select box only returns the id.

Fixed by finding the user in props.user with the matching id.

-      entity.user = values.user.id;
+      entity.user = props.users.find(user => user.id === values.user.id);

I also can't seem to select users other than system in the dropdown, even though I logged into an Okta account which should have synced to the database. I may be missing something here though, did not look into this.

grajuu

comment created time in 2 months

push eventruddell/generator-jhipster

Jonathan Ruddell

commit sha 3b0f4c341421cf9c631299bde95956f29fc5c44a

fix react microservice user relation request send the entire user object (including login) instead of just the id field Fix #11792

view details

push time in 2 months

PR opened jhipster/generator-jhipster

set loadData column type to string instead of varchar

Reason: liquibase.exception.UnexpectedLiquibaseException: loadData type of 'varchar(100)' ' is not supported. Please use BOOLEAN, NUMERIC, DATE, STRING, COMPUTED, SEQUENCE, UUID or SKIP

  • Please make sure the below checklist is followed for Pull Requests.

  • [ ] All continuous integration tests are green

  • [x] Tests are added where necessary

  • [x] Documentation is added/updated where necessary

  • [x] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

<!-- Please also reference the issue number in a commit message to automatically close the related Github issue

Note: It is also possible to add [skip ci] or [ci skip] to your commit message to skip continuous integration tests -->

+1 -1

0 comment

1 changed file

pr created time in 2 months

create barnchruddell/generator-jhipster

branch : fix-react-ms-user-entity-selection

created branch time in 2 months

created tagruddell/generator-jhipster

tagv6.9.0

Hipster stack for Java developers. Yeoman + Maven + Spring + AngularJS in one handy generator.

created time in 2 months

create barnchruddell/generator-jhipster

branch : fix-load-data-column-type

created branch time in 2 months

issue closedjhipster/generator-jhipster

vanillaRestTemplate bean code isn't added to the config file

  • Overview of the issue When I create a gateway with importing jdl, the generator doesn't add vanillaRestTemplate bean code in the file(SecurityConfiguration.java).

    When I run ./gradlew, it throws blow error.

    APPLICATION FAILED TO START Description: Parameter 0 of constructor in com.mycompany.myapp.web.filter.RouteDetectorFilter required a bean of type 'org.springframework.web.client.RestTemplate' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Qualifier(value=vanillaRestTemplate) Action: Consider defining a bean of type 'org.springframework.web.client.RestTemplate' in your configuration.

  • Motivation for or Use Case While generating code for gateway with importing jdl.

    it is a bug because spring boot doesn't start and throws above expectations.

  • JHipster Version(s) 6.8.0

  • JHipster configuration, a .yo-rc.json file generated in the root folder { "generator-jhipster": { "authenticationType": "jwt", "cacheProvider": "ehcache", "clientFramework": "react", "serverPort": "8080", "serviceDiscoveryType": false, "skipUserManagement": false, "baseName": "gateway", "buildTool": "gradle", "databaseType": "mongodb", "devDatabaseType": "mongodb", "enableHibernateCache": false, "enableSwaggerCodegen": true, "enableTranslation": true, "jhiPrefix": "jhi", "languages": ["en", "fr"], "messageBroker": false, "nativeLanguage": "en", "prodDatabaseType": "mongodb", "searchEngine": false, "skipClient": false, "testFrameworks": ["cucumber"], "websocket": false, "applicationType": "gateway", "packageName": "com.mycompany.myapp", "packageFolder": "com/mycompany/myapp", "useSass": true, "jhipsterVersion": "6.8.0", "creationTimestamp": 1589966220246, "skipServer": false, "clientPackageManager": "npm", "clientTheme": "none", "clientThemeVariant": "", "embeddableLaunchScript": false, "entitySuffix": "", "dtoSuffix": "DTO", "otherModules": [], "blueprints": [] }, "entities": [] } <!-- this will help us to replicate the scenario, you can remove the rememberMe key. -->

  • Entity configuration(s) entityName.json files generated in the .jhipster directory No entity <!-- - if the error is during an entity creation or associated with a specific entity -->

  • Browsers and Operating System Mac <!-- is this a problem with all browsers or only IE8? -->

  • Reproduce the error Save below configuration to a file (bug1.jdl) and run below command.

    jhipster import-jdl bug1.jdl

    application { config { baseName gateway applicationType gateway packageName com.mycompany.myapp serviceDiscoveryType no authenticationType jwt databaseType mongodb buildTool gradle clientFramework react testFrameworks [cucumber] enableSwaggerCodegen true useSass true } entities * }

<!-- an unambiguous set of steps to reproduce the error. If you have a JavaScript error, maybe you can provide a live example with JSFiddle? -->

  • Related issues I couldn't find any related issue.

  • Suggest a Fix Add bean method in the SecurityConfiguration.java file

    import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.web.client.RestTemplate; @Bean @Qualifier("vanillaRestTemplate") public RestTemplate vanillaRestTemplate() { return new RestTemplate(); }

<!-- if you can't fix the bug yourself, perhaps you can point to what might be causing the problem (line of code or commit) -->

closed time in 2 months

mesuttekin

issue commentjhipster/generator-jhipster

vanillaRestTemplate bean code isn't added to the config file

Fixed in https://github.com/jhipster/generator-jhipster/pull/11552 (part of v6.9.0). You can workaround it in v6.8.0 by applying the same changes from the PR in your project.

mesuttekin

comment created time in 2 months

push eventruddell/ignite-jhipster

Jonathan Ruddell

commit sha be7c0074ab7c43b24c8813a2bee310ef1a7b9382

fix e2e

view details

push time in 2 months

delete branch ruddell/jhipster-vuejs

delete branch : make-base-href-configurable

delete time in 2 months

issue commentruddell/ignite-jhipster

Error while parsing entities from JDL || ignite generate import-jdl ||

Glad you got it working. I'll add a message displaying the current Ignite JHipster version at the top of the generation process (https://github.com/ruddell/ignite-jhipster/commit/aac871036d5364f83e08bbab9caa0809ffbad0fe)

When generating an ignite-jhipster app, it doesn't use a global installation (installing it globally does not matter). ignite-cli by default fetches the latest version on npm by default.

This will use the latest version available on npm:

ignite new HelloSchool --boilerplate ignite-jhipster

This will use a specific version available on npm instead of the latest:

ignite new HelloSchool --boilerplate ignite-jhipster@3.5.4
grajuu

comment created time in 2 months

push eventruddell/ignite-jhipster

Jonathan Ruddell

commit sha 9cae1477df32b3f1117fab92c80c25593bf00c1b

test skip-install timing

view details

push time in 2 months

create barnchruddell/ignite-jhipster

branch : skip-install-test

created branch time in 2 months

push eventruddell/ignite-jhipster

Jonathan Ruddell

commit sha aac871036d5364f83e08bbab9caa0809ffbad0fe

add log of ignite-jhipster version being used to generate the app [ci skip]

view details

push time in 2 months

push eventruddell/ignite

Mo Gorhom

commit sha ffadda556f09447e56ebf55e87d2d541cb4e3ca6

feat(CLI): Boilerplate can now be referenced by git URL (#1518 by @Gorhom)

view details

Reactotron Tester

commit sha 711e2d7091ee1f2f3f0260a31d2008996ae2854d

chore(release): 3.4.0 [skip ci] # [3.4.0](https://github.com/infinitered/ignite/compare/v3.3.2...v3.4.0) (2019-12-11) ### Features * **CLI:** Boilerplate can now be referenced by git URL ([#1518](https://github.com/infinitered/ignite/issues/1518) by @Gorhom) ([ffadda5](https://github.com/infinitered/ignite/commit/ffadda5))

view details

anusha5695

commit sha 0a1c185a996eeebcc36a8f68dcdf8c043e8a7358

feat(cli): Add ignite-cli binary command which allows for npx ignite-cli" fixes #1487 (#1492 by @anusha5695)

view details

Reactotron Tester

commit sha e24d440335591eb67e1870b59c63d642c25f9f8c

chore(release): 3.5.0 [skip ci] # [3.5.0](https://github.com/infinitered/ignite/compare/v3.4.0...v3.5.0) (2020-01-07) ### Features * **cli:** Add ignite-cli binary command which allows for npx ignite-cli" fixes [#1487](https://github.com/infinitered/ignite/issues/1487) ([#1492](https://github.com/infinitered/ignite/issues/1492) by [@anusha5695](https://github.com/anusha5695)) ([0a1c185](https://github.com/infinitered/ignite/commit/0a1c185))

view details

Adrien Thiery

commit sha b78ef3c1d8f16b84ff9f594c1388e051680e019a

docs: Added code-push plugin (#1514 by @adrienthiery) [skip ci]

view details

Jamon Holmgren

commit sha 7ec21651d16a7dad93474989f60873c6fb40ba93

fix: Switch to using npx for Ignite commands (#1526 by @jamonholmgren)

view details

Reactotron Tester

commit sha b4ef40f1823ef43901cc22faf5d7d1241045917e

chore(release): 3.5.1 [skip ci] ## [3.5.1](https://github.com/infinitered/ignite/compare/v3.5.0...v3.5.1) (2020-01-15) ### Bug Fixes * Switch to using npx for Ignite commands ([#1526](https://github.com/infinitered/ignite/issues/1526) by [@jamonholmgren](https://github.com/jamonholmgren)) ([7ec2165](https://github.com/infinitered/ignite/commit/7ec2165))

view details

Morgan

commit sha 5bda1239655a8a02d7ea5d02852f8ead0010bbb5

Return if file to patch not found (#1531)

view details

Mika Andrianarijaona

commit sha 96f17012b3b3ed781b5367901ebc393019826637

fix(cli): format ignite doctor generators nicely (#1494 @mikaoelitiana ) * fix: format ignite doctor generators nicely * feat: display generator type in ignite doctor

view details

Morgan Donze

commit sha 88b8161a140f04bc33bdad774d38c4afcdab2267

Add TrailBlazers Demo App to Readme (#1538)

view details

Kevin VanGelder

commit sha f0c57e5870f6f70b0725bc6e6afee875024d5ce7

Add links to Academy courses in readme

view details

Jonathan Ruddell

commit sha b5fefb9d54bcf60670178b021e0160fda0e47e8c

add support for skip-install flag for react-native init

view details

push time in 2 months

push eventruddell/ignite

Mo Gorhom

commit sha ffadda556f09447e56ebf55e87d2d541cb4e3ca6

feat(CLI): Boilerplate can now be referenced by git URL (#1518 by @Gorhom)

view details

Reactotron Tester

commit sha 711e2d7091ee1f2f3f0260a31d2008996ae2854d

chore(release): 3.4.0 [skip ci] # [3.4.0](https://github.com/infinitered/ignite/compare/v3.3.2...v3.4.0) (2019-12-11) ### Features * **CLI:** Boilerplate can now be referenced by git URL ([#1518](https://github.com/infinitered/ignite/issues/1518) by @Gorhom) ([ffadda5](https://github.com/infinitered/ignite/commit/ffadda5))

view details

anusha5695

commit sha 0a1c185a996eeebcc36a8f68dcdf8c043e8a7358

feat(cli): Add ignite-cli binary command which allows for npx ignite-cli" fixes #1487 (#1492 by @anusha5695)

view details

Reactotron Tester

commit sha e24d440335591eb67e1870b59c63d642c25f9f8c

chore(release): 3.5.0 [skip ci] # [3.5.0](https://github.com/infinitered/ignite/compare/v3.4.0...v3.5.0) (2020-01-07) ### Features * **cli:** Add ignite-cli binary command which allows for npx ignite-cli" fixes [#1487](https://github.com/infinitered/ignite/issues/1487) ([#1492](https://github.com/infinitered/ignite/issues/1492) by [@anusha5695](https://github.com/anusha5695)) ([0a1c185](https://github.com/infinitered/ignite/commit/0a1c185))

view details

Adrien Thiery

commit sha b78ef3c1d8f16b84ff9f594c1388e051680e019a

docs: Added code-push plugin (#1514 by @adrienthiery) [skip ci]

view details

Jamon Holmgren

commit sha 7ec21651d16a7dad93474989f60873c6fb40ba93

fix: Switch to using npx for Ignite commands (#1526 by @jamonholmgren)

view details

Reactotron Tester

commit sha b4ef40f1823ef43901cc22faf5d7d1241045917e

chore(release): 3.5.1 [skip ci] ## [3.5.1](https://github.com/infinitered/ignite/compare/v3.5.0...v3.5.1) (2020-01-15) ### Bug Fixes * Switch to using npx for Ignite commands ([#1526](https://github.com/infinitered/ignite/issues/1526) by [@jamonholmgren](https://github.com/jamonholmgren)) ([7ec2165](https://github.com/infinitered/ignite/commit/7ec2165))

view details

Morgan

commit sha 5bda1239655a8a02d7ea5d02852f8ead0010bbb5

Return if file to patch not found (#1531)

view details

Mika Andrianarijaona

commit sha 96f17012b3b3ed781b5367901ebc393019826637

fix(cli): format ignite doctor generators nicely (#1494 @mikaoelitiana ) * fix: format ignite doctor generators nicely * feat: display generator type in ignite doctor

view details

Morgan Donze

commit sha 88b8161a140f04bc33bdad774d38c4afcdab2267

Add TrailBlazers Demo App to Readme (#1538)

view details

Kevin VanGelder

commit sha f0c57e5870f6f70b0725bc6e6afee875024d5ce7

Add links to Academy courses in readme

view details

push time in 2 months

PR opened jhipster/jhipster-vuejs

make baseHref configurable via html-webpack-plugin

html-webpack-plugin now has support for the base href tag, but it injects an additional <base href> tag when configured (so we end up with two). I removed it from index.html and added it to the webpack config.

It's needed for both webpack.common.js and webpack.prod.js, if just in webpack.common.js then no tag is injected in a prod build.

Related to https://github.com/jhipster/jhipster-vuejs/commit/a08d8a64673905f9947ce2c76757f5065b3a3c79#r39287185

  • Please make sure the below checklist is followed for Pull Requests.

  • [ ] All continuous integration tests are green

  • [ ] Tests are added where necessary

  • [ ] Documentation is added/updated where necessary

  • [ ] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

<!-- Please also reference the issue number in a commit message to automatically close the related Github issue

Note: It is also possible to add [skip ci] to your commit message to skip Travis tests -->

+2 -1

0 comment

3 changed files

pr created time in 2 months

CommitCommentEvent

create barnchruddell/jhipster-vuejs

branch : make-base-href-configurable

created branch time in 2 months

push eventruddell/generator-jhipster

Frederik Hahne

commit sha 0ddd30f812681990f25d0271b5c7108858c96216

Replace plain pattern validation with custom validation aware of potential backtracking issues

view details

Frederik Hahne

commit sha 3dc0387f05f33b3d59dc1be182f93d0974437b7e

simplify validation logic

view details

Clement Dessoude

commit sha 40af1b98d9e3f88e4700249cf4d92e56305bd8b2

chore: Update prettier-java to v0.8.0

view details

Kaido Hallik

commit sha b3c1c5080ccf34b8f0aea5c29936bfc390ec1929

Use strictTemplates in Angular

view details

Daniel Franco

commit sha 0b7ff13ab4098665e66c1c89a3eac3ff56c45758

Merge pull request #11764 from jhipster/chore/update-prettier-java chore: Update prettier-java to v0.8.0

view details

Daniel Franco

commit sha be9af32aa2c5c0d67adc8a73528fa87acd908ef6

Merge pull request #11765 from kaidohallik/strict-templates-in-angular Use strictTemplates in Angular

view details

Jason Schindler

commit sha e9c59f439b0d01e1e1cd93889749eae5f6175ed7

BugFix: Fixes logout link for protractor tests in React client

view details

Pascal Grimaud

commit sha 90ed7f8113ba4496aa419af30e073868af9b241c

Merge pull request #11771 from JasonTypesCodes/react-protractor-logout-fix BugFix: Fixes logout link for protractor tests in React client

view details

Kaido Hallik

commit sha c352172c3571f7ce982d617948a086ab1a175a1f

Fix double page loading in Angular

view details

Kaido Hallik

commit sha 3fc236d8732eb6716665093b562aa4ad43ec0381

Fix toString() formatting in Java

view details

Pascal Grimaud

commit sha 2bd522de41b11cd56410e16bca0639f58c995b57

Upgrade ng-jhipster to 0.13.0

view details

Kaido Hallik

commit sha d323d6494ff39e36f1db2a416f8b1cbc734a4171

Merge pull request #11777 from pascalgrimaud/upgrade-ng-jhipster-0.13.0 Upgrade ng-jhipster to 0.13.0

view details

François Delbrayelle

commit sha de309d21974fa15552fd7ce7ce1dc5c6589e01e1

fix: jhipster version for marketplace

view details

Julien Dubois

commit sha d26b45b30f5c9ba664a0e88f7242b05b5321b03d

Add Edubirdie bronze sponsor

view details

François Delbrayelle

commit sha b96757d8e06f66491652b94b5eefa082c2f6e96e

fix: jhipster version for marketplace

view details

François Delbrayelle

commit sha aaae364fac804d03c88db39cffd1e38715e5a30c

fix: eslint

view details

Kaido Hallik

commit sha a5ed0de02699e5e5b6bcd9ac85a43b4798afb7fa

Fix optional call Sonar bugs in Angular (#11784)

view details

Julien Dubois

commit sha d5b5280ae5dbd348a519eb78fcdc3fdac0883e62

add zadluzenia new bronze sponsor

view details

Julien Dubois

commit sha c41c48bac287bd7e9bb6074cd45fd06c1986e51e

fix sponsors list

view details

Julien Dubois

commit sha f63cd1c14b8ac5a1da298fb26fcef38998257dc6

fix sponsors list

view details

push time in 2 months

push eventruddell/jhipster-vuejs

Mathieu Abou-Aichi

commit sha 829369e41f4ed6faf08b517b514027ef0bdac5d7

Bumped the JCore dependency to v7.2.1

view details

qmonmert

commit sha bf72ae3635107e3badec19be24d2035c2cc55d09

Fix #587 Refresh same page - forbidden quick redirect

view details

Pascal Grimaud

commit sha d167542be3f1695a430c1735c1fbf2971d10525d

Merge pull request #593 from MathieuAA/master Bumped the JCore dependency to v7.2.1

view details

qmonmert

commit sha 5d249b8d21da75fd68959b73d3915586c9fe1ae4

Remove all async/await

view details

qmonmert

commit sha 7c817979a1ebafca2b46a86fb80afe3aa68c70b0

Remove hasAnyAuthority method

view details

qmonmert

commit sha 4e6e1a8b94c2743f8bcd01dc8dc8a9cd4a1f6e52

Add tests

view details

qmonmert

commit sha 9fae39741837e53333890c41221a73b6fd6014cb

Fix: menu admin always visible

view details

Pascal Grimaud

commit sha 59f91bf374fc48bd89dd73c81f7a17612af8d4f8

Merge pull request #590 from qmonmert/fix/forbidden-quick-redirect Fix: Refresh same page - forbidden quick redirect

view details

Frederik Hahne

commit sha e3617564c9eea572b6c711c04e3821f0b1cb4dc8

update frontend dependencies

view details

Pascal Grimaud

commit sha f767f40381ebe3fb84ae84597106f790743a3f14

Merge pull request #594 from atomfrede/update-frontend-dependencies update frontend dependencies

view details

Pascal Grimaud

commit sha 2d6d047b145b1648db4edba858a3cac32d0de1a9

Swagger: default appears first in list

view details

Pascal Grimaud

commit sha e0d6f306823df5154f78ba1a8ec2c4e16077471f

Merge pull request #595 from pascalgrimaud/swagger-default-appears-first Swagger: default appears first in list

view details

Frederik Hahne

commit sha a08d8a64673905f9947ce2c76757f5065b3a3c79

upgrade dependencies to their latest versions

view details

monxx

commit sha 518894b28d755a0d9f7548a94d2a0b00b3ce1331

fix (webpack) : #599 Move the css hash stamped generated files to content directory when using prod profile. - append location content in MiniCssExtractPlugin - append public paths on url-loader

view details

Pascal Grimaud

commit sha b0bb5feec1883e32b52286bcfaab000f59d181c1

Merge pull request #602 from atomfrede/600-update-vue-dependencies upgrade dependencies to their latest versions

view details

Pascal Grimaud

commit sha 5d5bf44a4a105c48399fa3adea1e6f926d754fca

Merge pull request #603 from monxxi/fix/599-location-css-files fix (webpack) : #599 Move the css hash stamped generated files to con…

view details

Pascal Grimaud

commit sha 2a57ef31a0b4b248e98df6bcf874e56d6b8f9e18

CI: switch to generator-jhipster master

view details

Pascal Grimaud

commit sha 9f9cd2a4786cf858cbf963cadf03b7368a9bee09

Fix enums

view details

Pascal Grimaud

commit sha bc4900283b49781c76dc129efc2fe193566f782c

Fix lint

view details

Pascal Grimaud

commit sha e558a5183a24b60311966e8bebe6c0c396cc7503

Fix lint

view details

push time in 2 months

create barnchruddell/ignite

branch : add-skip-install-support

created branch time in 2 months

issue commentruddell/ignite-jhipster

Error while parsing entities from JDL || ignite generate import-jdl ||

Do you have react-native-cli installed globally? I see that package in the error message. You can check with which react-native and ls -al $(which react-native) to see the full path if it does exist.

If you previously installed a global react-native-cli package, please remove it as it may cause unexpected issues. https://reactnative.dev/docs/environment-setup

It works on my Mac and the CI (which tests iOS and Android apps on Mac, and generation on Ubuntu). So I'm guessing something related to your system. Not sure.

grajuu

comment created time in 2 months

release ruddell/ignite-jhipster

v3.5.5

released time in 2 months

created tagruddell/ignite-jhipster

tagv3.5.5

A React Native boilerplate for JHipster apps

created time in 2 months

push eventruddell/ignite-jhipster

Jonathan Ruddell

commit sha 7d3cf4ffd39bd2b4504f68243bf06101105965fa

v3.5.5

view details

push time in 2 months

issue commentruddell/ignite-jhipster

Error while parsing entities from JDL || ignite generate import-jdl ||

Could you try again please, also pass the --debug flag to the generation command? That should give you a better error message than just failed to add React Native 0.61.5

ignite new HelloSchool --boilerplate ignite-jhipster --debug

I couldn't reproduce on my computer but the logs from the --debug flag should help find the reason for failure.

grajuu

comment created time in 2 months

push eventruddell/ignite-jhipster

Jonathan Ruddell

commit sha 97bf84ff2a97601b0787f88daec60069e30def1c

add docs on debug flag and prompt to use if rnInstall fails

view details

push time in 2 months

release ruddell/ignite-jhipster

v3.5.4

released time in 2 months

issue closedruddell/ignite-jhipster

Error while parsing entities from JDL || ignite generate import-jdl ||

Hey @ruddell

I tried import jdl

ignite generate import-jdl ../issue0034.jh

but the process get stopped with out importing.

$ ignite generate import-jdl ../mySchool.jh
The JDL is being parsed.
warn: An Entity name 'User' was used: 'User' is an entity created by default by JHipster. All relationships toward it will be kept but any attributes and relationships from it will be disregarded.
The JDL has been successfully parsed
Found entities: Members, Rewards, Address, Product, ProductCategory, ProductOrder, OrderItem, Invoice, Shipment.
Generating Members
Error while parsing entities from JDL


Error: ENOENT: no such file or directory, open '.jhipster/Members.json'

image

---- Below is my JDL

application {
  config {
    baseName gateway,
    packageName com.sample.gateway,
    applicationType gateway,
    authenticationType oauth2,
    prodDatabaseType postgresql,
    searchEngine elasticsearch,
    serviceDiscoveryType eureka,
    testFrameworks [protractor],
    buildTool maven,
    clientFramework react,
    nativeLanguage en,
    languages [en, es] 
  }
  entities Members, Rewards, Address, Product, ProductCategory, ProductOrder, OrderItem, Invoice, Shipment
}

application {
  config {
    baseName school,
    packageName com.sample.users,
    applicationType microservice,
    authenticationType oauth2,
    prodDatabaseType postgresql,
    searchEngine elasticsearch,
    buildTool maven,
    serverPort 8081,
    serviceDiscoveryType eureka
  }
  entities Members, Rewards, Address
}

application {
  config {
    baseName store,
    packageName com.sample.store,
    applicationType microservice,
    authenticationType oauth2,
    databaseType mongodb,
    devDatabaseType mongodb,
    prodDatabaseType mongodb,
    searchEngine elasticsearch,
    buildTool maven,
    enableHibernateCache false,
    serverPort 8082,
    serviceDiscoveryType eureka
  }
 entities Product, ProductCategory, ProductOrder, OrderItem
}

application {
  config {
    baseName invoice,
    applicationType microservice,
    packageName com.sample.invoice,
    authenticationType oauth2,
    prodDatabaseType postgresql,
    buildTool maven,
    serverPort 8083,
    serviceDiscoveryType eureka
  }
  entities Invoice, Shipment
}


// Customer for the store
entity Members {
  firstName String required,
    lastName String required,
    gender Gender required,
    who Who required,
    email String required pattern(/^[^@\s]+@[^@\s]+\.[^@\s]+$/)
    age BigDecimal
}
// Address table for both Student and Faculty 
entity Address{
  addressLine1 String,
    addressLine2 String,
    city String,
    country String,
    primaryPhone String ,
    secondryPhone String
}
enum Gender {
  MALE, FEMALE, OTHER
}
enum Who {
  STUDENT, FACULTY, ADMIN
}
entity Rewards {
  facultyName String ,
        studentName String,
        timestamp ZonedDateTime required,
        rewardReceved BigDecimal,
        date Instant required,
        content TextBlob required
}
/**
 * Entities for store microservice
 */
// Product sold by the Online store 
entity Product {
  name String required
    description String
    price BigDecimal required min(0)
    size Size required
    image ImageBlob
}
enum Size {
  S, M, L, XL, XXL
}
entity ProductCategory {
  name String required,
    description String
}
entity ProductOrder {
  placedDate Instant required,
    email String required pattern(/^[^@\s]+@[^@\s]+\.[^@\s]+$/),
    status OrderStatus required,
    code String required,
    invoiceId Long,
    customer String required
}
enum OrderStatus {
  COMPLETED, PENDING, CANCELLED
}
entity OrderItem {
  quantity Integer required min(0)
    totalPrice BigDecimal required min(0)
    status OrderItemStatus required
}
enum OrderItemStatus {
  AVAILABLE, OUT_OF_STOCK, BACK_ORDER
}
/* Entities for Invoice microservice */
entity Invoice {
  code String required
    date Instant required
    details String
    status InvoiceStatus required
    paymentMethod PaymentMethod required
    paymentDate Instant required
    paymentAmount BigDecimal required
}
enum InvoiceStatus {
  PAID, ISSUED, CANCELLED
}
entity Shipment {
  trackingCode String
    date Instant required
    details String
}
enum PaymentMethod {
  CREDIT_CARD, CASH_ON_DELIVERY, PAYPAL
}
/* Entities for notification microservice */
entity Notification {
  date Instant required
    details String
    sentDate Instant required
    format NotificationType required
    userId Long required
    productId Long required
}
enum NotificationType {
  EMAIL, SMS, PARCEL
}
relationship ManyToOne {
  OrderItem{product(name) required} to Product
}
relationship OneToMany {
  Members{address} to Address{members(email) required} ,
  Members{rewards} to Rewards{members(email) required} ,
  ProductOrder{orderItem} to OrderItem{order(code) required} , 
  ProductCategory{product} to Product{productCategory(name)},
  Invoice{shipment} to Shipment{invoice(code) required}
}
relationship OneToOne {
  Members{user(login) required} to User
}
service Invoice, Shipment, Product, ProductCategory, ProductOrder, OrderItem with serviceClass
paginate Invoice, Shipment, Product, Members, ProductOrder, OrderItem with pagination
// MicroServices 
microservice Product, ProductOrder, ProductCategory, OrderItem with store
microservice Members, Address, Rewards with school
microservice Invoice, Shipment with invoice
microservice Notification with notification
// will be created under 'docker-compose' folder
deployment {
  deploymentType docker-compose
  appsFolders [gateway, school, store, invoice]
  dockerRepositoryName "govindraju9999"
  consoleOptions [zipkin]
}

closed time in 2 months

grajuu

issue commentruddell/ignite-jhipster

Error while parsing entities from JDL || ignite generate import-jdl ||

There was lack of support for JDL containing multiple applications or deployments. Fixed by 89fb95d03c19524c836afce1742df7af262aedf1, I tested it with a few JDL files and it seemed to work for all the cases.

So now you can import the entities from a JDL file with multiple applications/deployments 👍

Thanks again!

grajuu

comment created time in 2 months

created tagruddell/ignite-jhipster

tagv3.5.4

A React Native boilerplate for JHipster apps

created time in 2 months

push eventruddell/ignite-jhipster

Jonathan Ruddell

commit sha f0ccf6c48de4bbaf952698a77d0dc002cef7c307

v3.5.4

view details

push time in 2 months

push eventruddell/ignite-jhipster

Jonathan Ruddell

commit sha 89fb95d03c19524c836afce1742df7af262aedf1

handle import-jdl for JDL file containing multiple applications write entity json files manually instead of relying on jhipster-core cleanup deployment and app folders after entity generation remove old v5 microservice path fix

view details

push time in 2 months

more